lkml.org 
[lkml]   [2021]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH Resend v2 0/3] ARM: Support KFENCE feature
From
Hi Russell,

Could I send this to ARM patch system if no more comments,

what about your opinion, thanks.

On 2021/11/15 21:48, Kefeng Wang wrote:
> This patchset supports Kfence feature, tested the kfence_test on ARM QEMU
> with or without ARM_LPAE and all passed.
>
> V2 Resend:
> - adjust is_write_fault() position in patch2 not patch3, sugguested Alexander
> - Add ACKed from Marco
> - rebased on v5.16-rc1
>
> 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
>

\
 
 \ /
  Last update: 2021-11-29 15:58    [W:0.446 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site