From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx2cf-0000VU-Ia for qemu-devel@nongnu.org; Tue, 17 Jun 2014 19:17:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wx2cX-0003ZL-ET for qemu-devel@nongnu.org; Tue, 17 Jun 2014 19:17:01 -0400 Received: from gate.crashing.org ([63.228.1.57]:43188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wx2cX-0003Yi-5Q for qemu-devel@nongnu.org; Tue, 17 Jun 2014 19:16:53 -0400 Message-ID: <1403047005.7661.181.camel@pasglop> From: Benjamin Herrenschmidt Date: Wed, 18 Jun 2014 09:16:45 +1000 In-Reply-To: <53A0C99E.4020101@suse.de> References: <1402974463.7661.102.camel@pasglop> <1403001900.1614.10.camel@nilsson.home.kraxel.org> <1403003721.7661.148.camel@pasglop> <1403006267.1614.14.camel@nilsson.home.kraxel.org> <1403040734.7661.173.camel@pasglop> <1403045714.7661.179.camel@pasglop> <53A0C99E.4020101@suse.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] qemu VGA endian swap low level drawing changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Alexey Kardashevskiy , Peter Maydell , "qemu-devel@nongnu.org" , Gerd Hoffmann , Paolo Bonzini On Wed, 2014-06-18 at 01:05 +0200, Alexander Graf wrote: > Given that, the prerequisite to that interface is to have a guest > exposed register to flip the endianness in the first place. I think it > makes most sense to settle on that register first, then talk about > potential backwards compat hacks that we could do on hypercalls with > that register. > > Of course, the side effect that H_SET_MODE(LE) flips the VGA endianness > needs to be documented in sPAPR as well if we want to go down that path. > sPAPR is the hypercall specification we implement with -M pseries. Yeah well, let's first get the base code done as discussed with Gerd with the register, and we can keep that "optimization" separate and talk again about it later. I'll come up with patches in the next few days. Cheers, Ben.