We base it on the OS endian, as reflected by the endianness of the
interrupt vectors (handled through the ILE bit in the LPCR register).
This patch does two things:
- make LPCR a KVM register
- implement virtio_get_byteswap() over LPCR
Using first_cpu to fetch the registers from KVM may look
On 11.12.2013, at 16:59, Greg Kurz gk...@linux.vnet.ibm.com wrote:
We base it on the OS endian, as reflected by the endianness of the
interrupt vectors (handled through the ILE bit in the LPCR register).
This patch does two things:
- make LPCR a KVM register
- implement
On Wed, 11 Dec 2013 17:11:49 +0100
Alexander Graf ag...@suse.de wrote:
I think this patch should really go in after / with the virtio-endian
series, since as it is it would be dead code. So I'll just give you my
ack here and hope whoever gets the virtio-endianness bits in also
includes that