Re: [Qemu-devel] How to implement different endian accesses per MMU page?

2017-11-01 Thread Mark Cave-Ayland
On 15/08/17 19:10, Richard Henderson wrote: > [CC Peter re MemTxAttrs below] > > On 08/15/2017 09:38 AM, Mark Cave-Ayland wrote: >> Working through an incorrect endian issue on qemu-system-sparc64, it has >> become apparent that at least one OS makes use of the IE (Invert Endian) >> bit in the SP

Re: [Qemu-devel] How to implement different endian accesses per MMU page?

2017-08-15 Thread Richard Henderson
[CC Peter re MemTxAttrs below] On 08/15/2017 09:38 AM, Mark Cave-Ayland wrote: > Working through an incorrect endian issue on qemu-system-sparc64, it has > become apparent that at least one OS makes use of the IE (Invert Endian) > bit in the SPARCv9 MMU TTE to map PCI memory space without the > pr

[Qemu-devel] How to implement different endian accesses per MMU page?

2017-08-15 Thread Mark Cave-Ayland
Hi all, Working through an incorrect endian issue on qemu-system-sparc64, it has become apparent that at least one OS makes use of the IE (Invert Endian) bit in the SPARCv9 MMU TTE to map PCI memory space without the programmer having to manually endian-swap accesses. In other words, to quote the