mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pierre-Clément Tosi" <ptosi@google.com>
To: Catalin Marinas <catalin.marinas@arm.com>,
	Fuad Tabba <fuad.tabba@linux.dev>,
	 "Lorenzo Stoakes (ARM)" <ljs@kernel.org>,
	Will Deacon <will@kernel.org>
Cc: "Vincenzo Frascino" <vincenzo.frascino@arm.com>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Marc Zyngier" <maz@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev,
	"Pierre-Clément Tosi" <ptosi@google.com>
Subject: [PATCH 0/3] Introduce MTE page tagging helper APIs
Date: Tue, 01 Dec 2026 15:56:22 +0100	[thread overview]
Message-ID: <20261201-mte-page-helpers-v1-0-5aab4a7a7ebc@google.com> (raw)

(Based on my previous rework of the page tagging API [1])

This series aims to provide ergonomic wrappers of the MTE page tagging
interface, less errorprone for callers. It is a pure refactor leveraging
the newly introduced interface and decoupled from that series to avoid
interfering with it. By the end, the legacy mte_[zero_]clear_page_tags()
is removed.

[1]: https://lore.kernel.org/linux-arm-kernel/20261201-mte-page-api-v1-0-5e38d19462ea@google.com

Signed-off-by: Pierre-Clément Tosi <ptosi@google.com>
---
Pierre-Clément Tosi (3):
      arm64: Introduce mte_tag_[clear_]highpage[s]()
      arm64: Introduce mte_tag_[clear_]folio()
      arm64: Remove mte_clear_page_tags()

 arch/arm64/include/asm/mte-tagging.h | 52 ++++++++++++++++++++++++++++++++++--
 arch/arm64/include/asm/mte.h         |  4 ---
 arch/arm64/kernel/cpufeature.c       |  2 +-
 arch/arm64/kernel/mte.c              | 12 ++-------
 arch/arm64/kvm/guest.c               |  4 +--
 arch/arm64/kvm/mmu.c                 |  4 +--
 arch/arm64/mm/fault.c                |  4 +--
 7 files changed, 59 insertions(+), 23 deletions(-)
---
base-commit: 012e4bc01e339a65dc7c59181b5efb33b171d12c
change-id: 20261201-mte-page-helpers-df6bd957ba51
prerequisite-change-id: 20261129-mte-page-api-f285a514f1ad:v1
prerequisite-patch-id: fc2943d14606f01e9594700b3b8e616a4e66d1d7
prerequisite-patch-id: 87fc04e73de4eaf7d0d5ab4be5718e362dc47409
prerequisite-patch-id: 0925d5cf3e744a9d6a71462a7198cfea73bb737c
prerequisite-patch-id: 1ef6c57e30b209f30577f98d8e289e77977964ed

Best regards,
-- 
Pierre-Clément Tosi <ptosi@google.com>


             reply	other threads:[~2026-12-01 14:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 14:56 Pierre-Clément Tosi [this message]
2026-12-01 14:56 ` [PATCH 1/3] arm64: Introduce mte_tag_[clear_]highpage[s]() Pierre-Clément Tosi
2026-12-01 14:56 ` [PATCH 2/3] arm64: Introduce mte_tag_[clear_]folio() Pierre-Clément Tosi
2026-12-01 14:56 ` [PATCH 3/3] arm64: Remove mte_clear_page_tags() Pierre-Clément Tosi

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=20261201-mte-page-helpers-v1-0-5aab4a7a7ebc@google.com \
    --to=ptosi@google.com \
    --cc=catalin.marinas@arm.com \
    --cc=fuad.tabba@linux.dev \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ljs@kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    --cc=vincenzo.frascino@arm.com \
    --cc=will@kernel.org \
    /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®