Skip to content

KVM: arm64: VTCR_EL2 conversion to feature dependency framework

Marc Zyngier kvm kvmarm linux-arm-kernel 2 versions – Applied

Status from this message: Applied to fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 19 repliesApplied
  2. v14 patches 8 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6KVM: arm64: Fix EL2 S1 XN handling for hVHE setupsarch/arm64/include/asm/kvm_pgtable.h+9 -15 replies
2/6arm64: Convert ID_AA64MMFR0_EL1.TGRAN{4,16,64}_2 to UnsignedEnumarch/arm64/tools/sysreg+3 -31 reply
3/6arm64: Convert VTCR_EL2 to sysreg infratructurearch/arm64/include/asm/kvm_arm.h arch/arm64/include/asm/sysreg.h arch/arm64/kvm/hyp/pgtable.c +2 more+76 -501 reply
4/6KVM: arm64: Account for RES1 bits in DECLARE_FEAT_MAP() and coarch/arm64/include/asm/kvm_host.h arch/arm64/kvm/config.c arch/arm64/kvm/emulate-nested.c+45 -365 replies
5/6KVM: arm64: Convert VTCR_EL2 to config-driven sanitisationarch/arm64/kvm/config.c arch/arm64/kvm/nested.c+70 -21 reply
6/6KVM: arm64: Honor UX/PX attributes for EL2 S1 mappingsarch/arm64/include/asm/kvm_pgtable.h arch/arm64/kvm/hyp/pgtable.c+24 -124 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchAlexandru EliseiFuad TabbaSascha BischoffJoey GoulyNathan Chancellor
SeriesT-b
1/6R-b
2/6R-b
3/6R-b R-b
4/6R-b T-b T-b
5/6R-b R-b
6/6R-b R-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.

Read the v2 thread

Cover letter [PATCH v2 0/6] KVM: arm64: VTCR_EL2 conversion to feature dependency framework

This is a follow-up on my VTCR_EL2 sanitisation series, with extra goodies, mostly as a consequence of Alexandru's patches and review.

* From [1]:

- Added two patches fixing some FEAT_XNX issues: one dating back from the hVHE introduction, and the other related to the newer stuff in 6.19.

- Expanded the scope of the RES1 handling in DECLARE_FEAT_MAP() to deal with FGTs, as we're about to get quality stuff thanks to GICv5.

- Simplified the S2TGRANx detection slightly.

- Collected RBs, with thanks

[1] https://lore.kernel.org/r/[email protected]

Marc Zyngier (6):
KVM: arm64: Fix EL2 S1 XN handling for hVHE setups
arm64: Convert ID_AA64MMFR0_EL1.TGRAN{4,16,64}_2 to UnsignedEnum
arm64: Convert VTCR_EL2 to sysreg infratructure
KVM: arm64: Account for RES1 bits in DECLARE_FEAT_MAP() and co
KVM: arm64: Convert VTCR_EL2 to config-driven sanitisation
KVM: arm64: Honor UX/PX attributes for EL2 S1 mappings

 arch/arm64/include/asm/kvm_arm.h     | 52 ++++-----------
 arch/arm64/include/asm/kvm_host.h    |  1 +
 arch/arm64/include/asm/kvm_pgtable.h |  2 +
 arch/arm64/include/asm/sysreg.h      |  1 -
 arch/arm64/kvm/config.c              | 94 ++++++++++++++++++++++++----
 arch/arm64/kvm/emulate-nested.c      | 55 +++++++++-------
 arch/arm64/kvm/hyp/pgtable.c         | 32 +++++++---
 arch/arm64/kvm/nested.c              | 11 ++--
 arch/arm64/tools/sysreg              | 63 ++++++++++++++++++-
 9 files changed, 217 insertions(+), 94 deletions(-)
Signature · 1 line
2.47.3