aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2025-05-27 15:34:51 +0000
committerDave Jiang <[email protected]>2025-06-30 23:36:06 +0000
commit60da1f685a94bc9bd94caf46d953cfa43468c29e (patch)
treef7976fe7bcc6085ea8a7a4bb06e427e781c33378 /rust/helpers/task.c
parentcxl/pci: Replace mutex_lock_io() w mutex_lock() for mailbox access (diff)
downloadkernel-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 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions