summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorIcenowy Zheng <uwu@icenowy.me>2025-02-12 20:04:44 +0300
committerKeith Busch <kbusch@kernel.org>2025-02-25 03:23:57 +0300
commit56cf7ef0d490b28fad8f8629fc135c5ab7c9f54e (patch)
tree4bcd88a4f05eb7c2708e342ecedf704245e52d44 /tools/perf/scripts/python/task-analyzer.py
parent6a3572e10f740acd48e2713ef37e92186a3ce5e8 (diff)
downloadlinux-56cf7ef0d490b28fad8f8629fc135c5ab7c9f54e.tar.xz
nvme-pci: skip CMB blocks incompatible with PCI P2P DMA
The PCI P2PDMA code will register the CMB block to the memory hot-plugging subsystem, which have an alignment requirement. Memory blocks that do not satisfy this alignment requirement (usually 2MB) will lead to a WARNING from memory hotplugging. Verify the CMB block's address and size against the alignment and only try to send CMB blocks compatible with it to prevent this warning. Tested on Intel DC D4502 SSD, which has a 512K CMB block that is too small for memory hotplugging (thus PCI P2PDMA). Signed-off-by: Icenowy Zheng <uwu@icenowy.me> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions