Skip to content

KVM: arm64: Fix SPE and TRBE nVHE world switch

Will Deacon kvmarm linux-arm-kernel 4 versions – Applied

Status from this message: Applied to next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesApplied
  2. v33 patches 1 replySuperseded
  3. v23 patches 10 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch30 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: arm64: Disable TRBE Trace Buffer Unit when running in guest contextarch/arm64/include/asm/kvm_host.h arch/arm64/kvm/hyp/nvhe/debug-sr.c arch/arm64/kvm/hyp/nvhe/switch.c+64 -100 replies
2/3KVM: arm64: Disable SPE Profiling Buffer when running in guest contextarch/arm64/include/asm/kvm_host.h arch/arm64/kvm/hyp/nvhe/debug-sr.c arch/arm64/kvm/hyp/nvhe/switch.c+24 -120 replies
3/3KVM: arm64: Don't pass host_debug_state to BRBE world-switch routinesarch/arm64/kvm/hyp/nvhe/debug-sr.c+8 -41 reply

Reviews trailers per patch

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

PatchLeo YanFuad TabbaSuzuki K PouloseAlexandru Elisei
1/3T-b T-b R-b R-b
2/3R-b T-b R-b T-b
3/3T-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 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] KVM: arm64: Fix SPE and TRBE nVHE world switch

Hi all,

I got the Sashiko treatment on v3, so here's a quick respin to address the BRBE thinko it found in the last patch.

Previous versions of the series are available at:

v1: https://lore.kernel.org/r/[email protected]
v2: https://lore.kernel.org/r/[email protected]
v3: https://lore.kernel.org/r/[email protected]

Changes since v3 include:

* Retain zeroing of *brbcr_el1 when saving BRBE state
* Dropped R-b / T-b tags on the BRBE patch

Cheers,

Will

Cc Marc Zyngier <[email protected]>
Cc Oliver Upton <[email protected]>
Cc James Clark <[email protected]>
Cc Leo Yan <[email protected]>
Cc Suzuki K Poulose <[email protected]>
Cc Fuad Tabba <[email protected]>
Cc Alexandru Elisei <[email protected]>
Cc Yabin Cui <[email protected]>

--->8

Will Deacon (3):
KVM: arm64: Disable TRBE Trace Buffer Unit when running in guest
context
KVM: arm64: Disable SPE Profiling Buffer when running in guest context
KVM: arm64: Don't pass host_debug_state to BRBE world-switch routines

 arch/arm64/include/asm/kvm_host.h  |   2 +
 arch/arm64/kvm/hyp/nvhe/debug-sr.c | 116 +++++++++++++++++++++++------
 arch/arm64/kvm/hyp/nvhe/switch.c   |   2 +-
 3 files changed, 95 insertions(+), 25 deletions(-)
Signature · 1 line
2.53.0.1018.g2bb0e51243-goog