Re: [PATCH] drm/arm/malidp: Stop using iommu_present()

2022-04-11 Thread Liviu Dudau
On Wed, Apr 06, 2022 at 10:27:00AM +0100, Brian Starkey wrote: > Hi Robin, > > On Tue, Apr 05, 2022 at 03:11:18PM +0100, Robin Murphy wrote: > > iommu_get_domain_for_dev() is already perfectly happy to return NULL > > if the given device has no IOMMU. Drop the unnecessary check. > > > >

Re: [PATCH v3] of_device: removed #include that caused a recursion in included headers

2020-04-22 Thread Liviu Dudau
| 1 + > arch/sparc/mm/iommu.c | 1 + > drivers/base/platform.c | 1 + > drivers/bus/imx-weim.c| 1 + > drivers/bus/vexpress-config.c | 1 + For drivers/bus/vexpress-config.c: Acked-by: Liviu

Re: [PATCH dma-mapping tree] arm64: default to the direct mapping in get_arch_dma_ops

2018-12-28 Thread Liviu Dudau
On Fri, Dec 28, 2018 at 06:59:00PM +0100, Christoph Hellwig wrote: > On Fri, Dec 28, 2018 at 05:30:57PM +0000, Liviu Dudau wrote: > > On Wed, Dec 19, 2018 at 05:55:02PM +0100, Christoph Hellwig wrote: > > > As all maintainers seem to be off to their holidays already I've >

Re: [PATCH dma-mapping tree] arm64: default to the direct mapping in get_arch_dma_ops

2018-12-28 Thread Liviu Dudau
On Wed, Dec 19, 2018 at 05:55:02PM +0100, Christoph Hellwig wrote: > As all maintainers seem to be off to their holidays already I've > applied this now given that I don't want to leave arm64 in broken > state in linux-next any longer. Hi Christoph, Talking about linux-next being broken, I found

Re: [PATCH v2] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-11-21 Thread Liviu Dudau
On Tue, Nov 21, 2017 at 10:21:32AM -0700, Alex Williamson wrote: > On Tue, 21 Nov 2017 12:08:01 + > Liviu Dudau <liviu.du...@arm.com> wrote: > > > On Mon, Nov 20, 2017 at 03:01:44PM -0700, Alex Williamson wrote: > > > On Mon, 20 Nov 2017 14:25:14 + > >

[PATCH] iommu/ipmmu-vmsa: Simplify driver probing.

2017-11-21 Thread Liviu Dudau
to replace bus masters for platforms that don't use IPMMU. Signed-off-by: Liviu Dudau <liviu.du...@arm.com> Cc: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> Cc: Magnus Damm <damm+rene...@opensource.se> Cc: Alex Williamson <alex.william...@redhat.com> --- drivers

Re: [PATCH v2] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-11-21 Thread Liviu Dudau
On Mon, Nov 20, 2017 at 03:01:44PM -0700, Alex Williamson wrote: > On Mon, 20 Nov 2017 14:25:14 + > Liviu Dudau <liviu.du...@arm.com> wrote: > > > On Fri, Oct 13, 2017 at 04:48:45PM +0100, Robin Murphy wrote: > > > Hi Joerg, > > > > Hi, > &

Re: [PATCH v2] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-11-20 Thread Liviu Dudau
On Fri, Oct 13, 2017 at 04:48:45PM +0100, Robin Murphy wrote: > Hi Joerg, Hi, > > On 20/09/17 15:13, Liviu Dudau wrote: > > If the IPMMU driver is compiled in the kernel it will replace the > > platform bus IOMMU ops on running the ipmmu_init() function, regardless >

[PATCH v2] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-09-20 Thread Liviu Dudau
to platform_driver_register() and platform_driver_unregister(), replace them with the module_platform_driver() macro call. Signed-off-by: Liviu Dudau <liviu.du...@arm.com> Cc: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> --- drivers/iommu/ipmmu-vmsa.c | 29 + 1

Re: [PATCH] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-09-19 Thread Liviu Dudau
On Tue, Sep 19, 2017 at 10:07:58AM +0300, Laurent Pinchart wrote: > Hi Liviu, > > Thank you for the patch. > > On Monday, 18 September 2017 13:04:44 EEST Liviu Dudau wrote: > > If the IPMMU driver is compiled in the kernel it will replace the > > platform bus IOMMU op

[PATCH] iommu/ipmmu-vmsa: Do not replace bus IOMMU ops on driver init.

2017-09-18 Thread Liviu Dudau
to platform_driver_register() and platform_driver_unregister(), replace them with the module_platform_driver() macro call. Signed-off-by: Liviu Dudau <liviu.du...@arm.com> Cc: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> --- drivers/iommu/ipmmu-vmsa.c | 29 + 1

Re: [RFC PATCH v0.001] PCI: Add support for tango PCIe controller

2017-03-21 Thread Liviu Dudau
On Tue, Mar 21, 2017 at 11:15:16AM +0100, Mason wrote: > [ Adding iommu ML ] > > On 17/03/2017 17:11, Mason wrote: > > > + * QUIRK #5 > > + * Only transfers within the BAR are forwarded to the host. > > + * By default, the DMA framework expects that > > + * PCI address 0x8000_ -> CPU address

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-29 Thread Liviu Dudau
On Mon, Sep 29, 2014 at 09:44:17AM +0800, Yijing Wang wrote: On 2014/9/28 19:21, Liviu Dudau wrote: On Sun, Sep 28, 2014 at 10:16:12AM +0800, Yijing Wang wrote: What I would like to see is a way of creating the pci_host_bridge structure outside the pci_create_root_bus(). That would

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-28 Thread Liviu Dudau
On Sun, Sep 28, 2014 at 10:16:12AM +0800, Yijing Wang wrote: What I would like to see is a way of creating the pci_host_bridge structure outside the pci_create_root_bus(). That would then allow us to pass this sort of platform details like associated msi_chip into the host bridge and

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-26 Thread Liviu Dudau
On Fri, Sep 26, 2014 at 11:42:23AM +0800, Yijing Wang wrote: I am actually in disagreement with you, Thierry. I don't like the general direction of the patches, or at least I don't like the fact that we don't have a portable way of setting up the msi_chip without having to rely on weak

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-25 Thread Liviu Dudau
On Thu, Sep 25, 2014 at 09:42:36AM +0200, Thierry Reding wrote: On Thu, Sep 25, 2014 at 11:14:10AM +0800, Yijing Wang wrote: This series is based Bjorn's pci/msi branch git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/msi Currently, there are a lot of weak arch functions

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-25 Thread Liviu Dudau
On Thu, Sep 25, 2014 at 06:49:38PM +0200, Thierry Reding wrote: On Thu, Sep 25, 2014 at 03:48:55PM +0100, Liviu Dudau wrote: On Thu, Sep 25, 2014 at 09:42:36AM +0200, Thierry Reding wrote: On Thu, Sep 25, 2014 at 11:14:10AM +0800, Yijing Wang wrote: This series is based Bjorn's pci/msi