From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 1/1 V2] x86/AMD: Fix setup ssss:bb:dd:f for d0 failed Date: Sun, 1 Sep 2013 21:40:06 +0100 Message-ID: <5223A626.4030201@citrix.com> References: <1377909673-4778-1-git-send-email-suravee.suthikulpanit@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1377909673-4778-1-git-send-email-suravee.suthikulpanit@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: suravee.suthikulpanit@amd.com Cc: stefan.bader@canonical.com, JBeulich@suse.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 31/08/2013 01:41, suravee.suthikulpanit@amd.com wrote: > @@ -175,6 +176,15 @@ static int __init amd_iommu_setup_dom0_device(u8 devfn, struct pci_dev *pdev) > > if ( unlikely(!iommu) ) > { > + /* Filter the bridge devices */ > + if ( (pdev->type == DEV_TYPE_PCI_HOST_BRIDGE) ) > + { > + AMD_IOMMU_DEBUG("Skipping bridge %04x:%02x:%02x.%u (type %x)\n", > + pdev->seg, PCI_BUS(bdf), PCI_SLOT(bdf), PCI_FUNC(bdf), > + pdev->type); I know this is being picky, but I would prefer "Skipping host bridge" here, to avoid any possible confusion that non-host bridges might be considered for being skipped. ~Andrew