summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2023-11-27 20:40:23 +0800
committerDongkyun Son <dongkyun.s@samsung.com>2024-11-11 21:00:56 +0900
commitd47633c3aa8e5b15258c332ea4ddc59d8f2e397f (patch)
tree3bdea17b99b78931c7b7ee09ea4078c8e246f093
parent8cb444e43c270f55abbf7e82c60f0b5359ce25bc (diff)
downloadlinux-rpi-d47633c3aa8e5b15258c332ea4ddc59d8f2e397f.tar.gz
linux-rpi-d47633c3aa8e5b15258c332ea4ddc59d8f2e397f.tar.bz2
linux-rpi-d47633c3aa8e5b15258c332ea4ddc59d8f2e397f.zip
arm64:ilp32: add ARM64_ILP32 to Kconfig
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8JVJ3 CVE: NA Reference: https://github.com/norov/linux/commits/ilp32-5.2 -------------------------------- This patch adds the config option for ILP32. Signed-off-by: Andrew Pinski <Andrew.Pinski@caviumnetworks.com> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com> Signed-off-by: Yury Norov <ynorov@caviumnetworks.com> Reviewed-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Yury Norov <ynorov@marvell.com> Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com> Acked-by: Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by: Chen Jun <chenjun102@huawei.com> Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com> Conflicts: arch/arm64/Kconfig Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
-rw-r--r--arch/arm64/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 3298ddd736fd..f913b96ba2b7 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1616,6 +1616,14 @@ config ARM64_TAGGED_ADDR_ABI
to system calls as pointer arguments. For details, see
Documentation/arch/arm64/tagged-address-abi.rst.
+config ARM64_ILP32
+ bool "Kernel support for ILP32"
+ depends on !ARM64_PTR_AUTH
+ help
+ This option enables support for AArch64 ILP32 user space. ILP32
+ is an ABI where long and pointers are 32bits but it uses the AARCH64
+ instruction set.
+
menuconfig AARCH32_EL0
bool "Kernel support for 32-bit EL0"
depends on ARM64_4K_PAGES || EXPERT
@@ -2309,7 +2317,7 @@ endmenu # "Boot options"
config COMPAT
def_bool y
- depends on AARCH32_EL0
+ depends on AARCH32_EL0 || ARM64_ILP32
menu "Power management options"