arm64: Early system register initialization fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: arm64: Initialize HCR_EL2.E2H earlyarch/ arch/ arch/ | +34 | 0 replies | |
| 2/3 | KVM: arm64: Initialize SCTLR_EL1 in __kvm_hyp_init_cpu()arch/ arch/ arch/ +1 more | +5 | 0 replies | |
| 3/3 | arm64: Revamp HCR_EL2.E2H RES1 detectionarch/ | +32 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Leo Yan | Mark Rutland | Catalin Marinas | Oliver Upton | Jan Kotas |
|---|---|---|---|---|---|
| 1/3 | |||||
| 2/3 | R-b | ||||
| 3/3 | A-b | A-b | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH 6.12.y 0/3] arm64: Early system register initialization fixes
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(-)
Signature · 1 line
2.43.0