It maybe trigger some issue when the acpi device driver allocs memory from an offline node, so use alternative acpi_map_pxm_to_online_node() to find an online node, let's show infomation about proximity ID, mapped offline node and the nearest online node returned. Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> --- drivers/acpi/numa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index 7bbbf8256a41..064c771a7338 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c @@ -121,6 +121,9 @@ int acpi_map_pxm_to_online_node(int pxm) } } } + if (min_node != node) + pr_warn("IORT: PXM %d Mapped to offline node %d, choose nearest online node %d", + pxm, node, min_node); return min_node; } -- 2.20.1