diff options
| author | Jonathan Cameron <[email protected]> | 2025-05-27 15:34:51 +0000 |
|---|---|---|
| committer | Dave Jiang <[email protected]> | 2025-06-30 23:36:06 +0000 |
| commit | 60da1f685a94bc9bd94caf46d953cfa43468c29e (patch) | |
| tree | f7976fe7bcc6085ea8a7a4bb06e427e781c33378 /tools/perf/scripts/python/netdev-times.py | |
| parent | cxl/pci: Replace mutex_lock_io() w mutex_lock() for mailbox access (diff) | |
| download | kernel-60da1f685a94bc9bd94caf46d953cfa43468c29e.tar.gz kernel-60da1f685a94bc9bd94caf46d953cfa43468c29e.zip | |
cxl_test: Limit location for fake CFMWS to mappable range
Some architectures (e.g. arm64) only support memory hotplug operations on
a restricted set of physical addresses. This applies even when we are
faking some CXL fixed memory windows for the purposes of cxl_test.
That range can be queried with mhp_get_pluggable_range(true). Use the
minimum of that the top of that range and iomem_resource.end to establish
the 64GiB region used by cxl_test.
From thread #2 which was related to the issue in #1.
[ dj: Add CONFIG_MEMORY_HOTPLUG config check, from Alison ]
Link: https://lore.kernel.org/linux-cxl/[email protected]/ #2
Reported-by: Itaru Kitayama <[email protected]>
Closes: https://github.com/pmem/ndctl/issues/278 #1
Reviewed-by: Dan Williams <[email protected]>
Tested-by: Itaru Kitayama <[email protected] <mailto:[email protected]>
Tested-by: Marc Herbert <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
