From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [PATCH 0/3] virtio-mmio: handle BE guests on LE hosts Date: Mon, 14 Oct 2013 13:36:12 +0100 Message-ID: <525BE53C.6010100@arm.com> References: <1381502171-8187-1-git-send-email-marc.zyngier@arm.com> <87d2n88dps.fsf@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Cc: "linux-arm-kernel@lists.infradead.org" , "kvmarm@lists.cs.columbia.edu" , "kvm@vger.kernel.org" , "Michael S. Tsirkin" , Pawel Moll To: Rusty Russell Return-path: Received: from service87.mimecast.com ([91.220.42.44]:59502 "EHLO service87.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755914Ab3JNMgQ convert rfc822-to-8bit (ORCPT ); Mon, 14 Oct 2013 08:36:16 -0400 In-Reply-To: <87d2n88dps.fsf@rustcorp.com.au> Sender: kvm-owner@vger.kernel.org List-ID: On 14/10/13 09:21, Rusty Russell wrote: > Marc Zyngier writes: >> This small patch series adds just enough kernel infrastructure and >> fixes to allow a BE guest to use virtio-mmio on a LE host, provided >> that the host actually supports such madness. >> >> This has been tested on arm64, with some fixes to KVM and a set of >> changes to kvmtool, both which I am posting separately. > > OK, so I already have a patch which supports config space accessors. > I've posted the series below, and since you want it, I'll put it in > virtio-next after more testing and rebasing... Yes, that's definitely something I'd like to see being merged, as it would allow me to drop a significant chunk of changes. > But we won't be using feature bits for endianness, since we're defining > endian in the 1.0 spec (whether LE-everywhere or LE-for-mmio-and-PCI is > still debated). Since we need to guess for backwards compat anyway, > let's keep doing this until v1.0? When is 1.0 going to happen? When will actual implementation of drivers and devices show up in my favourite platform emulation? Having a grand plan for the future is great, but I need something working right now, or at least fairly soonish... And I need it to be backward compatible, as none of the above is going to show up overnight. > (Yeah, I made this mess with "native endian". I promise I have learnt > my lesson). Paracetamol bill coming you way... ;-) M. -- Jazz is not dead. It just smells funny...