All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL
@ 2016-02-05 23:50 ` Yang Shi
  0 siblings, 0 replies; 12+ messages in thread
From: Yang Shi @ 2016-02-05 23:50 UTC (permalink / raw)
  To: aryabinin, Will.Deacon, Catalin.Marinas
  Cc: linux-kernel, linux-arm-kernel, linaro-kernel, yang.shi

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 <yang.shi@linaro.org>
---
 arch/arm64/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 8cc6228..1c29e20 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -14,6 +14,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
-- 
2.0.2

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-02-08 18:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-05 23:50 [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL Yang Shi
2016-02-05 23:50 ` Yang Shi
2016-02-08  7:52 ` Andrey Ryabinin
2016-02-08  7:52   ` Andrey Ryabinin
2016-02-08 11:46 ` Mark Rutland
2016-02-08 11:46   ` Mark Rutland
2016-02-08 17:09   ` Shi, Yang
2016-02-08 17:09     ` Shi, Yang
2016-02-08 17:28     ` Mark Rutland
2016-02-08 17:28       ` Mark Rutland
2016-02-08 18:15 ` Catalin Marinas
2016-02-08 18:15   ` Catalin Marinas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.