forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit452d622
Marc Zyngier
KVM: arm64: Restore missing ISB on nVHE __tlb_switch_to_guest
Commita0e50aa ("KVM: arm64: Factor out stage 2 page tabledata from struct kvm") dropped the ISB after __load_guest_stage2(),only leaving the one that is required when the speculative ATworkaround is in effect.As Andrew points it: "This alternative is 'backwards' to avoid adouble ISB as there is one in __load_guest_stage2 when the workaroundis active."Restore the missing ISB, conditionned on the AT workaround not beingactive.Fixes:a0e50aa ("KVM: arm64: Factor out stage 2 page table data from struct kvm")Reported-by: Andrew Scull <ascull@google.com>Reported-by: Thomas Tai <thomas.tai@oracle.com>Signed-off-by: Marc Zyngier <maz@kernel.org>1 parent620cf45 commit452d622
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
| |||
0 commit comments
Comments
(0)