aboutsummaryrefslogtreecommitdiff
path: root/hw/usb
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2017-12-10 18:27:03 +0100
committerMichael S. Tsirkin <mst@redhat.com>2017-12-22 01:42:03 +0200
commit880b1ffe6ec2f0ae25cc4175716227ad275e8b8a (patch)
treeeb0c9904e1f09b56e0c556cf7518716f7c1f4fb6 /hw/usb
parentbcfdacfe2f56647d07a0093c415d43d33ee954b2 (diff)
downloadqemu-880b1ffe6ec2f0ae25cc4175716227ad275e8b8a.zip
qemu-880b1ffe6ec2f0ae25cc4175716227ad275e8b8a.tar.gz
qemu-880b1ffe6ec2f0ae25cc4175716227ad275e8b8a.tar.bz2
smbus: do not immediately complete commands
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 not set (to know that command finished) Let (c) happen, by immediately setting the busy bit, and really executing the command when status register has been read once. This fixes a problem with AMIBIOS, which can now properly initialize the PIIX4. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/usb')
0 files changed, 0 insertions, 0 deletions