Re: [Qemu-devel] [PATCH v2 1/4] ahci: Do not ignore memory access read size

2015-06-16 Thread John Snow
On 06/16/2015 12:25 PM, Eric Blake wrote: > On 06/16/2015 10:02 AM, John Snow wrote: >> The only guidance the AHCI specification gives on memory access >> is: "Register accesses shall have a maximum size of 64-bits; >> 64-bit access must not cross an 8-byte alignment boundary." >> >> I interpret

Re: [Qemu-devel] [PATCH v2 1/4] ahci: Do not ignore memory access read size

2015-06-16 Thread Eric Blake
On 06/16/2015 10:02 AM, John Snow wrote: > The only guidance the AHCI specification gives on memory access is: > "Register accesses shall have a maximum size of 64-bits; 64-bit access > must not cross an 8-byte alignment boundary." > > I interpret this to mean that aligned or unaligned 1, 2 and 4

[Qemu-devel] [PATCH v2 1/4] ahci: Do not ignore memory access read size

2015-06-16 Thread John Snow
The only guidance the AHCI specification gives on memory access is: "Register accesses shall have a maximum size of 64-bits; 64-bit access must not cross an 8-byte alignment boundary." I interpret this to mean that aligned or unaligned 1, 2 and 4 byte accesses should work, as well as aligned 8 byt