Received: from eggs.gnu.org ([2001:4830:134:3::10]:60296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBoIX-0002YQ-QY for qemu-devel@nongnu.org; Fri, 07 Feb 2014 11:29:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBoIR-0008Ic-Pd for qemu-devel@nongnu.org; Fri, 07 Feb 2014 11:29:01 -0500 Message-ID: <52F5094F.3070904@ilande.co.uk> Date: Fri, 07 Feb 2014 16:26:55 +0000 From: Mark Cave-Ayland MIME-Version: 1.0 References: <1391784466-28771-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1391784466-28771-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] memory: fix limiting of translation at a page boundary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Anthony Perard , Stefano Stabellini , qemu-devel@nongnu.org, qemu-stable@nongnu.org On 07/02/14 14:47, Paolo Bonzini wrote: > Commit 360e607 (address_space_translate: do not cross page boundaries, > 2014-01-30) broke MMIO accesses in cases where the section is shorter > than the full register width. This can happen for example with the > Bochs DISPI registers, which are 16 bits wide but have only a 1-byte > long MemoryRegion (if you write to the "second byte" of the register > your access is discarded; it doesn't write only to half of the register). > > Restrict the action of commit 360e607 to direct RAM accesses. This > is enough for Xen, since MMIO will not go through the mapcache. > > Reported-by: Mark Cave-Ayland > Cc: qemu-stable@nongnu.org > Signed-off-by: Paolo Bonzini Hi Paolo, Thanks for this - I can confirm that v2 fixes the qemu-system-ppc VGA issue for me :) Tested-by: Mark Cave-Ayland ATB, Mark.