From: Yang Shi Date: Fri, 5 Feb 2016 23:50:18 +0000 (-0800) Subject: arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL X-Git-Tag: firefly_0821_release~176^2~4^2~47^2~48 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1d1e6a82d643537e9b80cf58f887b2be616aa515;p=firefly-linux-kernel-4.4.55.git arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL To enable UBSAN on arm64, ARCH_HAS_UBSAN_SANITIZE_ALL need to be selected. Basic kernel bootup test is passed on arm64 with CONFIG_UBSAN_SANITIZE_ALL enabled. Signed-off-by: Yang Shi Acked-by: Andrey Ryabinin Tested-by: Mark Rutland Signed-off-by: Catalin Marinas (cherry picked from commit f0b7f8a4b44657386273a67179dd901c81cd11a6) Signed-off-by: Alex Shi --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 98992dee9a29..1420102341d0 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -13,6 +13,7 @@ config ARM64 select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_WANT_COMPAT_IPC_PARSE_VERSION select ARCH_WANT_FRAME_POINTERS + select ARCH_HAS_UBSAN_SANITIZE_ALL select ARM_AMBA select ARM_ARCH_TIMER select ARM_GIC