Skip to content

KVM: arm64: Skip more of the SError vaxorcism

James Morse kvmarm linux-arm-kernel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v21 patch 4 repliesSuperseded

Changes in v3 from the cover letter

* Added patch 1 of this series to make the 'SError remains masked' behaviour explicit
* Added missing isb before the isr_el1 read.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: Re-mask SError after the one instruction windowarch/arm64/kvm/hyp/entry.S+2 -00 replies
2/2KVM: arm64: Skip more of the SError vaxorcismarch/arm64/kvm/hyp/entry.S+10 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] KVM: arm64: Skip more of the SError vaxorcism

In guest_enter we used ISR_EL1 to know if an SError is pending as we really don't want to take it as an exception. We can do the same in guest_exit, which saves toggling bits in pstate.

This lets us leave SError masked for the remainder of world-switch without having to toggle pstate twice.

Changes since v2:
* Added patch 1 of this series to make the 'SError remains masked' behaviour explicit
* Added missing isb before the isr_el1 read.

James Morse (2):
KVM: arm64: Re-mask SError after the one instruction window
KVM: arm64: Skip more of the SError vaxorcism

 arch/arm64/kvm/hyp/entry.S | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
Signature · 6 lines
2.20.1

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm