From: qinyu qinyu16@huawei.com
euleros inclusion category: feature bugzilla: 46854
--------------------------------
cloud phone needs:
1.thermal emulation (CONFIG_THERMAL_EMULATION=y) apps may try to detect thermal related files/devices, so cloud phone requires us to turn on this config for detection and future thermal related adjustments.
2.cloud phone needs to run 32bit arm apps, and such compatibility requires 1.LSM_MMAP_MIN_ADDR no more than 32768. config help for LSM_MMAP_MIN_ADDR: "On arm and other archs it should not be higher than 32768." 64bit apps are compatible with lower value, see config help for more information.
2.all configs under ARMV8_DEPRECATED for instruction simulation.
Signed-off-by: liuzixian liuzixian4@huawei.com Signed-off-by: qinyu qinyu16@huawei.com Reviewed-by: Hanjun Guo guohanjun@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- arch/arm64/configs/openeuler_defconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/configs/openeuler_defconfig b/arch/arm64/configs/openeuler_defconfig index 74a9de3f8540..2251d4d2ffc3 100644 --- a/arch/arm64/configs/openeuler_defconfig +++ b/arch/arm64/configs/openeuler_defconfig @@ -453,7 +453,10 @@ CONFIG_UNMAP_KERNEL_AT_EL0=y CONFIG_HARDEN_BRANCH_PREDICTOR=y CONFIG_HARDEN_EL2_VECTORS=y CONFIG_ARM64_SSBD=y -# CONFIG_ARMV8_DEPRECATED is not set +CONFIG_ARMV8_DEPRECATED=y +CONFIG_SWP_EMULATION=y +CONFIG_CP15_BARRIER_EMULATION=y +CONFIG_SETEND_EMULATION=y # CONFIG_ARM64_SW_TTBR0_PAN is not set
# @@ -3549,7 +3552,7 @@ CONFIG_THERMAL_GOV_STEP_WISE=y CONFIG_THERMAL_GOV_USER_SPACE=y # CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set CONFIG_CPU_THERMAL=y -# CONFIG_THERMAL_EMULATION is not set +CONFIG_THERMAL_EMULATION=y CONFIG_HISI_THERMAL=y # CONFIG_QORIQ_THERMAL is not set
@@ -5441,7 +5444,7 @@ CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_INFINIBAND=y CONFIG_SECURITY_NETWORK_XFRM=y CONFIG_SECURITY_PATH=y -CONFIG_LSM_MMAP_MIN_ADDR=65535 +CONFIG_LSM_MMAP_MIN_ADDR=32768 CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y CONFIG_HARDENED_USERCOPY=y CONFIG_HARDENED_USERCOPY_FALLBACK=y