Re: [Qemu-devel] [PATCH] cuda: decrease time delay before raising VIA SR interrupt

2019-02-11 Thread Mark Cave-Ayland
On 11/02/2019 23:35, Philippe Mathieu-Daudé wrote: > Hi Mark, > > On 2/10/19 6:44 PM, Mark Cave-Ayland wrote: >> In order to handle a race condition in MacOS 9, a delay was introduced when >> raising the VIA SR interrupt inspired by similar code in MacOnLinux. >> >> During original testing of the

Re: [Qemu-devel] [PATCH] cuda: decrease time delay before raising VIA SR interrupt

2019-02-11 Thread Philippe Mathieu-Daudé
Hi Mark, On 2/10/19 6:44 PM, Mark Cave-Ayland wrote: > In order to handle a race condition in MacOS 9, 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 M

Re: [Qemu-devel] [PATCH] cuda: decrease time delay before raising VIA SR interrupt

2019-02-10 Thread David Gibson
On Sun, Feb 10, 2019 at 05:44:21PM +, Mark Cave-Ayland wrote: > In order to handle a race condition in MacOS 9, 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 > del

[Qemu-devel] [PATCH] cuda: decrease time delay before raising VIA SR interrupt

2019-02-10 Thread Mark Cave-Ayland
In order to handle a race condition in MacOS 9, 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 300u