From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6M3h-0003Y8-FU for qemu-devel@nongnu.org; Wed, 31 Dec 2014 11:23:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y6M3d-0001GH-FF for qemu-devel@nongnu.org; Wed, 31 Dec 2014 11:23:41 -0500 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:40391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6M3d-0001GB-7f for qemu-devel@nongnu.org; Wed, 31 Dec 2014 11:23:37 -0500 Received: by mail-we0-f173.google.com with SMTP id q58so2588915wes.32 for ; Wed, 31 Dec 2014 08:23:36 -0800 (PST) Sender: Paolo Bonzini Message-ID: <54A42304.7030909@redhat.com> Date: Wed, 31 Dec 2014 17:23:32 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1420024880-15416-1-git-send-email-lersek@redhat.com> <54A3F829.4000509@redhat.com> <54A4032A.7050808@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Laszlo Ersek Cc: Drew Jones , Gerd Hoffmann , qemu devel list , Alexander Graf On 31/12/2014 16:17, Peter Maydell wrote: > On 31 December 2014 at 14:07, Laszlo Ersek wrote: >> > Of course this also renders the issue mostly moot -- if none of us can >> > test the code on a BE host, then that use case simply doesn't exist in >> > practice. > If you can give me a test image and a command line I can test > it on one of the PPC64 boxes in the GCC compile farm. You can follow the qtest steps in the commit messages of 6c87e3d5967a1d731b5f591a8f0ee6c319c14ca8: $ arm-softmmu/qemu-system-arm -M virt -machine accel=qtest \ -qtest stdio -uuid 4600cb32-38ec-4b2f-8acb-81c6ea54f2d8 writew 0x9020008 0x0200 readl 0x9020000 The readl should return "OK 0x000000004600cb32". Paolo