[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAhV-H4oqe-15jpHUe2yXchYogNyNdFHt=WfsoCF_AmX1e6v=Q@mail.gmail.com>
Date: Tue, 11 Feb 2025 22:40:50 +0800
From: Huacai Chen <chenhuacai@...nel.org>
To: WangYuli <wangyuli@...ontech.com>
Cc: kernel@...0n.name, loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org,
zhanjun@...ontech.com, guanwentao@...ontech.com, chenlinxuan@...ontech.com
Subject: Re: [PATCH] LoongArch: Enable Undefined Behavior Sanitizer UBSAN
Queued for 6.15, thanks.
Huacai
On Thu, Feb 6, 2025 at 2:39 PM WangYuli <wangyuli@...ontech.com> wrote:
>
> Select ARCH_HAS_UBSAN_SANITIZE_ALL in order to allow the user to
> enable CONFIG_UBSAN_SANITIZE_ALL and instrument the entire kernel for
> ubsan checks.
>
> Co-developed-by: Wentao Guan <guanwentao@...ontech.com>
> Signed-off-by: Wentao Guan <guanwentao@...ontech.com>
> Tested-by: Yuli Wang <wangyuli@...ontech.com>
> Signed-off-by: Yuli Wang <wangyuli@...ontech.com>
> ---
> arch/loongarch/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig
> index 2b8bd27a852f..9d20aac7bc14 100644
> --- a/arch/loongarch/Kconfig
> +++ b/arch/loongarch/Kconfig
> @@ -30,6 +30,7 @@ config LOONGARCH
> select ARCH_HAS_SET_MEMORY
> select ARCH_HAS_SET_DIRECT_MAP
> select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
> + select ARCH_HAS_UBSAN
> select ARCH_INLINE_READ_LOCK if !PREEMPTION
> select ARCH_INLINE_READ_LOCK_BH if !PREEMPTION
> select ARCH_INLINE_READ_LOCK_IRQ if !PREEMPTION
> --
> 2.47.2
>
Powered by blists - more mailing lists