[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ehgijkjo.fsf@rustcorp.com.au>
Date: Fri, 15 Feb 2013 14:27:47 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Pawel Moll <pawel.moll@....com>
Cc: "Michael S. Tsirkin" <mst@...hat.com>,
Marc Zyngier <Marc.Zyngier@....com>,
linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
Pawel Moll <pawel.moll@....com>
Subject: Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE
Pawel Moll <pawel.moll@....com> writes:
> To solve the never-ending confusions between hosts and guests
> of different endianess, define all virtio-mmio registers as LE.
>
> This change should be safe at this stage, because no known
> working mixed-endian system exists so there is virtually no
> risk of breaking compatibility.
>
> Signed-off-by: Pawel Moll <pawel.moll@....com>
Applied. We could also move device configuration space to LE, if we
wanted. It's a bigger change to the Linux implementation, since we now
need accessors for each width, but it might be a good idea. OTOH,
getting such a change into qemu might be harder...
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists