All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.12.y 0/3] arm64: Early system register initialization fixes
@ 2025-12-19 10:21 Wei-Lin Chang
  2025-12-19 10:21 ` [PATCH 6.12.y 1/3] KVM: arm64: Initialize HCR_EL2.E2H early Wei-Lin Chang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Wei-Lin Chang @ 2025-12-19 10:21 UTC (permalink / raw)
  To: stable; +Cc: Marc Zyngier, Mark Rutland, Wei-Lin Chang

Hi,

This series is a v6.12-only backport (based on v6.12.62) of fixes for
system register initialization issues affecting protected KVM on arm64.
This affects some contemporary and upcoming hardware which will run the
v6.12.y stable kernel, or something derived from it, such as the Android
common kernel.

The FEAT_E2H0 patches fix code introduced after v6.6, and so only
need to be backported to v6.12.

The SCTLR_EL1 patch fixes code introduced in v5.11, but practically
speaking only affects recent hardware which is unlikely to run
something older than v6.12.

Note: Marc Zyngier performed the initial backport, which I have
rebased and tested, hence both of our sign-offs being added to the
tags from the upstream commits.

I have tested the backport and observed they solve the problems as
expected.

Ahmed Genidi (1):
  KVM: arm64: Initialize SCTLR_EL1 in __kvm_hyp_init_cpu()

Marc Zyngier (1):
  arm64: Revamp HCR_EL2.E2H RES1 detection

Mark Rutland (1):
  KVM: arm64: Initialize HCR_EL2.E2H early

 arch/arm64/include/asm/el2_setup.h   | 57 +++++++++++++++++++++++++---
 arch/arm64/kernel/head.S             | 22 ++---------
 arch/arm64/kvm/hyp/nvhe/hyp-init.S   | 10 +++--
 arch/arm64/kvm/hyp/nvhe/psci-relay.c |  3 ++
 4 files changed, 65 insertions(+), 27 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-12-19 10:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-19 10:21 [PATCH 6.12.y 0/3] arm64: Early system register initialization fixes Wei-Lin Chang
2025-12-19 10:21 ` [PATCH 6.12.y 1/3] KVM: arm64: Initialize HCR_EL2.E2H early Wei-Lin Chang
2025-12-19 10:21 ` [PATCH 6.12.y 2/3] KVM: arm64: Initialize SCTLR_EL1 in __kvm_hyp_init_cpu() Wei-Lin Chang
2025-12-19 10:21 ` [PATCH 6.12.y 3/3] arm64: Revamp HCR_EL2.E2H RES1 detection Wei-Lin Chang
2025-12-19 10:27 ` [PATCH 6.12.y 0/3] arm64: Early system register initialization fixes Marc Zyngier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.