mbox series

[0/2] fix issue when acpi smmuv3 device alloc offline node memory

Message ID 20190315021940.86905-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series fix issue when acpi smmuv3 device alloc offline node memory | expand

Message

Kefeng Wang March 15, 2019, 2:19 a.m. UTC
IF acpi smmuv3 device is set to offline node, parsed from proximity domain
in SMMUv3 IORT table, it will lead to crash when alloc memory, so fix it
by using acpi_map_pxm_to_online_node() to find a online node and set it to
smmuv3 device. Meanwhile, show the match info about pxm id, offline node and
online node.

Kefeng Wang (2):
  ACPI/IORT: set online numa node for smmuv3 device
  ACPI: NUMA: show match info about PXM ID and offline/online node

 drivers/acpi/arm64/iort.c | 8 ++++----
 drivers/acpi/numa.c       | 3 +++
 2 files changed, 7 insertions(+), 4 deletions(-)