qemu-patch-raspberry4/hw/mips
Sanjay Lal 353a243e22 hw/mips/cputimer: Don't start periodic timer in KVM mode
Compare/Count timer interrupts are handled in-kernel for KVM. Therefore
don't bother creating the timer at init time if KVM is enabled. This
will conveniently avoid attempts to set the timeout when
cpu_mips_store_count() is called at reset with KVM enabled, treating the
timer as stopped so that CP0_Count is modified directly.

Signed-off-by: Sanjay Lal <sanjayl@kymasys.com>
[james.hogan@imgtec.com: Update after "target-mips: Reset CPU timer
consistently" which moves timer start to reset time]
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-06-18 16:57:52 +02:00
..
addr.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
cputimer.c hw/mips/cputimer: Don't start periodic timer in KVM mode 2014-06-18 16:57:52 +02:00
gt64xxx_pci.c pci-host: Consistently set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:23 +01:00
Makefile.objs hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
mips_fulong2e.c hw: use ld_p/st_p instead of ld_raw/st_raw 2014-06-05 16:04:17 +02:00
mips_int.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mips_jazz.c machine: Conversion of QEMUMachineInitArgs to MachineState 2014-05-28 17:35:01 +02:00
mips_malta.c hw: use ld_p/st_p instead of ld_raw/st_raw 2014-06-05 16:04:17 +02:00
mips_mipssim.c machine: Conversion of QEMUMachineInitArgs to MachineState 2014-05-28 17:35:01 +02:00
mips_r4k.c machine: Conversion of QEMUMachineInitArgs to MachineState 2014-05-28 17:35:01 +02:00