From: Kefeng Wang <wangkefeng.wang@huawei.com>
To: <linux@armlinux.org.uk>, <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Cc: <glider@google.com>, <elver@google.com>, <dvyukov@google.com>
Subject: Re: [PATCH Resend v2 0/3] ARM: Support KFENCE feature
Date: Mon, 29 Nov 2021 22:55:20 +0800 [thread overview]
Message-ID: <8a4dbf98-1ac0-d48d-98fa-c7392e6a4de1@huawei.com> (raw)
In-Reply-To: <20211115134848.171098-1-wangkefeng.wang@huawei.com>
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
>
prev parent reply other threads:[~2021-11-29 14:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 13:48 Kefeng Wang
2021-11-15 13:48 ` [PATCH Resend v2 1/3] ARM: mm: Provide set_memory_valid() Kefeng Wang
2021-11-15 13:48 ` [PATCH Resend v2 2/3] ARM: mm: Provide is_write_fault() Kefeng Wang
2021-11-15 13:48 ` [PATCH Resend v2 3/3] ARM: Support KFENCE for ARM Kefeng Wang
2021-11-29 14:55 ` Kefeng Wang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8a4dbf98-1ac0-d48d-98fa-c7392e6a4de1@huawei.com \
--to=wangkefeng.wang@huawei.com \
--cc=dvyukov@google.com \
--cc=elver@google.com \
--cc=glider@google.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®