From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNLXQ-0004OI-Tx for qemu-devel@nongnu.org; Fri, 20 May 2011 04:58:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNLXP-0005nh-UR for qemu-devel@nongnu.org; Fri, 20 May 2011 04:58:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNLXP-0005nd-Ng for qemu-devel@nongnu.org; Fri, 20 May 2011 04:58:27 -0400 Message-ID: <4DD62D2D.2080003@redhat.com> Date: Fri, 20 May 2011 11:58:21 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4DD51FDA.3010107@codemonkey.ws> <4DD520ED.8010606@redhat.com> <4DD5260A.1080309@codemonkey.ws> <4DD5272F.5000003@siemens.com> <4DD52848.6030102@codemonkey.ws> <4DD52910.4080106@siemens.com> <4DD52B0E.2080604@codemonkey.ws> <4DD52BF2.2080506@redhat.com> <20110519161731.GA27310@redhat.com> <4DD5446A.6030003@siemens.com> <20110519162805.GC27310@redhat.com> <4DD545B2.70705@siemens.com> <4DD54729.8050707@codemonkey.ws> <4DD54A2C.6050706@siemens.com> In-Reply-To: <4DD54A2C.6050706@siemens.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] Memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Gleb Natapov , qemu-devel On 05/19/2011 07:49 PM, Jan Kiszka wrote: > > > > If you have overlapping BARs, the PCI bus will always send the request > > to a single device based on something that's implementation specific. > > This works because each PCI device advertises the BAR locations and > > sizes in it's config space. > > That's not a use case for priorities at all. Priorities are useful for > PAM and SMRAM-like scenarios. Correct. Priorities are also useful to decide if BARs hide RAM or vice-versa (determined by the PCI container's priority vs. the RAM container priorities, not individual BARs' priorities). -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.