Re: [PATCH v2 1/2] iommu: Quirked PCIe bridge test and search function

2013-06-26 Thread Bjorn Helgaas
On Wed, Jun 26, 2013 at 12:45 PM, Alex Williamson wrote: > On Tue, 2013-06-25 at 22:20 -0600, Bjorn Helgaas wrote: >> On Thu, Jun 20, 2013 at 10:15 AM, Joerg Roedel wrote: >> > On Thu, Jun 20, 2013 at 09:44:51AM -0600, Alex Williamson wrote: >> >> On Thu, 2013-06-20 at 15:59 +0200, Joerg Roedel w

Re: [PATCH v2 1/2] iommu: Quirked PCIe bridge test and search function

2013-06-25 Thread Bjorn Helgaas
On Thu, Jun 20, 2013 at 10:15 AM, Joerg Roedel wrote: > On Thu, Jun 20, 2013 at 09:44:51AM -0600, Alex Williamson wrote: >> On Thu, 2013-06-20 at 15:59 +0200, Joerg Roedel wrote: >> > On Tue, May 28, 2013 at 12:40:20PM -0600, Alex Williamson wrote: >> > > + if (!pci_is_root_bus(pdev->bus)) { >> >

Re: [PATCH v2 1/2] iommu: Quirked PCIe bridge test and search function

2013-05-28 Thread Alex Williamson
On Tue, 2013-05-28 at 12:56 -0700, Stephen Hemminger wrote: > On Tue, 28 May 2013 13:53:10 -0600 > Alex Williamson wrote: > > > On Tue, 2013-05-28 at 12:38 -0700, Stephen Hemminger wrote: > > > On Tue, 28 May 2013 12:40:20 -0600 > > > Alex Williamson wrote: > > > > > > > Some PCIe-to-PCI bridge

Re: [PATCH v2 1/2] iommu: Quirked PCIe bridge test and search function

2013-05-28 Thread Alex Williamson
On Tue, 2013-05-28 at 12:38 -0700, Stephen Hemminger wrote: > On Tue, 28 May 2013 12:40:20 -0600 > Alex Williamson wrote: > > > Some PCIe-to-PCI bridges are not fully compliant with the PCIe spec > > and do not include a PCIe capability. pci_is_pcie() is not useful on > > these devices, making i

[PATCH v2 1/2] iommu: Quirked PCIe bridge test and search function

2013-05-28 Thread Alex Williamson
Some PCIe-to-PCI bridges are not fully compliant with the PCIe spec and do not include a PCIe capability. pci_is_pcie() is not useful on these devices, making it difficult to determine where we transition from a legacy PCI bus to a PCIe link. PCI-core doesn't want a quirked bridge test for fear o