From: Will Deacon <will@kernel.org>
To: Catalin Marinas <catalin.marinas@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
Andrey Konovalov <andreyknvl@google.com>,
Mark Brown <broonie@kernel.org>,
Linux ARM <linux-arm-kernel@lists.infradead.org>,
Peter Collingbourne <pcc@google.com>,
Ard Biesheuvel <ardb@kernel.org>,
Evgenii Stepanov <eugenis@google.com>
Subject: Re: [PATCH v3 3/3] kasan: arm64: support specialized outlined tag mismatch checks
Date: Wed, 20 Jan 2021 12:41:10 +0000 [thread overview]
Message-ID: <20210120124109.GB19504@willie-the-truck> (raw)
In-Reply-To: <20201208174906.GD13960@gaia>
On Tue, Dec 08, 2020 at 05:49:07PM +0000, Catalin Marinas wrote:
> On Wed, Dec 02, 2020 at 09:12:24PM -0800, Peter Collingbourne wrote:
> > By using outlined checks we can achieve a significant code size
> > improvement by moving the tag-based ASAN checks into separate
> > functions. Unlike the existing CONFIG_KASAN_OUTLINE mode these
> > functions have a custom calling convention that preserves most
> > registers and is specialized to the register containing the address
> > and the type of access, and as a result we can eliminate the code
> > size and performance overhead of a standard calling convention such
> > as AAPCS for these functions.
[...]
> > arch/arm64/include/asm/asm-prototypes.h | 6 ++
> > arch/arm64/include/asm/module.lds.h | 17 +++++-
> > arch/arm64/lib/Makefile | 2 +
> > arch/arm64/lib/kasan_sw_tags.S | 76 +++++++++++++++++++++++++
> > mm/kasan/tags.c | 7 +++
> > scripts/Makefile.kasan | 1 +
>
> I can try to queue the series but this patch would need an ack on the
> kasan changes.
>
> (also, it may conflict with linux-next which renames tags.c to sw_tags.c
> but that's trivial)
Looks like this didn't land for 5.11. Peter -- please can you send a rebased
version (on -rc4) so that I can queue it for 5.12?
Thanks,
Will
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-01-20 12:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-03 5:12 [PATCH v3 1/3] arm64: Change the on_*stack functions to take a size argument Peter Collingbourne
2020-12-03 5:12 ` [PATCH v3 2/3] arm64: stacktrace: Relax frame record alignment requirement to 8 bytes Peter Collingbourne
2020-12-03 5:12 ` [PATCH v3 3/3] kasan: arm64: support specialized outlined tag mismatch checks Peter Collingbourne
2020-12-08 17:49 ` Catalin Marinas
2021-01-20 12:41 ` Will Deacon [this message]
2021-05-13 2:30 ` Peter Collingbourne
2021-01-07 15:20 ` Andrey Konovalov
2020-12-08 10:20 ` [PATCH v3 1/3] arm64: Change the on_*stack functions to take a size argument Mark Rutland
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=20210120124109.GB19504@willie-the-truck \
--to=will@kernel.org \
--cc=andreyknvl@google.com \
--cc=ardb@kernel.org \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=eugenis@google.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=pcc@google.com \
/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;
as well as URLs for NNTP newsgroup(s).