Re: [Linux-4.19] ThinkPad T470 not booting with "intel_iommu=on"

2018-09-25 Thread Sedat Dilek
On Tue, Sep 25, 2018 at 7:01 PM, Jordan Glover wrote: > ‐‐‐ Original Message ‐‐‐ > On Tuesday, September 25, 2018 1:57 PM, Joerg Roedel wrote: > >> Lu, >> >> can you please have a look at this problem? >> >> On Wed, Sep 05, 2018 at 02:04:38PM +0200, Sedat Dilek wrote: >> >> > Hi Joerg, >>

Re: [PATCH v2 0/4] Qcom smmu-500 TLB invalidation errata for sdm845

2018-09-25 Thread Vivek Gautam
On Tue, Sep 25, 2018 at 10:09 PM Will Deacon wrote: > > On Tue, Sep 25, 2018 at 02:09:34PM +0200, Joerg Roedel wrote: > > On Mon, Sep 10, 2018 at 11:55:47AM +0530, Vivek Gautam wrote: > > > Vivek Gautam (4): > > > firmware: qcom_scm-64: Add atomic version of qcom_scm_call > > > firmware/qcom_s

Re: [PATCH v16 2/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-09-25 Thread Vivek Gautam
Hi Robin, On Wed, Sep 26, 2018 at 12:25 AM Robin Murphy wrote: > > Hi Vivek, > > On 2018-09-25 6:56 AM, Vivek Gautam wrote: > > Hi Robin, Will, > > > > On Tue, Sep 18, 2018 at 8:41 AM Vivek Gautam > > wrote: > >> > >> Hi Robin, > >> > >> On Fri, Sep 7, 2018 at 3:52 PM Vivek Gautam > >> wrote:

Re: [PATCH 0/4 v7] Support kdump for AMD secure memory encryption(SME)

2018-09-25 Thread lijiang
Also cc maintainer and other reviewer. Thanks. 在 2018年09月26日 13:52, lijiang 写道: > 在 2018年09月26日 03:10, Lendacky, Thomas 写道: >> On 09/07/2018 03:18 AM, Lianbo Jiang wrote: >>> When SME is enabled on AMD machine, we also need to support kdump. Because >>> the memory is encrypted in the first kernel,

Re: [PATCH 4/4] dma-mapping: clear dev->dma_ops in arch_teardown_dma_ops

2018-09-25 Thread Michael Ellerman
Christoph Hellwig writes: > Looking at the code I think this commit is simply broken for > architectures not using arch_setup_dma_ops, but instead setting up > the dma ops through arch specific magic. I arch_setup_dma_ops() called from of_dma_configure(), but pci_dma_configure() doesn't call tha

Re: [PATCH v3 03/10] iommu/sva: Manage process address spaces

2018-09-25 Thread Lu Baolu
Hi, On 09/25/2018 06:32 PM, Jean-Philippe Brucker wrote: On 25/09/2018 04:15, Lu Baolu wrote: + /* If an io_mm already exists, use it */ + spin_lock(&iommu_sva_lock); + idr_for_each_entry(&iommu_pasid_idr, io_mm, i) { This might be problematic for vt-d (and other possible arch's w

Re: [PATCH 1/4 v7] x86/ioremap: add a function ioremap_encrypted() to remap kdump old memory

2018-09-25 Thread Baoquan He
Hi Lianbo, On 09/07/18 at 04:18pm, Lianbo Jiang wrote: > When SME is enabled on AMD machine, the memory is encrypted in the first > kernel. In this case, SME also needs to be enabled in kdump kernel, and > we have to remap the old memory with the memory encryption mask. This patch series looks go

Re: [RFC PATCH v2 08/10] vfio/type1: Add domain at(de)taching group helpers

2018-09-25 Thread Lu Baolu
Hi, On 09/26/2018 01:55 AM, Jean-Philippe Brucker wrote: On 19/09/2018 00:26, Tian, Kevin wrote: If the core actually calls it, we can implement detach_dev :) The problem is that the core never calls detach_dev when default_domain is present (affects any IOMMU driver that relies on default_doma

[PATCH v2 resend] iommu/ipmmu-vmsa: convert to SPDX identifiers

2018-09-25 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman --- Joerg 2 weeks past. resend patch drivers/iommu/ipmmu-vmsa.c | 5 + 1 file

Re: [PATCH v3 03/10] iommu/sva: Manage process address spaces

2018-09-25 Thread Lu Baolu
Hi Joerg, On 09/25/2018 09:26 PM, Joerg Roedel wrote: On Tue, Sep 25, 2018 at 11:15:40AM +0800, Lu Baolu wrote: This might be problematic for vt-d (and other possible arch's which use PASID other than SVA). When vt-d iommu works in scalable mode, a PASID might be allocated for: (1) SVA (2) Dev

Re: [PATCH v3 01/10] iommu: Introduce Shared Virtual Addressing API

2018-09-25 Thread Jacob Pan
On Tue, 25 Sep 2018 15:16:47 +0200 Joerg Roedel wrote: > On Sun, Sep 23, 2018 at 10:39:25AM +0800, Lu Baolu wrote: > > > +int iommu_sva_init_device(struct device *dev, unsigned long > > > features, > > > +unsigned int min_pasid, unsigned int > > > max_pasid) +{ > > > + int ret; >

Re: [PATCH v5 13/23] iommu: introduce device fault report API

2018-09-25 Thread Jacob Pan
On Tue, 25 Sep 2018 15:58:41 +0100 Jean-Philippe Brucker wrote: > Hi Jacob, > > Just two minor things below, that I noticed while using fault handlers > for SVA. From my perspective the series is fine otherwise > > On 11/05/2018 21:54, Jacob Pan wrote: > > +int iommu_unregister_device_fault_han

Re: [PATCH 4/4] dma-mapping: clear dev->dma_ops in arch_teardown_dma_ops

2018-09-25 Thread Christoph Hellwig
Looking at the code I think this commit is simply broken for architectures not using arch_setup_dma_ops, but instead setting up the dma ops through arch specific magic. I'll revert the patch. ___ iommu mailing list iommu@lists.linux-foundation.org https:

Re: [PATCH, for-4.19] dma-mapping: add the missing ARCH_HAS_SYNC_DMA_FOR_CPU_ALL declaration

2018-09-25 Thread Christoph Hellwig
On Sat, Sep 22, 2018 at 12:24:33PM -0700, Florian Fainelli wrote: > >My thought would be that it would be ideal to fix in 4.19 since that's > >where the breakage is, but having said that I don't have much insight > >into how bad the breakage is for the affected systems. > > > AFAIR, DMA corruptio

Re: [PATCH v2] drivers/vfio: Allow type-1 IOMMU instantiation with all ARM/ARM64 IOMMUs

2018-09-25 Thread Alex Williamson
On Thu, 13 Sep 2018 15:15:29 +0200 Geert Uytterhoeven wrote: > Currently the type-1 IOMMU instantiation depends on "ARM_SMMU || > ARM_SMMU_V3", while it applies to other ARM/ARM64 platforms with an > IOMMU (e.g. Renesas VMSA-compatible IPMMUs). > > Instead of extending the list of IOMMU types on

Re: [PATCH 0/4 v7] Support kdump for AMD secure memory encryption(SME)

2018-09-25 Thread Lendacky, Thomas
On 09/07/2018 03:18 AM, Lianbo Jiang wrote: > When SME is enabled on AMD machine, we also need to support kdump. Because > the memory is encrypted in the first kernel, we will remap the old memory > to the kdump kernel for dumping data, and SME is also enabled in the kdump > kernel, otherwise the o

Re: [PATCH v16 2/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-09-25 Thread Robin Murphy
Hi Vivek, On 2018-09-25 6:56 AM, Vivek Gautam wrote: Hi Robin, Will, On Tue, Sep 18, 2018 at 8:41 AM Vivek Gautam wrote: Hi Robin, On Fri, Sep 7, 2018 at 3:52 PM Vivek Gautam wrote: On Fri, Sep 7, 2018 at 3:22 PM Tomasz Figa wrote: On Fri, Sep 7, 2018 at 6:38 PM Vivek Gautam wrote:

Re: [RFC PATCH v2 08/10] vfio/type1: Add domain at(de)taching group helpers

2018-09-25 Thread Jean-Philippe Brucker
On 19/09/2018 00:26, Tian, Kevin wrote: >> If the core actually calls it, we can implement detach_dev :) The >> problem is that the core never calls detach_dev when default_domain is >> present (affects any IOMMU driver that relies on default_domain, >> including AMD), and even in case 4) the defau

Re: [Linux-4.19] ThinkPad T470 not booting with "intel_iommu=on"

2018-09-25 Thread Jordan Glover via iommu
‐‐‐ Original Message ‐‐‐ On Tuesday, September 25, 2018 1:57 PM, Joerg Roedel wrote: > Lu, > > can you please have a look at this problem? > > On Wed, Sep 05, 2018 at 02:04:38PM +0200, Sedat Dilek wrote: > > > Hi Joerg, > > "intel_ioomu=on" was working fine here on my ThinkPad T470 with >

Re: [PATCH v2 0/4] Qcom smmu-500 TLB invalidation errata for sdm845

2018-09-25 Thread Will Deacon
On Tue, Sep 25, 2018 at 02:09:34PM +0200, Joerg Roedel wrote: > On Mon, Sep 10, 2018 at 11:55:47AM +0530, Vivek Gautam wrote: > > Vivek Gautam (4): > > firmware: qcom_scm-64: Add atomic version of qcom_scm_call > > firmware/qcom_scm: Add atomic version of io read/write APIs > > firmware/qcom_

RE: [PATCH] iommu/amd: return devid as alias for ACPI HID devices

2018-09-25 Thread Nath, Arindam
Hi Joerg, > -Original Message- > From: Joerg Roedel > Sent: Tuesday, September 25, 2018 7:02 PM > To: Nath, Arindam > Cc: iommu@lists.linux-foundation.org; Suthikulpanit, Suravee > > Subject: Re: [PATCH] iommu/amd: return devid as alias for ACPI HID devices > > Hi Arindam, > > On Tue,

Re: [PATCH v5 13/23] iommu: introduce device fault report API

2018-09-25 Thread Jean-Philippe Brucker
Hi Jacob, Just two minor things below, that I noticed while using fault handlers for SVA. From my perspective the series is fine otherwise On 11/05/2018 21:54, Jacob Pan wrote: > +int iommu_unregister_device_fault_handler(struct device *dev) > +{ > +   struct iommu_param *param = dev->iommu_p

Re: [PATCH v4 11/20] memory: tegra: Use of_device_get_match_data()

2018-09-25 Thread Dmitry Osipenko
On 9/25/18 1:00 PM, Thierry Reding wrote: > On Mon, Sep 24, 2018 at 09:39:43PM +0300, Dmitry Osipenko wrote: >> On 9/24/18 1:13 PM, Thierry Reding wrote: >>> On Mon, Sep 24, 2018 at 03:41:44AM +0300, Dmitry Osipenko wrote: There is no need to match device with the DT node since it was already

Re: [PATCH v4 19/20] iommu/tegra: gart: Simplify clients-tracking code

2018-09-25 Thread Dmitry Osipenko
On 9/25/18 1:09 PM, Thierry Reding wrote: > On Mon, Sep 24, 2018 at 08:50:35PM +0300, Dmitry Osipenko wrote: >> On 9/24/18 2:10 PM, Thierry Reding wrote: >>> On Mon, Sep 24, 2018 at 03:41:52AM +0300, Dmitry Osipenko wrote: GART is a simple IOMMU provider that has single address space. There is

Re: [PATCH v4 18/20] iommu/tegra: gart: Don't detach devices from inactive domains

2018-09-25 Thread Dmitry Osipenko
On 9/25/18 1:04 PM, Thierry Reding wrote: > On Mon, Sep 24, 2018 at 09:05:48PM +0300, Dmitry Osipenko wrote: >> On 9/24/18 2:00 PM, Thierry Reding wrote: >>> On Mon, Sep 24, 2018 at 03:41:51AM +0300, Dmitry Osipenko wrote: There could be unlimited number of allocated domains, but only one doma

Re: [PATCH v4 16/20] iommu/tegra: gart: Don't use managed resources

2018-09-25 Thread Dmitry Osipenko
On 9/25/18 1:03 PM, Thierry Reding wrote: > On Mon, Sep 24, 2018 at 09:57:10PM +0300, Dmitry Osipenko wrote: >> On 9/24/18 1:52 PM, Thierry Reding wrote: >>> On Mon, Sep 24, 2018 at 03:41:49AM +0300, Dmitry Osipenko wrote: GART is a part of the Memory Controller driver that is always built-in,

Re: [PATCH] iommu: Fix a typo

2018-09-25 Thread Joerg Roedel
On Tue, Sep 18, 2018 at 05:38:49PM +0300, Rami Rosen wrote: > This patch fixes a typo in iommu.c. > > Signed-off-by: Rami Rosen > --- > drivers/iommu/iommu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. ___ iommu mailing li

Re: [PATCH] iommu/amd: return devid as alias for ACPI HID devices

2018-09-25 Thread Joerg Roedel
Hi Arindam, On Tue, Sep 18, 2018 at 03:40:58PM +0530, Arindam Nath wrote: > @@ -246,7 +246,13 @@ static u16 get_alias(struct device *dev) > > /* The callers make sure that get_device_id() does not fail here */ > devid = get_device_id(dev); > + > + /* For ACPI HID devices, we simp

Re: [PATCH v3 03/10] iommu/sva: Manage process address spaces

2018-09-25 Thread Joerg Roedel
On Tue, Sep 25, 2018 at 11:15:40AM +0800, Lu Baolu wrote: > This might be problematic for vt-d (and other possible arch's which use > PASID other than SVA). When vt-d iommu works in scalable mode, a PASID > might be allocated for: > > (1) SVA > (2) Device Assignable Interface (might be a mdev or d

Re: [PATCH v3 01/10] iommu: Introduce Shared Virtual Addressing API

2018-09-25 Thread Joerg Roedel
On Sun, Sep 23, 2018 at 10:39:25AM +0800, Lu Baolu wrote: > > +int iommu_sva_init_device(struct device *dev, unsigned long features, > > + unsigned int min_pasid, unsigned int max_pasid) > > +{ > > + int ret; > > + struct iommu_sva_param *param; > > + struct iommu_domain *dom

Re: [PATCH] iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()

2018-09-25 Thread Joerg Roedel
Hi Robin, On Tue, Sep 25, 2018 at 11:48:17AM +0100, Robin Murphy wrote: > Will has the cleaned-up version in his tree along with a couple of other > SMMU fixes, which I assume he's planning to send you a pull for (he's off at > yet another conference just now so I can't confirm offline). Okay, le

Re: [PATCH 1/2] iommu: Tidy up window attributes

2018-09-25 Thread Joerg Roedel
On Wed, Sep 19, 2018 at 11:12:57AM +0100, Robin Murphy wrote: > The external interface to get/set window attributes is already > abstracted behind iommu_domain_{get,set}_attr(), so there's no real > reason for the internal interface to be different. Since we only have > one window-based driver anyw

Re: [PATCH v8 0/6] Add Intel IOMMU debugfs support

2018-09-25 Thread Joerg Roedel
On Tue, Sep 11, 2018 at 05:11:35PM -0700, Sohil Mehta wrote: > Sohil Mehta (5): > iommu/vt-d: Relocate struct/function declarations to its header files > iommu/vt-d: Update register definitions to VT-d 3.0 specification > iommu/vt-d: Enable base Intel IOMMU debugfs support > iommu/vt-d: Add

Re: [PATCH v2 4/4] iommu/arm-smmu: Add support to handle Qcom's TLBI serialization errata

2018-09-25 Thread Robin Murphy
On 10/09/18 07:25, Vivek Gautam wrote: Qcom's implementation of arm,mmu-500 require to serialize all TLB invalidations for context banks. What does "serailize all TLB invalidations" actually mean, because it's not entirely clear from context, and furthermore this patch appears to behave subtl

Re: [PATCH v4 09/20] memory: tegra: Adapt to Tegra20 device-tree binding changes

2018-09-25 Thread Dmitry Osipenko
On 9/24/18 4:22 PM, Dmitry Osipenko wrote: > On 9/24/18 1:02 PM, Thierry Reding wrote: >> On Mon, Sep 24, 2018 at 03:41:42AM +0300, Dmitry Osipenko wrote: >>> The tegra20-mc device-tree binding has been changed, GART has been >>> squashed into Memory Controller and now the clock property is mandato

Re: [PATCH] iommu/fsl: fix spelling mistake pci_endpt_partioning -> pci_endpt_partitioning

2018-09-25 Thread Joerg Roedel
On Tue, Sep 11, 2018 at 01:28:32PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in variable name > > Signed-off-by: Colin Ian King > --- > drivers/iommu/fsl_pamu_domain.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied, thanks. ___

Re: [PATCH v2 0/4] Qcom smmu-500 TLB invalidation errata for sdm845

2018-09-25 Thread Joerg Roedel
On Mon, Sep 10, 2018 at 11:55:47AM +0530, Vivek Gautam wrote: > Vivek Gautam (4): > firmware: qcom_scm-64: Add atomic version of qcom_scm_call > firmware/qcom_scm: Add atomic version of io read/write APIs > firmware/qcom_scm: Add scm call to handle smmu errata > iommu/arm-smmu: Add support

Re: [PATCH 3/4 v7] amd_iommu: remap the device table of IOMMU with the memory encryption mask for kdump

2018-09-25 Thread Joerg Roedel
On Fri, Sep 07, 2018 at 04:18:04PM +0800, Lianbo Jiang wrote: > In kdump kernel, it will copy the device table of IOMMU from the old device > table, which is encrypted when SME is enabled in the first kernel. So we > have to remap the old device table with the memory encryption mask. > > Signed-of

Re: [PATCH resend] iommu/ipmmu-vmsa: convert to SPDX identifiers

2018-09-25 Thread Joerg Roedel
On Fri, Sep 07, 2018 at 01:42:15AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > This patch updates license to use SPDX-License-Identifier > instead of verbose license text. > > Signed-off-by: Kuninori Morimoto > Reviewed-by: Geert Uytterhoeven > Reviewed-by: Simon Horman

Re: [Linux-4.19] ThinkPad T470 not booting with "intel_iommu=on"

2018-09-25 Thread Joerg Roedel
Lu, can you please have a look at this problem? On Wed, Sep 05, 2018 at 02:04:38PM +0200, Sedat Dilek wrote: > Hi Joerg, > > "intel_ioomu=on" was working fine here on my ThinkPad T470 with > debian/testing AMD64 with Linux v4.17.y and v4.18.y. > > With testing Linux v4.19-rc1 and v4.19-rc2 my m

Re: [PATCH 1/1] iommu/vt-d: Handle memory shortage on pasid table allocation

2018-09-25 Thread Joerg Roedel
On Sat, Sep 01, 2018 at 02:24:16PM +0800, Lu Baolu wrote: > Pasid table memory allocation could return failure due to memory > shortage. Limit the pasid table size to 1MiB because current 8MiB > contiguous physical memory allocation can be hard to come by. W/o > a PASID table, the device could cont

Re: [PATCH] iommu: rockchip: Drop verbose prints in the interrupt handler

2018-09-25 Thread Joerg Roedel
On Thu, Aug 30, 2018 at 07:28:32PM -0300, Ezequiel Garcia wrote: > Printing verbosely via WARN macros and friends in interrupt handlers > is strongly discouraged. Drop them and use proper ratelimited > prints. > > Signed-off-by: Ezequiel Garcia > --- > drivers/iommu/rockchip-iommu.c | 10 ++-

Re: [PATCH] iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()

2018-09-25 Thread Robin Murphy
Hi Joerg, On 25/09/18 10:01, Joerg Roedel wrote: Hey Robin, On Thu, Aug 23, 2018 at 01:14:59PM +0100, Robin Murphy wrote: Fixes: 2c3d273eabe8 ("iommu/io-pgtable-arm: Support lockless operation") Signed-off-by: Robin Murphy I can't find a newer version of this in my inbox, do you plan to sen

Re: [PATCH v3 03/10] iommu/sva: Manage process address spaces

2018-09-25 Thread Jean-Philippe Brucker
On 25/09/2018 04:15, Lu Baolu wrote: >> + /* If an io_mm already exists, use it */ >> + spin_lock(&iommu_sva_lock); >> + idr_for_each_entry(&iommu_pasid_idr, io_mm, i) { > > This might be problematic for vt-d (and other possible arch's which use > PASID other than SVA). When vt-d iommu

Re: [PATCH v4 19/20] iommu/tegra: gart: Simplify clients-tracking code

2018-09-25 Thread Thierry Reding
On Mon, Sep 24, 2018 at 08:50:35PM +0300, Dmitry Osipenko wrote: > On 9/24/18 2:10 PM, Thierry Reding wrote: > > On Mon, Sep 24, 2018 at 03:41:52AM +0300, Dmitry Osipenko wrote: > >> GART is a simple IOMMU provider that has single address space. There is > >> no need to setup global clients list an

Re: [PATCH v4 18/20] iommu/tegra: gart: Don't detach devices from inactive domains

2018-09-25 Thread Thierry Reding
On Mon, Sep 24, 2018 at 09:05:48PM +0300, Dmitry Osipenko wrote: > On 9/24/18 2:00 PM, Thierry Reding wrote: > > On Mon, Sep 24, 2018 at 03:41:51AM +0300, Dmitry Osipenko wrote: > >> There could be unlimited number of allocated domains, but only one domain > >> can be active at a time. Hence device

Re: [PATCH v4 16/20] iommu/tegra: gart: Don't use managed resources

2018-09-25 Thread Thierry Reding
On Mon, Sep 24, 2018 at 09:57:10PM +0300, Dmitry Osipenko wrote: > On 9/24/18 1:52 PM, Thierry Reding wrote: > > On Mon, Sep 24, 2018 at 03:41:49AM +0300, Dmitry Osipenko wrote: > >> GART is a part of the Memory Controller driver that is always built-in, > >> hence there is no benefit from the use

Re: [PATCH v4 12/20] iommu/tegra: gart: Integrate with Memory Controller driver

2018-09-25 Thread Thierry Reding
On Mon, Sep 24, 2018 at 09:22:59PM +0300, Dmitry Osipenko wrote: > On 9/24/18 1:23 PM, Thierry Reding wrote: > > On Mon, Sep 24, 2018 at 03:41:45AM +0300, Dmitry Osipenko wrote: > >> The device-tree binding has been changed. There is no separate GART device > >> anymore, it is squashed into the Mem

Re: [PATCH v4 11/20] memory: tegra: Use of_device_get_match_data()

2018-09-25 Thread Thierry Reding
On Mon, Sep 24, 2018 at 09:39:43PM +0300, Dmitry Osipenko wrote: > On 9/24/18 1:13 PM, Thierry Reding wrote: > > On Mon, Sep 24, 2018 at 03:41:44AM +0300, Dmitry Osipenko wrote: > >> There is no need to match device with the DT node since it was already > >> matched, use of_device_get_match_data()

Re: [PATCH] iommu/rockchip: Free irqs in shutdown handler

2018-09-25 Thread Joerg Roedel
On Mon, Aug 27, 2018 at 12:56:24PM +0200, Heiko Stuebner wrote: > In the iommu's shutdown handler we disable runtime-pm which could > result in the irq-handler running unclocked and since commit > 3fc7c5c0cff3 ("iommu/rockchip: Handle errors returned from PM framework") > we warn about that fac

Re: [PATCH] Changing the AMD IOMMU API path to work in an atomic context which is necessary for any custom drivers using the IOMMU API while holding a spinlock.

2018-09-25 Thread Joerg Roedel
On Fri, Aug 24, 2018 at 02:28:49PM +, murph...@tcd.ie wrote: > From: Tom Murphy > > --- > > This patch allows the IOMMU API path in the AMD driver to be called > from an atomic context. This is useful for anyone building a driver > which needs to call the IOMMU API while holding a spinlock.

Re: [PATCH] iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()

2018-09-25 Thread Joerg Roedel
Hey Robin, On Thu, Aug 23, 2018 at 01:14:59PM +0100, Robin Murphy wrote: > Fixes: 2c3d273eabe8 ("iommu/io-pgtable-arm: Support lockless operation") > Signed-off-by: Robin Murphy I can't find a newer version of this in my inbox, do you plan to send one or has it been addressed differently? Rega

Re: [PATCH v2 0/3] iommu: Avoid DMA ops domain refcount contention

2018-09-25 Thread Joerg Roedel
On Wed, Sep 12, 2018 at 04:24:11PM +0100, Robin Murphy wrote: > Robin Murphy (3): > iommu: Add fast hook for getting DMA domains > iommu/dma: Use fast DMA domain lookup > arm64/dma-mapping: Mildly optimise non-coherent IOMMU ops Applied, thanks Robin.

Re: [PATCH v4] iommu/iova: Optimise attempts to allocate iova from 32bit address range

2018-09-25 Thread Joerg Roedel
On Wed, Sep 05, 2018 at 09:57:36AM +0530, Ganapatrao Kulkarni wrote: > drivers/iommu/iova.c | 22 +++--- > include/linux/iova.h | 1 + > 2 files changed, 16 insertions(+), 7 deletions(-) Applied, thanks. ___ iommu mailing list iommu@lis

Re: [PATCH v9 2/2] iommu/amd: Add basic debugfs infrastructure for AMD IOMMU

2018-09-25 Thread Joerg Roedel
On Mon, Aug 27, 2018 at 08:56:50AM +0200, Geert Uytterhoeven wrote: > If it is that bad, shouldn't this option be protected by some Kconfig > trickery to avoid it being enabled in allmodconfig/allyesconfig builds? It is fine to have it in allmodconfig/allyesconfig, I just don't want any distro-ker

Re: [PATCH 0/7 v7] Support for fsl-mc bus and its devices in SMMU

2018-09-25 Thread Joerg Roedel
On Mon, Sep 10, 2018 at 07:19:14PM +0530, Nipun Gupta wrote: > Nipun Gupta (7): > Documentation: fsl-mc: add iommu-map device-tree binding for fsl-mc > bus > iommu/of: make of_pci_map_rid() available for other devices too > iommu/of: support iommu configuration for fsl-mc devices > iomm