qemu/hw/misc
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
..
macio cuda: decrease time delay before raising VIA SR interrupt and remove fast path 2019-02-17 21:54:02 +11:00
a9scu.c
applesmc.c
arm11scu.c
arm_integrator_debug.c
arm_l2x0.c
arm_sysctl.c
armsse-cpuid.c hw/misc/armsse-cpuid: Implement SSE-200 CPU_IDENTITY register block 2019-02-01 14:55:43 +00:00
aspeed_scu.c
aspeed_sdmc.c aspeed: add a max_ram_size property to the memory controller 2018-08-16 14:29:58 +01:00
auxbus.c
bcm2835_mbox.c
bcm2835_property.c hw/display/bcm2835_fb: Validate config settings 2018-08-24 13:17:50 +01:00
bcm2835_rng.c
cbus.c
debugexit.c hw: debugexit: add read callback 2018-10-02 19:09:03 +02:00
eccmemctl.c
edu.c hw: edu: set category of the edu device 2019-01-30 10:16:00 +01:00
exynos4210_clk.c
exynos4210_pmu.c
exynos4210_rng.c
imx2_wdt.c
imx6_ccm.c
imx6_src.c
imx6ul_ccm.c i.MX6UL: Add i.MX6UL specific CCM device 2018-08-16 14:05:28 +01:00
imx7_ccm.c
imx7_gpr.c
imx7_snvs.c
imx25_ccm.c
imx31_ccm.c
imx_ccm.c
iotkit-secctl.c hw/misc/iotkit-secctl: Support 4 internal MPCs 2019-02-01 14:55:42 +00:00
iotkit-sysctl.c hw/misc/iotkit-sysctl: Implement IoTKit system control element 2018-08-24 13:17:42 +01:00
iotkit-sysinfo.c iotkit-sysinfo: Make SYS_VERSION and SYS_CONFIG configurable 2019-02-01 14:55:42 +00:00
ivshmem.c hw/misc/ivshmem: Remove deprecated "ivshmem" legacy device 2019-01-14 19:31:04 -05:00
Makefile.objs hw/misc/armsse-cpuid: Implement SSE-200 CPU_IDENTITY register block 2019-02-01 14:55:43 +00:00
max111x.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
milkymist-hpdmc.c milkymist-hpdmc: Convert sysbus init function to realize function 2018-12-13 13:47:59 +00:00
milkymist-pfpu.c milkymist-pfpu: Convert sysbus init function to realize function 2018-12-13 13:47:59 +00:00
mips_cmgcr.c
mips_cpc.c hw/mips_cpc: kick a VP when putting it into Run statewq 2019-02-14 17:47:28 +01:00
mips_itu.c target/mips: Update ITU to handle bus errors 2019-01-18 16:53:28 +01:00
mos6522.c
mps2-fpgaio.c hw/misc/mps2-fpgaio: Implement PSCNTR and COUNTER 2018-08-24 13:17:40 +01:00
mps2-scc.c
msf2-sysreg.c
mst_fpga.c
nrf51_rng.c hw/misc/nrf51_rng: Add NRF51 random number generator peripheral 2019-01-07 15:23:47 +00:00
omap_clk.c
omap_gpmc.c
omap_l4.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
omap_sdrc.c
omap_tap.c
pc-testdev.c pc-testdev: use HTTPS git URL 2018-11-12 11:26:02 +00:00
pca9552.c
pci-testdev.c pci-testdev: add optional memory bar 2018-11-05 13:24:02 -05:00
puv3_pm.c puv3_pm.c: Convert sysbus init function to realize function 2018-12-13 13:48:00 +00:00
pvpanic.c check: Only test pvpanic when it is compiled in 2018-08-21 19:52:16 +02:00
sga.c
slavio_misc.c
stm32f2xx_syscfg.c
tmp105.c misc: Avoid UTF-8 in error messages 2018-12-11 18:28:46 +01:00
tmp105.h
tmp421.c misc: Avoid UTF-8 in error messages 2018-12-11 18:28:46 +01:00
trace-events hw/misc/armsse-cpuid: Implement SSE-200 CPU_IDENTITY register block 2019-02-01 14:55:43 +00:00
tz-mpc.c hw/misc/tz-mpc: Fix value of BLK_MAX register 2019-01-07 15:23:48 +00:00
tz-msc.c hw/misc/tz-msc: Model TrustZone Master Security Controller 2018-08-24 13:17:43 +01:00
tz-ppc.c
unimp.c
vmcoreinfo.c fw_cfg: import & use linux/qemu_fw_cfg.h 2018-08-23 18:46:25 +02:00
zynq_slcr.c
zynq-xadc.c