qemu/hw/misc/macio
Mark Cave-Ayland d6c666ad81 cuda: decrease time delay before raising VIA SR interrupt and remove fast path
In order to handle a race condition in the MacOS 9 CUDA driver, a
delay was introduced when raising the VIA SR interrupt inspired by
similar code in MacOnLinux.

During original testing of the MacOS 9 patches it was found that the
30us delay used in MacOnLinux did not work reliably within QEMU, and a
value of 300us was required to function correctly.

Recent experiments have shown two things: firstly when booting Linux,
MacOS 9 and MacOS X the fast path which bypasses the delay is never
triggered once the OS kernel is loaded making it effectively
useless. Rather than leave this code in place where a guest could
potentially enable it by accident and break itself, we might as well
just remove it.

Secondly the previous reliability issues are no longer present, and
this value can be reduced down to 20us with no apparent ill
effects. This has the benefit of considerably improving the
responsiveness of the ADB keyboard and mouse within the guest.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-02-17 21:54:02 +11:00
..
cuda.c cuda: decrease time delay before raising VIA SR interrupt and remove fast path 2019-02-17 21:54:02 +11:00
gpio.c mac_newworld: wire up programmer switch to NMI handler 2018-06-16 16:32:33 +10:00
mac_dbdma.c trivial: Don't include isa.h if it is not really necessary 2019-01-09 11:24:35 +01:00
macio.c macio: add addr property to macio IDE object 2018-08-30 10:42:18 +10:00
Makefile.objs mac_newworld: add PMU device 2018-06-16 16:32:33 +10:00
pmu.c macio/pmu: Fix missing vmsd terminator 2018-11-08 12:04:40 +11:00
trace-events mac_newworld: add PMU device 2018-06-16 16:32:33 +10:00