Re: [Qemu-devel] [PATCH v4 11/15] memory: Single byte swap along the I/O path

2019-07-25 Thread Philippe Mathieu-Daudé
On 7/25/19 11:56 AM, tony.ngu...@bt.com wrote: > Now that MemOp has been pushed down into the memory API, we can > collapse the two byte swaps adjust_endianness and handle_bswap into > the former. Nice cleanup :) > > Collapsing byte swaps along the I/O path enables additional endian > inversion

[Qemu-devel] [PATCH v4 11/15] memory: Single byte swap along the I/O path

2019-07-25 Thread tony.nguyen
Now that MemOp has been pushed down into the memory API, we can collapse the two byte swaps adjust_endianness and handle_bswap into the former. Collapsing byte swaps along the I/O path enables additional endian inversion logic, e.g. SPARC64 Invert Endian TTE bit, with redundant byte swaps cancelli

[Qemu-devel] [PATCH v4 11/15] memory: Single byte swap along the I/O path

2019-07-25 Thread tony.nguyen
Now that MemOp has been pushed down into the memory API, we can collapse the two byte swaps adjust_endianness and handle_bswap into the former. Collapsing byte swaps along the I/O path enables additional endian inversion logic, e.g. SPARC64 Invert Endian TTE bit, with redundant byte swaps cancelli