diff options
| author | Maxim Levitsky <[email protected]> | 2022-02-08 11:45:16 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-02-11 17:53:02 +0000 |
| commit | 0a5f784273aad41a22963fc8b818ead3c892c97a (patch) | |
| tree | 66baea5ff86dbc70fbf1649b3753320ff9ca2e72 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | selftests: kvm: Remove absent target file (diff) | |
| download | kernel-0a5f784273aad41a22963fc8b818ead3c892c97a.tar.gz kernel-0a5f784273aad41a22963fc8b818ead3c892c97a.zip | |
KVM: SVM: extract avic_ring_doorbell
The check on the current CPU adds an extra level of indentation to
svm_deliver_avic_intr and conflates documentation on what happens
if the vCPU exits (of interest to svm_deliver_avic_intr) and migrates
(only of interest to avic_ring_doorbell, which calls get/put_cpu()).
Extract the wrmsr to a separate function and rewrite the
comment in svm_deliver_avic_intr().
Co-developed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Maxim Levitsky <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
