RE: [PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW MSI address regions for IOMMU drivers

2017-11-07 Thread Shameerali Kolothum Thodi
j...@8bytes.org; John > Garry ; Guohanjun (Hanjun Guo) > ; Linuxarm ; linux- > a...@vger.kernel.org; iommu@lists.linux-foundation.org; Wangzhou (B) > ; sudeep.ho...@arm.com; bhelg...@google.com; > linux-arm-ker...@lists.infradead.org; de...@acpica.org > Subject: Re: [PATCH v9 2

Re: [PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW MSI address regions for IOMMU drivers

2017-11-03 Thread Lorenzo Pieralisi
On Thu, Oct 26, 2017 at 10:11:58AM +, Shameerali Kolothum Thodi wrote: [...] > > > >>> +int iommu_dma_get_msi_resv_regions(struct device *dev, struct > > > list_head > > > >> *list) > > > >>> +{ > > > >>> + if (!is_of_node(dev->iommu_fwspec->iommu_fwnode)) > > > >>> + return i

RE: [PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW MSI address regions for IOMMU drivers

2017-10-26 Thread Shameerali Kolothum Thodi
x- foundation.org; > > Wangzhou (B) ; sudeep.ho...@arm.com; > > bhelg...@google.com; linux-arm- ker...@lists.infradead.org; > > de...@acpica.org > > Subject: Re: [PATCH v9 2/4] iommu/dma: Add a helper function to > > reserve HW MSI address regions for IOMMU drive

RE: [PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW MSI address regions for IOMMU drivers

2017-10-18 Thread Shameerali Kolothum Thodi
gt; 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

Re: [PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW MSI address regions for IOMMU drivers

2017-10-18 Thread Robin Murphy
rnel.org; de...@acpica.org; Linuxarm ; >> Wangzhou (B) ; Guohanjun (Hanjun Guo) >> >> Subject: Re: [PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW >> MSI address regions for IOMMU drivers >> >> On Fri, Oct 06, 2017 at 03:04:48PM +0100, Shameer Kolot

RE: [PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW MSI address regions for IOMMU drivers

2017-10-16 Thread Shameerali Kolothum Thodi
[PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW > MSI address regions for IOMMU drivers > > On Fri, Oct 06, 2017 at 03:04:48PM +0100, Shameer Kolothum wrote: > > IOMMU drivers can use this to implement their .get_resv_regions callback > > for HW MSI specific reserv

Re: [PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW MSI address regions for IOMMU drivers

2017-10-13 Thread Will Deacon
On Fri, Oct 06, 2017 at 03:04:48PM +0100, Shameer Kolothum wrote: > IOMMU drivers can use this to implement their .get_resv_regions callback > for HW MSI specific reservations(e.g. ARM GICv3 ITS MSI region). > > Signed-off-by: Shameer Kolothum > --- > drivers/iommu/dma-iommu.c | 20 +

[PATCH v9 2/4] iommu/dma: Add a helper function to reserve HW MSI address regions for IOMMU drivers

2017-10-06 Thread Shameer Kolothum
IOMMU drivers can use this to implement their .get_resv_regions callback for HW MSI specific reservations(e.g. ARM GICv3 ITS MSI region). Signed-off-by: Shameer Kolothum --- drivers/iommu/dma-iommu.c | 20 include/linux/dma-iommu.h | 7 +++ 2 files changed, 27 insertion