From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Anthony Perard <anthony.perard@citrix.com>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
qemu-devel@nongnu.org, qemu-stable@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] memory: fix limiting of translation at a page boundary
Date: Fri, 07 Feb 2014 14:30:38 +0000 [thread overview]
Message-ID: <52F4EE0E.8080906@ilande.co.uk> (raw)
In-Reply-To: <1391730002-18073-1-git-send-email-pbonzini@redhat.com>
On 06/02/14 23:40, 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<mark.cave-ayland@ilande.co.uk>
> Tested-by: Anthony Perard<anthony.perard@citrix.com>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
Hi Paolo,
Unfortunately I've just tested this patch on qemu-system-ppc and it
still doesn't fix the issue for me :( This is with current git master
bc1c7 plus your patch applied.
The symptoms haven't changed in that the VGA output stays black and
doesn't resize, again implying that the VGA VBE calls aren't working. If
it helps, the OpenBIOS VGA driver vga.fs can be found at
http://git.qemu.org/?p=openbios.git;a=blob;f=drivers/vga.fs;h=ec4c6c5f10ea2c4c784c3c6888c3805ec3b14496;hb=888126272f92294b0da45158393f1b862742cf6b.
ATB,
Mark.
prev parent reply other threads:[~2014-02-07 14:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 23:40 [Qemu-devel] [PATCH] memory: fix limiting of translation at a page boundary Paolo Bonzini
2014-02-07 14:30 ` Mark Cave-Ayland [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52F4EE0E.8080906@ilande.co.uk \
--to=mark.cave-ayland@ilande.co.uk \
--cc=anthony.perard@citrix.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
--cc=stefano.stabellini@citrix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.