[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YYPOObm72VH2l/AT@shell.armlinux.org.uk>
Date: Thu, 4 Nov 2021 12:12:41 +0000
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Kefeng Wang <wangkefeng.wang@...wei.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Alexander Potapenko <glider@...gle.com>,
Marco Elver <elver@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>
Subject: Re: [PATCH v2 0/3] ARM: Support KFENCE feature
The ARM tree is closed; we're in the mainline merge window. Please
resend after -rc1 is released.
On Wed, Nov 03, 2021 at 09:38:42PM +0800, Kefeng Wang wrote:
> This patchset supports Kfence feature, tested the kfence_test on ARM QEMU
> with or without ARM_LPAE and all passed.
>
> V2:
> - drop patch4 in v1, which is used a new way to skip kfence test
> see commit c40c6e593bf9 ("kfence: test: fail fast if disabled at boot")
> - fix some issue about NO MMU
> - drop useless set_memory_valid() under no mmu
> - fix implicit declaration of function ‘is_write_fault’ if no mmu
> - make KFENCE depends on !XIP_KERNEL, no tested with xip
>
> v1:
> https://lore.kernel.org/linux-arm-kernel/20210825092116.149975-1-wangkefeng.wang@huawei.com/
>
> Kefeng Wang (3):
> ARM: mm: Provide set_memory_valid()
> ARM: mm: Provide is_write_fault()
> ARM: Support KFENCE for ARM
>
> arch/arm/Kconfig | 1 +
> arch/arm/include/asm/kfence.h | 53 +++++++++++++++++++++++++++++++
> arch/arm/include/asm/set_memory.h | 1 +
> arch/arm/mm/fault.c | 16 ++++++++--
> arch/arm/mm/pageattr.c | 42 ++++++++++++++++++------
> 5 files changed, 100 insertions(+), 13 deletions(-)
> create mode 100644 arch/arm/include/asm/kfence.h
>
> --
> 2.26.2
>
>
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists