diff options
| author | Sean Christopherson <[email protected]> | 2021-04-21 19:11:25 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-04-26 05:27:17 -0400 |
| commit | 469bb32b68d5a414fea293c17b532329c6dc9612 (patch) | |
| tree | 41833bf693c816cfcb2828f15f12e26b8ab312ff /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | 82b7ae0481aeed393094e4f73bf4566a504b86bc (diff) | |
KVM: SVM: Skip SEV cache flush if no ASIDs have been used
Skip SEV's expensive WBINVD and DF_FLUSH if there are no SEV ASIDs
waiting to be reclaimed, e.g. if SEV was never used. This "fixes" an
issue where the DF_FLUSH fails during hardware teardown if the original
SEV_INIT failed. Ideally, SEV wouldn't be marked as enabled in KVM if
SEV_INIT fails, but that's a problem for another day.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions