Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite2e1a1c

Browse files
committed
Merge tag 'kvmarm-fixes-5.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-master
KVM/arm64 fixes for 5.9, take #3- Fix synchronization of VTTBR update on TLB invalidation for nVHE systems
2 parentsb502e6e +452d622 commite2e1a1c

File tree

1 file changed

+7
-0
lines changed
  • arch/arm64/kvm/hyp/nvhe

1 file changed

+7
-0
lines changed

‎arch/arm64/kvm/hyp/nvhe/tlb.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@ static void __tlb_switch_to_guest(struct kvm_s2_mmu *mmu,
3131
isb();
3232
}
3333

34+
/*
35+
* __load_guest_stage2() includes an ISB only when the AT
36+
* workaround is applied. Take care of the opposite condition,
37+
* ensuring that we always have an ISB, but not two ISBs back
38+
* to back.
39+
*/
3440
__load_guest_stage2(mmu);
41+
asm(ALTERNATIVE("isb","nop",ARM64_WORKAROUND_SPECULATIVE_AT));
3542
}
3643

3744
staticvoid__tlb_switch_to_host(structtlb_inv_context*cxt)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp