From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeX1n-0006Os-3q for qemu-devel@nongnu.org; Thu, 07 Nov 2013 16:22:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeX1e-0007UW-KZ for qemu-devel@nongnu.org; Thu, 07 Nov 2013 16:22:11 -0500 Received: from mail-ee0-x234.google.com ([2a00:1450:4013:c00::234]:53876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeX1e-0007UH-EO for qemu-devel@nongnu.org; Thu, 07 Nov 2013 16:22:02 -0500 Received: by mail-ee0-f52.google.com with SMTP id e49so603665eek.11 for ; Thu, 07 Nov 2013 13:22:01 -0800 (PST) Sender: Paolo Bonzini Message-ID: <527C0474.7010107@redhat.com> Date: Thu, 07 Nov 2013 22:21:56 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1383511723-11228-1-git-send-email-marcel.a@redhat.com> <527C023F.2060506@redhat.com> In-Reply-To: <527C023F.2060506@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [edk2] [PATCH] exec: fix regression by making system-memory region UINT64_MAX size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: edk2-devel@lists.sourceforge.net Cc: Peter Maydell , Marcel Apfelbaum , Jan Kiszka , "Michael S. Tsirkin" , qemu-devel , Anthony Liguori , Laszlo Ersek , afaerber , rth@twiddle.net Il 07/11/2013 22:12, Laszlo Ersek ha scritto: > 0000000000000000-7ffffffffffffffe (prio 0, RW): system > [...] > 0000000060000000-00000000ffffffff (prio 0, RW): alias pci-hole @pci 0000000060000000-00000000ffffffff > [...] > 00000000ffe00000-00000000ffffffff (prio 0, R-): system.flash > [...] Priorities are not "transitive" across aliases; once you use an alias to map a region, the alias's priority counts, not the target region's priority. So the INT_MIN priority for pci-master-abort counts *within the alias*, but the choice between pci-hole and system.flash is only affected by the priorities of pci-hole and system.flash. You could give a smaller priority (-1 or INT_MIN) to pci-hole and just let it occupy the whole address space, from 0 to UINT64_MAX. Or perhaps the pci-hole alias is too large and it should end before the system flash area. Both solutions should work. Paolo