Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-18 Thread Will Deacon
ernel.org; linux- > > p...@vger.kernel.org; de...@acpica.org; Linuxarm ; > > Wangzhou (B) ; Guohanjun (Hanjun Guo) > > > > Subject: Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers > > behind > > SMMUv3 > > > > On Sun, Oct 15, 2017 at 07:46:34

RE: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-18 Thread Shameerali Kolothum Thodi
> > John Garry ; iommu@lists.linux-foundation.org; > > > linux-arm-ker...@lists.infradead.org; linux-a...@vger.kernel.org; linux- > > > p...@vger.kernel.org; de...@acpica.org; Linuxarm > ; > > > Wangzhou (B) ; Guohanjun (Hanjun Guo) > > > >

Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-18 Thread Will Deacon
linux- > > p...@vger.kernel.org; de...@acpica.org; Linuxarm ; > > Wangzhou (B) ; Guohanjun (Hanjun Guo) > > > > Subject: Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers > > behind > > SMMUv3 > > > > On Fri, Oct 06, 2017 at 03:04:50P

RE: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-15 Thread Shameerali Kolothum Thodi
; bhelg...@google.com; Gabriele Paoloni ; > John Garry ; iommu@lists.linux-foundation.org; > linux-arm-ker...@lists.infradead.org; linux-a...@vger.kernel.org; linux- > p...@vger.kernel.org; de...@acpica.org; Linuxarm ; > Wangzhou (B) ; Guohanjun (Hanjun Guo) > > Subject: Re: [PATCH v

Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-13 Thread Will Deacon
On Fri, Oct 06, 2017 at 03:04:50PM +0100, Shameer Kolothum wrote: > The HiSilicon erratum 161010801 describes the limitation of > HiSilicon platforms hip06/hip07 to support the SMMUv3 mappings > for MSI transactions. > > PCIe controller on these platforms has to differentiate the MSI > payload aga

Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-10 Thread Bjorn Helgaas
On Fri, Oct 06, 2017 at 03:04:50PM +0100, Shameer Kolothum wrote: > The HiSilicon erratum 161010801 describes the limitation of > HiSilicon platforms hip06/hip07 to support the SMMUv3 mappings > for MSI transactions. > > PCIe controller on these platforms has to differentiate the MSI > payload aga

RE: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-10 Thread Gabriele Paoloni
Hi Lorenzo [...] > > > Does the presence of "iommu-map" tell you this is an SMMUv3? Could > it > > > have a different type of IOMMU? I can't tell from reading > > > Documentation/devicetree/bindings/pci/pci-iommu.txt. > > > > Only if the SMMUv3 driver is loaded and iommu-map binding property >

Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-10 Thread Lorenzo Pieralisi
On Tue, Oct 10, 2017 at 09:42:30AM +, Shameerali Kolothum Thodi wrote: [...] > > > diff --git a/drivers/pci/dwc/pcie-hisi.c b/drivers/pci/dwc/pcie-hisi.c > > > index a201791..6800747 100644 > > > --- a/drivers/pci/dwc/pcie-hisi.c > > > +++ b/drivers/pci/dwc/pcie-hisi.c > > > @@ -270,6 +270,12

RE: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-10 Thread Shameerali Kolothum Thodi
Guo) > > Subject: Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers > behind > SMMUv3 > > Please change subject line: > > - PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3 > + PCI: hisi: Blacklist hip06/hip07 controllers behind SMMUv3 Ok. >

Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-09 Thread Bjorn Helgaas
On Mon, Oct 09, 2017 at 06:54:52PM -0500, Bjorn Helgaas wrote: > Please change subject line: > > - PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3 > + PCI: hisi: Blacklist hip06/hip07 controllers behind SMMUv3 > > On Fri, Oct 06, 2017 at 03:04:50PM +0100, Shameer Kolothum wrote: > >

Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-09 Thread Bjorn Helgaas
Please change subject line: - PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3 + PCI: hisi: Blacklist hip06/hip07 controllers behind SMMUv3 On Fri, Oct 06, 2017 at 03:04:50PM +0100, Shameer Kolothum wrote: > The HiSilicon erratum 161010801 describes the limitation of > HiSilicon platf

Re: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-09 Thread Zhou Wang
On 2017/10/6 22:04, Shameer Kolothum wrote: > The HiSilicon erratum 161010801 describes the limitation of > HiSilicon platforms hip06/hip07 to support the SMMUv3 mappings > for MSI transactions. > > PCIe controller on these platforms has to differentiate the MSI > payload against other DMA payload

RE: [PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-06 Thread Gabriele Paoloni
Paoloni > Cc: John Garry; iommu@lists.linux-foundation.org; linux-arm- > ker...@lists.infradead.org; linux-a...@vger.kernel.org; linux- > p...@vger.kernel.org; de...@acpica.org; Linuxarm; Wangzhou (B); > Guohanjun (Hanjun Guo); Shameerali Kolothum Thodi > Subject: [PATCH v9 4/4]

[PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

2017-10-06 Thread Shameer Kolothum
The HiSilicon erratum 161010801 describes the limitation of HiSilicon platforms hip06/hip07 to support the SMMUv3 mappings for MSI transactions. PCIe controller on these platforms has to differentiate the MSI payload against other DMA payload and has to modify the MSI payload. This basically makes