Commit 22706f32 authored by Zhang Zekun's avatar Zhang Zekun Committed by Zheng Zengkai
Browse files

arm64: openeuler_defconfig: enable ACPI_HMAT and HOT_MEMREMOVE

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5E461


CVE: NA

------------------------

Enable ACPI HMAT and memory hot remove feature on arm64 by default.

For ACPI_HMAT: ACPI HMAT describe the memory attributes, such as bandwidth
and latency details, related to the System Physical Address(SPA) Memory
Ranges. HMAT is especially useful when software wants to get some information
about a certain special memory's memory attributes, such as PMEM and HBM.

For MEMORY_HOT_REMOTE: Add support for memory hot remove feature. Some special
memory, such as HBM, can be power comsuming, and will only be used in some
aimed senarios. With memory hot remove feature, User can offline the idle memory
for energy saving purpose when this special memory is unused.

As PMEM and HBM are getting more popular, ACPI_HMAT and memory hot remove feature
should be enabled as default.

The following configs should be opened with CONFIG_ACPI_HMAT by default:
1.CONFIG_EFI_SOFT_RESERVE=y
2.CONFIG_HMEM_REPORTING=y
3.CONFIG_DEV_DAX_HMEM=m
4.CONFIG_DEV_DAX_HMEM_DEVICES=y

Signed-off-by: default avatarZhang Zekun <zhangzekun11@huawei.com>
Reviewed-by: default avatarChao Liu <liuchao173@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: default avatarKai Liu <kai.liu@suse.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ad02cf0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment