diff options
| author | Matt Gingell <[email protected]> | 2015-11-17 16:32:05 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2015-11-18 11:25:37 +0000 |
| commit | 127a457acb2131fdb31c68c98cf11eda8ba7b380 (patch) | |
| tree | 161e0007cbd4e13af7850921d1558bbf5078afad /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | MIPS: KVM: Uninit VCPU in vcpu_create error path (diff) | |
| download | kernel-127a457acb2131fdb31c68c98cf11eda8ba7b380.tar.gz kernel-127a457acb2131fdb31c68c98cf11eda8ba7b380.zip | |
KVM: x86: fix interrupt window handling in split IRQ chip case
This patch ensures that dm_request_for_irq_injection and
post_kvm_run_save are in sync, avoiding that an endless ping-pong
between userspace (who correctly notices that IF=0) and
the kernel (who insists that userspace handles its request
for the interrupt window).
To synchronize them, it also adds checks for kvm_arch_interrupt_allowed
and !kvm_event_needs_reinjection. These are always needed, not
just for in-kernel LAPIC.
Signed-off-by: Matt Gingell <[email protected]>
[A collage of two patches from Matt. - Paolo]
Fixes: 1c1a9ce973a7863dd46767226bce2a5f12d48bc6
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions
