* [Qemu-devel] [PULL 0/1] Ide patches
@ 2017-02-10 16:48 John Snow
2017-02-10 16:48 ` [Qemu-devel] [PULL 1/1] ahci: advertise HOST_CAP_64 John Snow
2017-02-10 17:49 ` [Qemu-devel] [PULL 0/1] Ide patches Peter Maydell
0 siblings, 2 replies; 5+ messages in thread
From: John Snow @ 2017-02-10 16:48 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell, jsnow
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(-)
--
2.9.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] [PULL 1/1] ahci: advertise HOST_CAP_64
2017-02-10 16:48 [Qemu-devel] [PULL 0/1] Ide patches John Snow
@ 2017-02-10 16:48 ` John Snow
2017-02-10 17:49 ` [Qemu-devel] [PULL 0/1] Ide patches Peter Maydell
1 sibling, 0 replies; 5+ messages in thread
From: John Snow @ 2017-02-10 16:48 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell, jsnow, Ladi Prosek
From: Ladi Prosek <lprosek@redhat.com>
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.]
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Message-id: 1484305370-6220-1-git-send-email-lprosek@redhat.com
[Amended commit message --js]
Signed-off-by: John Snow <jsnow@redhat.com>
---
hw/ide/ahci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index 3c19bda..6a17acf 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
@@ -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;
--
2.9.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] Ide patches
2017-02-10 16:48 [Qemu-devel] [PULL 0/1] Ide patches John Snow
2017-02-10 16:48 ` [Qemu-devel] [PULL 1/1] ahci: advertise HOST_CAP_64 John Snow
@ 2017-02-10 17:49 ` Peter Maydell
2017-02-10 18:46 ` John Snow
1 sibling, 1 reply; 5+ messages in thread
From: Peter Maydell @ 2017-02-10 17:49 UTC (permalink / raw)
To: John Snow; +Cc: QEMU Developers
On 10 February 2017 at 16:48, John Snow <jsnow@redhat.com> wrote:
> 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)
>
> ----------------------------------------------------------------
>
> ----------------------------------------------------------------
gpg: Signature made Fri 10 Feb 2017 16:47:54 GMT
gpg: using RSA key 0x7DEF8106AAFC390E
gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>"
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] Ide patches
2017-02-10 17:49 ` [Qemu-devel] [PULL 0/1] Ide patches Peter Maydell
@ 2017-02-10 18:46 ` John Snow
2017-02-10 18:54 ` Peter Maydell
0 siblings, 1 reply; 5+ messages in thread
From: John Snow @ 2017-02-10 18:46 UTC (permalink / raw)
To: Peter Maydell; +Cc: QEMU Developers, Ladi Prosek
On 02/10/2017 12:49 PM, Peter Maydell wrote:
> On 10 February 2017 at 16:48, John Snow <jsnow@redhat.com> wrote:
>> 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)
>>
>> ----------------------------------------------------------------
>>
>> ----------------------------------------------------------------
>
> gpg: Signature made Fri 10 Feb 2017 16:47:54 GMT
> gpg: using RSA key 0x7DEF8106AAFC390E
> gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>"
> 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
>
[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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] Ide patches
2017-02-10 18:46 ` John Snow
@ 2017-02-10 18:54 ` Peter Maydell
0 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2017-02-10 18:54 UTC (permalink / raw)
To: John Snow; +Cc: QEMU Developers, Ladi Prosek
On 10 February 2017 at 18:46, John Snow <jsnow@redhat.com> wrote:
>
>
> On 02/10/2017 12:49 PM, Peter Maydell wrote:
>> On 10 February 2017 at 16:48, John Snow <jsnow@redhat.com> wrote:
>>> 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)
>>>
>>> ----------------------------------------------------------------
>>>
>>> ----------------------------------------------------------------
>>
>> gpg: Signature made Fri 10 Feb 2017 16:47:54 GMT
>> gpg: using RSA key 0x7DEF8106AAFC390E
>> gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>"
>> 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
>>
>
> [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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-02-10 18:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10 16:48 [Qemu-devel] [PULL 0/1] Ide patches John Snow
2017-02-10 16:48 ` [Qemu-devel] [PULL 1/1] ahci: advertise HOST_CAP_64 John Snow
2017-02-10 17:49 ` [Qemu-devel] [PULL 0/1] Ide patches Peter Maydell
2017-02-10 18:46 ` John Snow
2017-02-10 18:54 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).