qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: Re: [Qemu-devel] [PATCH for-2.3 0/3] ioport fixes
Date: Tue, 31 Mar 2015 22:47:23 +0100	[thread overview]
Message-ID: <551B15EB.1080304@ilande.co.uk> (raw)
In-Reply-To: <1427715918-25768-1-git-send-email-pbonzini@redhat.com>

On 30/03/15 12:45, Paolo Bonzini wrote:

> These fix the problem with OpenBIOS's accesses to the VBE DISPI ports.
> The problem stems from weird memory regions created by ioport.c.
> 
> Patches 1-3 simplify some of the MemoryRegionPortio arrays.  This makes it
> easier to ascertain the effect of patch 6, since the patch only affects
> MemoryRegionPortio entries whose size is greater than one.
> 
> Patch 4 fixes a comment.  ioport.c is crazy enough without wrong
> documentation.
> 
> The fix is in patch 6; however it makes it possible to trigger some
> assertions in ioport.c so patch 5 is needed in order to loosen them.
> 
> Peter, if you prefer you can just revert c3c1bb99.
> 
> Paolo
> 
> Paolo Bonzini (6):
>   sb16: remove useless mixer_write_indexw
>   gus: clean up MemoryRegionPortio
>   ide: there is only one data port
>   ioport: remove wrong comment
>   ioport: loosen assertions on emulation of 16-bit ports
>   ioport: reserve the whole range of an I/O port in the AddressSpace
> 
>  hw/audio/gus.c  | 22 ++--------------------
>  hw/audio/sb16.c |  7 -------
>  hw/ide/core.c   |  4 ++--
>  ioport.c        | 30 +++++++++++++++++-------------
>  4 files changed, 21 insertions(+), 42 deletions(-)

While I can't vouch for the effects outside of qemu-system-ppc and
qemu-system-sparc64, I can confirm that this patch series fixes the VGA
VBE register accesses in my testing here. Thanks Paolo!

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


ATB,

Mark.

  parent reply	other threads:[~2015-03-31 21:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 11:45 [Qemu-devel] [PATCH for-2.3 0/3] ioport fixes Paolo Bonzini
2015-03-30 11:45 ` [Qemu-devel] [PATCH for-2.3 1/6] sb16: remove useless mixer_write_indexw Paolo Bonzini
2015-03-31 11:19   ` Andreas Färber
2015-03-31 11:21     ` Paolo Bonzini
2015-03-30 11:45 ` [Qemu-devel] [PATCH for-2.3 2/6] gus: clean up MemoryRegionPortio Paolo Bonzini
2015-03-30 11:45 ` [Qemu-devel] [PATCH for-2.3 3/6] ide: there is only one data port Paolo Bonzini
2015-03-30 11:45 ` [Qemu-devel] [PATCH for-2.3 4/6] ioport: remove wrong comment Paolo Bonzini
2015-03-30 11:45 ` [Qemu-devel] [PATCH for-2.3 5/6] ioport: loosen assertions on emulation of 16-bit ports Paolo Bonzini
2015-03-30 11:45 ` [Qemu-devel] [PATCH for-2.3 6/6] ioport: reserve the whole range of an I/O port in the AddressSpace Paolo Bonzini
2015-03-31 21:47 ` Mark Cave-Ayland [this message]
2015-04-01  9:10 ` [Qemu-devel] [PATCH for-2.3 0/3] ioport fixes Peter Maydell
2015-04-01  9:22   ` Paolo Bonzini

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=551B15EB.1080304@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).