linux/arch/arm/kvm
Marc Zyngier 15bbc1b28f ARM: KVM: fix unbalanced get_cpu() in access_dcsw
In the very unlikely event where a guest would be foolish enough to
*read* from a write-only cache maintainance register, we end up
with preemption disabled, due to a misplaced get_cpu().

Just move the "is_write" test outside of the critical section.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-04-17 12:51:32 -07:00
..
arch_timer.c ARM: KVM: arch_timers: Add guest timer core support 2013-02-11 19:05:11 +00:00
arm.c ARM: KVM: fix KVM_CAP_ARM_SET_DEVICE_ADDR reporting 2013-04-16 16:21:24 -07:00
coproc_a15.c KVM: ARM: Emulation framework and CP15 emulation 2013-01-23 13:29:13 -05:00
coproc.c ARM: KVM: fix unbalanced get_cpu() in access_dcsw 2013-04-17 12:51:32 -07:00
coproc.h KVM: ARM: Emulation framework and CP15 emulation 2013-01-23 13:29:13 -05:00
emulate.c KVM: ARM: Emulation framework and CP15 emulation 2013-01-23 13:29:13 -05:00
guest.c KVM: ARM: User space API for getting/setting co-proc registers 2013-01-23 13:29:14 -05:00
init.S KVM: ARM: Hypervisor initialization 2013-01-23 13:29:10 -05:00
interrupts_head.S ARM: KVM: arch_timers: Add timer world switch 2013-02-11 19:05:38 +00:00
interrupts.S ARM: KVM: arch_timers: Add guest timer core support 2013-02-11 19:05:11 +00:00
Kconfig ARM: KVM: arch_timers: Wire the init code and config option 2013-02-11 19:06:00 +00:00
Makefile ARM: KVM: arch_timers: Wire the init code and config option 2013-02-11 19:06:00 +00:00
mmio.c ARM: KVM: Initial VGIC infrastructure code 2013-02-11 18:58:55 +00:00
mmu.c ARM: KVM: fix compilation after removal of user_alloc from struct kvm_memory_slot 2013-02-25 11:48:41 +02:00
psci.c KVM: ARM: Power State Coordination Interface implementation 2013-01-23 13:29:18 -05:00
reset.c
trace.h KVM: ARM: Handle I/O aborts 2013-01-23 13:29:17 -05:00
vgic.c ARM: KVM: vgic: take distributor lock on sync_hwstate path 2013-02-22 13:29:38 +00:00