Ide patches
The following changes since commit 61eedf7aec0e2395aabd628cc055096909a3ea15:
tests/prom-env: Ease time-out problems on slow hosts (2017-02-10 15:44:53 +0000)
are available in the git repository at:
https://github.com/jnsnow/qemu.git tags/ide-pull-request
for you to fetch changes up to 98cb5dccb192b0082626080890dac413473573c6:
ahci: advertise HOST_CAP_64 (2017-02-10 11:47:11 -0500)
----------------------------------------------------------------
----------------------------------------------------------------
Ladi Prosek (1):
ahci: advertise HOST_CAP_64
hw/ide/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 1/1] ahci: advertise HOST_CAP_64
From: Ladi Prosek <[email protected]>
The AHCI emulation code supports 64-bit addressing and should advertise this fact in the Host Capabilities register. Both Linux and Windows drivers test this bit to decide if the upper 32 bits of various registers may be written to, and at least some versions of Windows have a bug where DMA is attempted with an address above 4GB but, in the absence of HOST_CAP_64, the upper 32 bits are left unititialized which leads to a memory corruption.
[Maintainer edit:
This fixes https://bugzilla.redhat.com/show_bug.cgi?id=1411105,
which affects Windows Server 2008 SP2 in some cases.]
Message-id: [email protected]
--- hw/ide/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ide/ahci.c +1 -1
@@ -488,7 +488,7 @@ static void ahci_reg_init(AHCIState *s) s->control_regs.cap = (s->ports -1 ) | (AHCI_NUM_COMMAND_SLOTS <<8 ) | (AHCI_SUPPORTED_SPEED_GEN1 <<AHCI_SUPPORTED_SPEED ) | -HOST_CAP_NCQ |HOST_CAP_AHCI ; +HOST_CAP_NCQ |HOST_CAP_AHCI |HOST_CAP_64 ; s->control_regs.impl = (1 << s->ports) -1 ;
Signature · 1 line
2.9.3
Quoted 8 lines · John Snow
The following changes since commit
61eedf7aec0e2395aabd628cc055096909a3ea15:tests/prom-env: Ease time-out problems on slow hosts (2017-02-10 15:44:53 +0000)
are available in the git repository at:
https://github.com/jnsnow/qemu.git tags/ide-pull-request
Quoted 7 lines
for you to fetch changes up to
98cb5dccb192b0082626080890dac413473573c6:ahci: advertise
HOST_CAP_64(2017-02-10 11:47:11 -0500)----------------------------------------------------------------
----------------------------------------------------------------
gpg: Signature made Fri 10 Feb 2017 16:47:54 GMT
gpg: using RSA key 0x7DEF8106AAFC390E
gpg: Good signature from "John Snow (John Huston) <[email protected]>"
gpg: Note: This key has expired!
Primary key fingerprint: FAEB 9711 A12C F475 812F 18F2 88A9 064D 1835 61EB
Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76 CBD0 7DEF 8106 AAFC 390E
...?
thanks
-- PMM
Quoted 24 lines · Peter Maydell
Quoted 8 lines · John Snow
The following changes since commit
61eedf7aec0e2395aabd628cc055096909a3ea15:tests/prom-env: Ease time-out problems on slow hosts (2017-02-10 15:44:53 +0000)
are available in the git repository at:
https://github.com/jnsnow/qemu.git tags/ide-pull-request
Quoted 7 lines
for you to fetch changes up to
98cb5dccb192b0082626080890dac413473573c6:ahci: advertise
HOST_CAP_64(2017-02-10 11:47:11 -0500)----------------------------------------------------------------
----------------------------------------------------------------
gpg: Signature made Fri 10 Feb 2017 16:47:54 GMT
gpg: using RSA key0x7DEF8106AAFC390E
gpg: Good signature from "John Snow (John Huston) <[email protected]>"
gpg: Note: This key has expired!
Primary key fingerprint: FAEB 9711 A12C F475 812F 18F2 88A9 064D 1835 61EB
Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76 CBD0 7DEF 8106 AAFC 390E
Quoted 5 lines
...?
thanks
-- PMM
[Discussed on IRC, but for the benefit of list archives;]
My key expired after the holidays, but I've redone the expiry and re-pushed to public keyservers. Please refresh from the public keys list and let me know if you have further problems.
Thanks,
--John
Quoted 33 lines · John Snow
Quoted 24 lines · Peter Maydell
Quoted 8 lines · John Snow
The following changes since commit
61eedf7aec0e2395aabd628cc055096909a3ea15:tests/prom-env: Ease time-out problems on slow hosts (2017-02-10 15:44:53 +0000)
are available in the git repository at:
https://github.com/jnsnow/qemu.git tags/ide-pull-request
Quoted 7 lines
for you to fetch changes up to
98cb5dccb192b0082626080890dac413473573c6:ahci: advertise
HOST_CAP_64(2017-02-10 11:47:11 -0500)----------------------------------------------------------------
----------------------------------------------------------------
gpg: Signature made Fri 10 Feb 2017 16:47:54 GMT
gpg: using RSA key0x7DEF8106AAFC390E
gpg: Good signature from "John Snow (John Huston) <[email protected]>"
gpg: Note: This key has expired!
Primary key fingerprint: FAEB 9711 A12C F475 812F 18F2 88A9 064D 1835 61EB
Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76 CBD0 7DEF 8106 AAFC 390EQuoted 5 lines
...?
thanks
-- PMM
Quoted 5 lines
[Discussed on IRC, but for the benefit of list archives;]
My key expired after the holidays, but I've redone the expiry and re-pushed to public keyservers. Please refresh from the public keys list and let me know if you have further problems.
Yep, I refreshed the key and have now applied this to master.
thanks
-- PMM