mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
f060db9937
When ACPI NFIT table is failing to populate correct numa information
on arm64, dax_kmem will get NUMA_NO_NODE from the NFIT driver.
Without this patch, pmem can't be probed as RAM devices on arm64 guest:
$ndctl create-namespace -fe namespace0.0 --mode=devdax --map=dev -s 1g -a 128M
kmem dax0.0: rejecting DAX region [mem 0x240400000-0x2bfffffff] with invalid node: -1
kmem: probe of dax0.0 failed with error -22
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jia He <justin.he@arm.com>
Cc: <stable@vger.kernel.org>
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
intel.c | ||
intel.h | ||
Kconfig | ||
Makefile | ||
mce.c | ||
nfit.h |