From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] VT-d: improve RMRR validity checking Date: Thu, 21 Jan 2010 09:15:50 +0000 Message-ID: References: <4B580F8C.5090807@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B580F8C.5090807@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Noboru Iwamatsu , "weidong.han@intel.com" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Given Weidong's comments I will drop these patches and wait for a re-send, plus Acks from Weidong. -- Keir On 21/01/2010 08:25, "Noboru Iwamatsu" wrote: > Hi, > > Some Q35 mainboard that has buggy BIOS, I have one of this, > reports invalid DRHD in addition to the invalid RMRR. > > Attached patch fixes this DRHD issue in the same way as RMRR. > And also, I fixed RMRR validity checking loop. > > Noboru. > > Signed-off-by: Noboru Iwamatsu > > > -------- Original Message -------- > Subject: [Xen-devel] [PATCH] VT-d: improve RMRR validity checking > From: Han, Weidong > To: xen-devel@lists.xensource.com > Date: Thu Jan 21 2010 11:46:12 GMT+0900 > >> Currently, Xen checks RMRR range and disables VT-d if RMRR range is set >> incorrectly in BIOS rigorously. But, actually we can ignore the RMRR if the >> device under its scope are not pci discoverable, because the RMRR won't be >> used by non-existed or disabled devices. >> >> This patch ignores the RMRR if the device under its scope are not pci >> discoverable, and only checks the validity of RMRRs that are actually used. >> In order to avoid duplicate pci device detection code, this patch defines a >> function pci_device_detect for it. >> >> Signed-off-by: Weidong Han >> >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >