From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVxql-000462-9t for qemu-devel@nongnu.org; Tue, 15 Oct 2013 02:11:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVxqf-0000r0-4q for qemu-devel@nongnu.org; Tue, 15 Oct 2013 02:11:23 -0400 From: Rusty Russell In-Reply-To: <20131007152344.26996.16447.stgit@bahia.local> References: <20131007152327.26996.50016.stgit@bahia.local> <20131007152344.26996.16447.stgit@bahia.local> Date: Tue, 15 Oct 2013 12:19:49 +1030 Message-ID: <871u3nb8w2.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 2/2] virtio: refresh registers at reset time List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Kurz , Alexander Graf Cc: qemu-ppc@nongnu.org, Paul Mackerras , qemu-devel@nongnu.org Greg Kurz writes: > We need to support the guest endianness as soon as a virtio device shows > up. Alex suggested this can achieved by calling cpu_synchronize_state(). > > To have it working on PowerPC, we need to add LPCR in the sync register > functions. > > Signed-off-by: Greg Kurz Excellent! Alex, if you take this, I'll be happy to rebase and re-test the virtio endianness patches on top. Cheers, Rusty.