Re: [Qemu-devel] [PATCH] smbus: do not immediately complete commands

2017-12-15 Thread Philippe Mathieu-Daudé
On 12/10/2017 02:27 PM, Hervé Poussineau wrote: > PIIX4 errata says that "immediate polling of the Host Status Register BUSY > bit may indicate that the SMBus is NOT busy." > Due to this, some code does the following steps: > (a) set parameters > (b) start command > (c) check for smbus busy bit set

[Qemu-devel] [PATCH] smbus: do not immediately complete commands

2017-12-10 Thread Hervé Poussineau
PIIX4 errata says that "immediate polling of the Host Status Register BUSY bit may indicate that the SMBus is NOT busy." Due to this, some code does the following steps: (a) set parameters (b) start command (c) check for smbus busy bit set (to know that command started) (d) check for smbus busy bit

[Qemu-devel] [PATCH] smbus: do not immediately complete commands

2013-12-30 Thread Hervé Poussineau
PIIX4 errata says that "immediate polling of the Host Status Register BUSY bit may indicate that the SMBus is NOT busy." This fixes some code which does the following steps: (a) set parameters (b) start command (c) check for smbus busy bit set (to know that command started) (d) check for smbus bus