Re: [PATCH 1/2] target/ppc: Introduce ppc_interrupts_little_endian()

2021-06-22 Thread Fabiano Rosas
Greg Kurz writes: > PowerPC CPUs use big endian by default but starting with POWER7, > server grade CPUs use the ILE bit of the LPCR special purpose > register to decide on the endianness to use when handling > interrupts. This gives a clue to QEMU on the endianness the > guest kernel is

[PATCH 1/2] target/ppc: Introduce ppc_interrupts_little_endian()

2021-06-22 Thread Greg Kurz
PowerPC CPUs use big endian by default but starting with POWER7, server grade CPUs use the ILE bit of the LPCR special purpose register to decide on the endianness to use when handling interrupts. This gives a clue to QEMU on the endianness the guest kernel is running, which is needed when