Revision 596f3142d2b7be307a1652d59e7b93adab918437 authored by Radim Krčmář on 11 March 2014, 18:11:18 UTC, committed by Paolo Bonzini on 12 March 2014, 17:21:10 UTC
We always disable cr8 intercept in its handler, but only re-enable it if handling KVM_REQ_EVENT, so there can be a window where we do not intercept cr8 writes, which allows an interrupt to disrupt a higher priority task. Fix this by disabling intercepts in the same function that re-enables them when needed. This fixes BSOD in Windows 2008. Cc: <stable@vger.kernel.org> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 6cbde82
File | Mode | Size |
---|---|---|
accel | ||
adc | ||
amplifiers | ||
common | ||
dac | ||
frequency | ||
gyro | ||
humidity | ||
imu | ||
light | ||
magnetometer | ||
orientation | ||
pressure | ||
temperature | ||
trigger | ||
Kconfig | -rw-r--r-- | 2.2 KB |
Makefile | -rw-r--r-- | 706 bytes |
buffer_cb.c | -rw-r--r-- | 3.1 KB |
iio_core.h | -rw-r--r-- | 2.1 KB |
iio_core_trigger.h | -rw-r--r-- | 1.3 KB |
industrialio-buffer.c | -rw-r--r-- | 26.8 KB |
industrialio-core.c | -rw-r--r-- | 31.4 KB |
industrialio-event.c | -rw-r--r-- | 13.3 KB |
industrialio-trigger.c | -rw-r--r-- | 14.4 KB |
industrialio-triggered-buffer.c | -rw-r--r-- | 3.4 KB |
inkern.c | -rw-r--r-- | 12.9 KB |
kfifo_buf.c | -rw-r--r-- | 4.2 KB |
Computing file changes ...