ahci: Force ICC bits in PxCMD to zero
authorStefan Fritsch <sf@sfritsch.de>
Mon, 20 Jul 2015 16:21:18 +0000 (12:21 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 20 Jul 2015 16:21:18 +0000 (12:21 -0400)
commit09b61db7c140c5a71bfde36614c5a1f4f0d382a6
treecf7ee0a40a6fb56313e4f2b34e3ffd172e4a0c02
parent58732810230719765a6618004be8f0070c9f3d31
ahci: Force ICC bits in PxCMD to zero

The AHCI spec requires that the HBA sets the ICC bits to zero after the
ICC change is done. Since we don't do any ICC change, force the bits to
zero all the time.

This fixes delays with some OSs (e.g. OpenBSD) waiting for the ICC bits
to change to 0.

Signed-off-by: Stefan Fritsch <sf@sfritsch.de>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: E1ZFpg7-00027N-HW@eru.sfritsch.de
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/ahci.c