public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Mark Rutland <mark.rutland@arm.com>
To: linux-arm-kernel@lists.infradead.org
Cc: broonie@kernel.org, mark.rutland@arm.com
Subject: [BOOT-WRAPPER PATCH 0/3] Enable use of FPMR and ZT0
Date: Sun, 11 May 2025 10:52:08 +0100	[thread overview]
Message-ID: <20250511095211.1638852-1-mark.rutland@arm.com> (raw)

When the kernel gained support for FEAT_FPMR and FEAT_SME2,
corresponding support was not added to the boot-wrapper. Both of these
features require some (trivial) enablement to avoid traps being taken to
EL3 durung normal operation.

These patches add the missing support to the boot-wrapper.

The first two patches were prviously posted as part of an earlier
series:

  https://lore.kernel.org/linux-arm-kernel/20241126153955.477569-1-mark.rutland@arm.com/

I've updated their commit messages for clarity, but I have made no
functional changes.

Mark.

Mark Rutland (3):
  aarch64: shuffle ID_AA64PFR{0,1}_EL1 definitions
  aarch64: Enable use of FPMR
  aarch64: Enable use of ZT0

 arch/aarch64/include/asm/cpu.h | 11 ++++++++---
 arch/aarch64/init.c            |  6 ++++++
 2 files changed, 14 insertions(+), 3 deletions(-)

-- 
2.30.2



             reply	other threads:[~2025-05-11  9:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-11  9:52 Mark Rutland [this message]
2025-05-11  9:52 ` [BOOT-WRAPPER PATCH 1/3] aarch64: shuffle ID_AA64PFR{0,1}_EL1 definitions Mark Rutland
2025-05-11  9:52 ` [BOOT-WRAPPER PATCH 2/3] aarch64: Enable use of FPMR Mark Rutland
2025-05-11  9:52 ` [BOOT-WRAPPER PATCH 3/3] aarch64: Enable use of ZT0 Mark Rutland
2025-05-14  6:07 ` [BOOT-WRAPPER PATCH 0/3] Enable use of FPMR and ZT0 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=20250511095211.1638852-1-mark.rutland@arm.com \
    --to=mark.rutland@arm.com \
    --cc=broonie@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.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