Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-06 Thread Rusty Russell
Pawel Moll writes: > On Tue, 2013-03-05 at 00:11 +, Rusty Russell wrote: >> Pawel Moll writes: >> > On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: >> >> > Having said that, Rusty was contemplating enforcing LE config space in >> >> > the new PCI layout... >> >> >> >> I wouldn't

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-06 Thread Pawel Moll
On Tue, 2013-03-05 at 00:11 +, Rusty Russell wrote: > Pawel Moll writes: > > On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: > >> > Having said that, Rusty was contemplating enforcing LE config space in > >> > the new PCI layout... > >> > >> I wouldn't complain about that, and would

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-06 Thread Pawel Moll
On Tue, 2013-03-05 at 00:11 +, Rusty Russell wrote: Pawel Moll pawel.m...@arm.com writes: On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: Having said that, Rusty was contemplating enforcing LE config space in the new PCI layout... I wouldn't complain about that, and would

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-06 Thread Rusty Russell
Pawel Moll pawel.m...@arm.com writes: On Tue, 2013-03-05 at 00:11 +, Rusty Russell wrote: Pawel Moll pawel.m...@arm.com writes: On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: Having said that, Rusty was contemplating enforcing LE config space in the new PCI layout... I

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-04 Thread Rusty Russell
Pawel Moll writes: > On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: >> > Having said that, Rusty was contemplating enforcing LE config space in >> > the new PCI layout... >> >> I wouldn't complain about that, and would like to see a similar thing on >> MMIO. > > Wherever PCI goes, MMIO

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-04 Thread Rusty Russell
Pawel Moll pawel.m...@arm.com writes: On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: Having said that, Rusty was contemplating enforcing LE config space in the new PCI layout... I wouldn't complain about that, and would like to see a similar thing on MMIO. Wherever PCI goes,

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Marc Zyngier
On 01/03/13 12:37, Pawel Moll wrote: > On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: >>> Having said that, Rusty was contemplating enforcing LE config space in >>> the new PCI layout... >> >> I wouldn't complain about that, and would like to see a similar thing on >> MMIO. > > Wherever

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Pawel Moll
On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: > > Having said that, Rusty was contemplating enforcing LE config space in > > the new PCI layout... > > I wouldn't complain about that, and would like to see a similar thing on > MMIO. Wherever PCI goes, MMIO follows :-) > Well, it was

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Marc Zyngier
On 01/03/13 10:50, Pawel Moll wrote: > On Fri, 2013-03-01 at 10:41 +, Marc Zyngier wrote: >> On 14/02/13 10:54, Pawel Moll wrote: >>> To solve the never-ending confusions between hosts and guests >>> of different endianess, define all virtio-mmio registers as LE. >>> >>> This change should be

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Pawel Moll
On Fri, 2013-03-01 at 10:41 +, Marc Zyngier wrote: > On 14/02/13 10:54, Pawel Moll wrote: > > 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 >

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Marc Zyngier
On 14/02/13 10:54, Pawel Moll wrote: > 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 >

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Marc Zyngier
On 14/02/13 10:54, Pawel Moll wrote: 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

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Pawel Moll
On Fri, 2013-03-01 at 10:41 +, Marc Zyngier wrote: On 14/02/13 10:54, Pawel Moll wrote: 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

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Marc Zyngier
On 01/03/13 10:50, Pawel Moll wrote: On Fri, 2013-03-01 at 10:41 +, Marc Zyngier wrote: On 14/02/13 10:54, Pawel Moll wrote: 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

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Pawel Moll
On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: Having said that, Rusty was contemplating enforcing LE config space in the new PCI layout... I wouldn't complain about that, and would like to see a similar thing on MMIO. Wherever PCI goes, MMIO follows :-) Well, it was unclear

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Marc Zyngier
On 01/03/13 12:37, Pawel Moll wrote: On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: Having said that, Rusty was contemplating enforcing LE config space in the new PCI layout... I wouldn't complain about that, and would like to see a similar thing on MMIO. Wherever PCI goes, MMIO

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-02-14 Thread Rusty Russell
Pawel Moll 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

[PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-02-14 Thread Pawel Moll
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:

[PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-02-14 Thread Pawel Moll
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:

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-02-14 Thread Rusty Russell
Pawel Moll pawel.m...@arm.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