Files
linux/drivers/acpi
Jia He 2a0d1a8ff2 ACPI: NFIT: Use fallback node id when numa info in NFIT table is incorrect
commit f060db9937 upstream.

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: c221c0b030 ("device-dax: "Hotplug" persistent memory for use like normal RAM")
Link: https://lore.kernel.org/r/20210922152919.6940-1-justin.he@arm.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-07 07:53:05 +02:00
..
2021-04-08 16:17:32 +02:00
2021-04-26 17:04:41 +02:00
2021-06-23 19:27:50 +02:00
2021-04-26 17:04:41 +02:00
2020-11-09 19:25:20 +01:00
2019-11-13 11:12:08 +01:00
2021-06-07 15:36:46 +02:00
2020-11-09 19:08:06 +01:00
2020-07-09 14:09:28 +02:00
2021-06-25 15:02:43 +02:00
2020-11-09 19:08:06 +01:00