Re: source-id verification failures

2018-10-05 Thread Raj, Ashok
On Thu, Oct 04, 2018 at 03:07:46PM -0700, Jacob Pan wrote: > On Thu, 4 Oct 2018 13:57:24 -0700 > Jerry Snitselaar wrote: > > > On Thu Oct 04 18, Joerg Roedel wrote: > > >Hi Jerry, > > > > > >thanks for the report. > > > > > >On Tue, Oct 02, 2018 at 10:25:29AM -0700, Jerry Snitselaar wrote: > >

[PATCHv4 1/2] arm64: dts: stratix10: Add Stratix10 SMMU support

2018-10-05 Thread thor . thayer
From: Thor Thayer Add SMMU support to the Stratix10 Device Tree which includes adding the SMMU node and adding IOMMU stream ids to the SMMU peripherals. Signed-off-by: Thor Thayer --- v4 Add clock-name since clk_bulk_get() needs name for clock. v3 Remove bindings changes since not adding

[PATCHv4 2/2] iommu/arm-smmu: Get clock config from device tree

2018-10-05 Thread thor . thayer
From: Thor Thayer Currently the clocks are specified in a structure as well as in the device tree. Since all the information about clocks can be pulled from the device tree, parse the device tree for the clock information if specified. This patch is dependent upon the following patch series that

[PATCHv4 0/2] iommu/arm-smmu: Add Stratix10 SMMU Support

2018-10-05 Thread thor . thayer
From: Thor Thayer Add SMMU support for the Stratix10 SOCFPGA. This patch requires clock enables for the master TBUs and therefore has a dependency on patches currently being reviewed. This patchset is dependent on the patch series [1] v4 Address Vivek's comment. Abandon dependency on [2] (

Re: source-id verification failures

2018-10-05 Thread Jacob Pan
On Thu, 4 Oct 2018 13:57:24 -0700 Jerry Snitselaar wrote: > > > >On Tue, Oct 02, 2018 at 10:25:29AM -0700, Jerry Snitselaar wrote: > >> I've been trying to track down a problem where an hp dl380 gen8 > >> with a Cavium QLogic BR-1860 Fabric Adapter is getting source-id > >> verification failure

Re: [git pull] IOMMU Fixes for Linux v4.19-rc6

2018-10-05 Thread Greg Kroah-Hartman
On Fri, Oct 05, 2018 at 10:30:09AM +0200, Joerg Roedel wrote: > Hi Greg, > > The following changes since commit 17b57b1883c1285f3d0dc2266e8f79286a7bef38: > > Linux 4.19-rc6 (2018-09-30 07:15:35 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/

Re: linux-next: Tree for Oct 4

2018-10-05 Thread Alexander Duyck
On 10/4/2018 10:39 PM, Stephen Rothwell wrote: Hi Guenter, On Thu, 4 Oct 2018 18:33:02 -0700 Guenter Roeck wrote: Most of the boot failures are hopefully fixed with https://lore.kernel.org/patchwork/patch/995254/ I have added that commit to linux-next today. After getting over that I end

Re: [PATCH] iommu: Do physical merging in iommu_map_sg()

2018-10-05 Thread Robin Murphy
On 05/10/18 08:19, Christoph Hellwig wrote: On Thu, Oct 04, 2018 at 04:47:37PM +0100, Robin Murphy wrote: The original motivation for iommu_map_sg() was to give IOMMU drivers the chance to map an IOVA-contiguous scatterlist as efficiently as they could. It turns out that there isn't really much

[PATCH] iommu/amd: Move iommu_init_pci() to .init section

2018-10-05 Thread Joerg Roedel
From: Joerg Roedel The function is only called from another __init function, so it should be moved to .init too. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd

Re: [PATCH] iommu/amd: Clear memory encryption mask from physical address

2018-10-05 Thread Joerg Roedel
On Thu, Oct 04, 2018 at 09:40:23PM +, Singh, Brijesh wrote: > Boris Ostrovsky reported a memory leak with device passthrough when SME > is active. > > The VFIO driver uses iommu_iova_to_phys() to get the physical address for > an iova. This physical address is later passed into vfio_unmap_unpi

[git pull] IOMMU Fixes for Linux v4.19-rc6

2018-10-05 Thread Joerg Roedel
Hi Greg, The following changes since commit 17b57b1883c1285f3d0dc2266e8f79286a7bef38: Linux 4.19-rc6 (2018-09-30 07:15:35 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.19-rc6 for you to fetch changes up to b

Re: [PATCH 0/4] Add MT7623 dts bindings documentation

2018-10-05 Thread Matthias Brugger
On 03/10/2018 11:09, Matthias Brugger wrote: > Mediateks MT7623 SoC shares most of its component with MT2701. > This series adds devicetree documentation for all the devices. > > It applies cleanly against linux next, so I don't expect any merge > conflicts if this is taken by Arnd through the

Re: [PATCH] iommu: Do physical merging in iommu_map_sg()

2018-10-05 Thread Christoph Hellwig
On Thu, Oct 04, 2018 at 04:47:37PM +0100, Robin Murphy wrote: > The original motivation for iommu_map_sg() was to give IOMMU drivers the > chance to map an IOVA-contiguous scatterlist as efficiently as they > could. It turns out that there isn't really much driver-specific > business involved there

Re: [PATCH] dma-direct: Fix return value of dma_direct_supported

2018-10-05 Thread Christoph Hellwig
On Thu, Oct 04, 2018 at 08:13:26AM -0700, Alexander Duyck wrote: > Thanks for the review. > > - Alex > > P.S. It looks like I forgot to add Christoph to the original mail > since I had just copied the To and Cc from the original submission, so > I added him to the Cc for this. Yes, there was som