All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: peter.maydell@linaro.org, marcel.a@redhat.com,
	jan.kiszka@siemens.com, edk2-devel@lists.sourceforge.net,
	qemu-devel@nongnu.org, mst@redhat.com, anthony@codemonkey.ws,
	pbonzini@redhat.com, jljusten@gmail.com, afaerber@suse.de,
	rth@twiddle.net
Subject: Re: [Qemu-devel] [PATCH 0/2] Re: exec: fix regression by making system-memory region UINT64_MAX size
Date: Fri, 8 Nov 2013 17:37:44 +0100	[thread overview]
Message-ID: <20131108173744.1ab160d3@thinkpad> (raw)
In-Reply-To: <1383863039-18875-1-git-send-email-lersek@redhat.com>

On Thu,  7 Nov 2013 23:23:57 +0100
Laszlo Ersek <lersek@redhat.com> wrote:

> On 11/07/13 22:24, Marcel Apfelbaum wrote:
> 
> > Why pci-hole and system.flash collide? IMHO we should not play with
> > priorities here, better solve the collision.
> 
> What about this "beautiful" series? It produces
Laszlo,
 there is patch that removes PCI-hole aliases at all
 mapping PCI address space with -1 priority in system address space.
 so all access flash region range will go to it sice it's priority 0 

> 
> memory
> 0000000000000000-000fffffffffffff (prio 0, RW): system
>   [...]
>   0000000060000000-00000000ffdfffff (prio 0, RW): alias pci-hole @pci
>   0000000060000000-00000000ffdfffff
>   [...]
>   00000000ffe00000-00000000ffffffff (prio 0, R-): system.flash
> 
> and I can run OVMF with it. It also stays within i386/pc.
> 
> Re 2/2, note that "below_4g_mem_size" never exceeds 0xe0000000 in
> pc_init1(), so the subtraction is safe.
> 
> Thanks
> Laszlo
> 
> Laszlo Ersek (2):
>   i386/pc: propagate flash size from pc_system_flash_init() to
>     pc_init1()
>   i386/pc_piix: the pci-hole should end where the system flash starts
> 
>  include/hw/i386/pc.h |  6 ++++--
>  hw/i386/pc.c         |  5 +++--
>  hw/i386/pc_piix.c    |  5 +++--
>  hw/i386/pc_q35.c     |  3 ++-
>  hw/i386/pc_sysfw.c   | 10 +++++++---
>  5 files changed, 19 insertions(+), 10 deletions(-)
> 
> -- 
> 1.8.3.1
> 
> 


-- 
Regards,
  Igor

  parent reply	other threads:[~2013-11-08 16:38 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-03 20:48 [Qemu-devel] [PATCH] exec: fix regression by making system-memory region UINT64_MAX size Marcel Apfelbaum
2013-11-03 21:26 ` Peter Maydell
2013-11-04  6:18   ` Michael S. Tsirkin
2013-11-04  9:33     ` Marcel Apfelbaum
2013-11-04  9:59       ` Michael S. Tsirkin
2013-11-07 20:27 ` Jordan Justen
2013-11-07 20:44   ` Marcel Apfelbaum
2013-11-07 21:12   ` Laszlo Ersek
2013-11-07 21:21     ` [Qemu-devel] [edk2] " Paolo Bonzini
2013-11-07 21:32       ` Laszlo Ersek
2013-11-07 21:24     ` [Qemu-devel] " Marcel Apfelbaum
2013-11-07 21:31       ` Paolo Bonzini
2013-11-07 21:38         ` Marcel Apfelbaum
2013-11-07 21:51           ` Peter Maydell
2013-11-07 22:06             ` Marcel Apfelbaum
2013-11-08  8:05             ` Paolo Bonzini
2013-11-08 10:44               ` Peter Maydell
2013-11-08 11:00                 ` Paolo Bonzini
2013-11-08 15:16                 ` Marcel Apfelbaum
2013-11-08 15:08               ` Marcel Apfelbaum
2013-11-08 16:12                 ` Paolo Bonzini
2013-11-08 16:19                   ` Marcel Apfelbaum
2013-11-07 21:48       ` Laszlo Ersek
2013-11-07 22:09         ` Marcel Apfelbaum
2013-11-07 22:23       ` [Qemu-devel] [PATCH 0/2] " Laszlo Ersek
2013-11-07 22:23         ` [Qemu-devel] [PATCH 1/2] i386/pc: propagate flash size from pc_system_flash_init() to pc_init1() Laszlo Ersek
2013-11-08  6:09           ` Jordan Justen
2013-11-08 15:07             ` Laszlo Ersek
2013-11-08 15:16               ` Peter Maydell
2013-11-08 15:27                 ` Laszlo Ersek
2013-11-08 15:28                   ` Peter Maydell
2013-11-07 22:23         ` [Qemu-devel] [PATCH 2/2] i386/pc_piix: the pci-hole should end where the system flash starts Laszlo Ersek
2013-11-08 10:14         ` [Qemu-devel] reverting commit a53ae8e934cd54686875b5bcfc2f434244ee55d6 Re: [edk2] [PATCH 0/2] Re: exec: fix regression by making system-memory region UINT64_MAX size Paolo Bonzini
2013-11-08 16:37         ` Igor Mammedov [this message]
2013-11-08 15:42   ` [Qemu-devel] [PATCH] " Andreas Färber
2013-11-08 16:19     ` Laszlo Ersek
2013-11-08 16:26       ` Paolo Bonzini
2013-11-08 17:09       ` Andreas Färber
2013-11-08 17:15         ` Paolo Bonzini
2013-11-08 17:30           ` Laszlo Ersek

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=20131108173744.1ab160d3@thinkpad \
    --to=imammedo@redhat.com \
    --cc=afaerber@suse.de \
    --cc=anthony@codemonkey.ws \
    --cc=edk2-devel@lists.sourceforge.net \
    --cc=jan.kiszka@siemens.com \
    --cc=jljusten@gmail.com \
    --cc=lersek@redhat.com \
    --cc=marcel.a@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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.