[PATCH v1 0/4] arm64/mte: Asymmetric MTE support in userspace

Branislav Rankov branislav.rankov at arm.com
Thu Feb 10 13:43:33 PST 2022


Tested-by: Branislav Rankov <branislav.rankov at arm.com>

On 1/27/22 19:57, Mark Brown wrote:
> MTE3 adds a new mode which is synchronous for writes but asynchronous for
> reads. Currently we make use of this within the kernel but do not make
> it available for userspace, this series extends the existing userspace
> ABI to allow that to happen.
> 
> There's no updates to the kselftests for MTE here, I have some work in
> progress there but there's some overlap with Joey's work extending the
> tests to cover some additional cases and there's some fairly extensive
> assumptions that need to be unpicked about only being able to generate
> one type of fault at once. I'll clean that up and post it later.
> 
> Mark Brown (4):
>   arm64/mte: Document ABI for asymmetric mode
>   arm64/mte: Add a little bit of documentation for
>     mte_update_sctlr_user()
>   arm64/mte: Add hwcap for asymmetric mode
>   arm64/mte: Add userspace interface for enabling asymmetric mode
> 
>  Documentation/arm64/elf_hwcaps.rst            |  5 ++++
>  .../arm64/memory-tagging-extension.rst        | 12 +++++----
>  arch/arm64/include/asm/hwcap.h                |  1 +
>  arch/arm64/include/asm/processor.h            |  1 +
>  arch/arm64/include/uapi/asm/hwcap.h           |  1 +
>  arch/arm64/kernel/cpufeature.c                |  1 +
>  arch/arm64/kernel/cpuinfo.c                   |  1 +
>  arch/arm64/kernel/mte.c                       | 26 ++++++++++++++++++-
>  arch/arm64/kernel/process.c                   |  5 +++-
>  include/uapi/linux/prctl.h                    |  4 ++-
>  10 files changed, 49 insertions(+), 8 deletions(-)
> 
> 
> base-commit: e783362eb54cd99b2cac8b3a9aeac942e6f6ac07



More information about the linux-arm-kernel mailing list