[PATCH stable-7.2 0/9] linux-user/aarch64: Backport TPIDR2_EL0 fixes

Richard Henderson posted 9 patches 3 months, 2 weeks ago
Failed in applying to current master (apply log)
target/arm/cpu.h              |  2 +-
target/arm/helper-sme.h       |  3 +-
linux-user/aarch64/cpu_loop.c | 11 ++-----
linux-user/aarch64/signal.c   | 55 ++++++++++++++++++++++++++++-------
target/arm/helper.c           | 41 ++++++++++++++++++++++++--
target/arm/sme_helper.c       | 37 ++---------------------
target/arm/translate-a64.c    | 19 +++++-------
7 files changed, 95 insertions(+), 73 deletions(-)
[PATCH stable-7.2 0/9] linux-user/aarch64: Backport TPIDR2_EL0 fixes
Posted by Richard Henderson 3 months, 2 weeks ago
Hi Michael,

Here's the aarch64-linux-user TPIDR2_EL0 fixes backported to the
stable-7.2 branch.  Including all of the aarch64_set_svcr cleanups
is probably overkill, but I think it was clearer that way.


r~


Peter Maydell (2):
  linux-user/aarch64: Clear TPIDR2_EL0 when delivering signals
  linux-user/aarch64: Support TPIDR2_MAGIC signal frame record

Richard Henderson (7):
  target/arm/sme: Reorg SME access handling in handle_msr_i()
  target/arm/sme: Rebuild hflags in set_pstate() helpers
  target/arm/sme: Introduce aarch64_set_svcr()
  target/arm/sme: Reset SVE state in aarch64_set_svcr()
  target/arm/sme: Reset ZA state in aarch64_set_svcr()
  target/arm/sme: Rebuild hflags in aarch64_set_svcr()
  target/arm/sme: Unify set_pstate() SM/ZA helpers as set_svcr()

 target/arm/cpu.h              |  2 +-
 target/arm/helper-sme.h       |  3 +-
 linux-user/aarch64/cpu_loop.c | 11 ++-----
 linux-user/aarch64/signal.c   | 55 ++++++++++++++++++++++++++++-------
 target/arm/helper.c           | 41 ++++++++++++++++++++++++--
 target/arm/sme_helper.c       | 37 ++---------------------
 target/arm/translate-a64.c    | 19 +++++-------
 7 files changed, 95 insertions(+), 73 deletions(-)

-- 
2.43.0
Re: [PATCH stable-7.2 0/9] linux-user/aarch64: Backport TPIDR2_EL0 fixes
Posted by Michael Tokarev 3 months, 2 weeks ago
On 28.07.2025 21:16, Richard Henderson wrote:
> Hi Michael,
> 
> Here's the aarch64-linux-user TPIDR2_EL0 fixes backported to the
> stable-7.2 branch.  Including all of the aarch64_set_svcr cleanups
> is probably overkill, but I think it was clearer that way.

This is a good set.  What was missing on my side was the list of
commits to pick up.  I applied all of them (with the fix for
vfp_set_fpcr vs vfp_set_fpsr which was picked up before), -- all
it applies cleanly.

Let's see how it goes now..

Thank you very much Richard!

/mjt