Refactoring some mechanism in hbmdev:
1. Memory node on the hbmdev need to be offlined before
poweroff the device.
2. Use AML code to trigger the hbmdev poweroff process
Zhang Zekun (3):
soc: hisilicon: hisi_hbmdev: Notify the device in the ACPI
soc: hisilicon: Don't poweroff if memblocks don't offlined
arm64: config: Open the hbmdev related config
arch/arm64/configs/openeuler_defconfig | 5 ++--
drivers/acpi/osl.c | 1 -
drivers/soc/hisilicon/hisi_hbmdev.c | 34 +++++++++-----------------
3 files changed, 14 insertions(+), 26 deletions(-)
--
2.17.1