Re: [RFC PATCH 5/7] iommu/arm-smmu-v3: For ACPI based device probing, set relevant options for different SMMUv3 implementations.

2017-04-12 Thread Linu Cherian
>> + switch (model) { >> + case ACPI_IORT_SMMU_V3: >> + case ACPI_IORT_SMMU_CORELINK_MMU600: >> + break; >> + case ACPI_IORT_SMMU_V3_HISILICON: >> + smmu->options |= ARM_SMMU_OPT_SKIP_PREFETCH; >> + break; >> + case ACPI_IORT_SMMU_V3_CAVIUM_CN

Re: [PATCH V5] drm/i915: Disable stolen memory when i915 runs on qemu

2017-04-12 Thread Joonas Lahtinen
+ Kevin and David On ke, 2017-04-12 at 20:20 +0800, Xiong Zhang wrote: > Stolen memory isn't a standard pci resource and exists in RMRR which has > identity mapping in iommu table, IGD could access stolen memory in host OS. > While according to 'commit c875d2c1b808 ("iommu/vt-d: Exclude devices us

Re: [RFC PATCH 4/7] ACPICA: IORT: Add SMMuV3 model definitions.

2017-04-12 Thread Lorenzo Pieralisi
On Tue, Apr 11, 2017 at 10:27:55PM +0530, Sunil Kovvuri wrote: > On Tue, Apr 11, 2017 at 9:29 PM, Robin Murphy wrote: > > On 11/04/17 15:42, linucher...@gmail.com wrote: > >> From: Linu Cherian > >> > >> Add SMMuV3 model definitions. > >> > >> Signed-off-by: Linu Cherian > >> --- > >> include/a

Re: [PATCH v4 2/2] PCI: quirks: Fix ThunderX2 dma alias handling

2017-04-12 Thread Bjorn Helgaas
On Tue, Apr 11, 2017 at 03:27:02PM +, Jayachandran C wrote: > On Tue, Apr 11, 2017 at 08:41:25AM -0500, Bjorn Helgaas wrote: > > [+cc Joerg] > > > > On Tue, Apr 11, 2017 at 07:10:48AM +, Jayachandran C wrote: > > > On Mon, Apr 10, 2017 at 08:28:47PM -0500, Bjorn Helgaas wrote: > > > > Hi J

Re: [PATCH v4 2/2] PCI: quirks: Fix ThunderX2 dma alias handling

2017-04-12 Thread Jayachandran C
On Wed, Apr 12, 2017 at 11:21:18AM -0500, Bjorn Helgaas wrote: > On Tue, Apr 11, 2017 at 03:27:02PM +, Jayachandran C wrote: > > On Tue, Apr 11, 2017 at 08:41:25AM -0500, Bjorn Helgaas wrote: > > > [+cc Joerg] > > > > > > On Tue, Apr 11, 2017 at 07:10:48AM +, Jayachandran C wrote: > > > >

Re: [RFC 0/3] virtio-iommu: a paravirtualized IOMMU

2017-04-12 Thread Jason Wang
On 2017年04月08日 03:17, Jean-Philippe Brucker wrote: This is the initial proposal for a paravirtualized IOMMU device using virtio transport. It contains a description of the device, a Linux driver, and a toy implementation in kvmtool. With this prototype, you can translate DMA to guest memory fro

Re: [RFC PATCH 5/7] iommu/arm-smmu-v3: For ACPI based device probing, set relevant options for different SMMUv3 implementations.

2017-04-12 Thread Robert Richter
Linu, On 11.04.17 20:12:43, linucher...@gmail.com wrote: > From: Linu Cherian > > Enable SKIP_PREFETCH option for HiSilicon SMMUv3 model. > Enable PAGE0_REGS_ONLY and USE_SHARED_IRQS options for > Cavium 99xx SMMUv3 model. > > Signed-off-by: Linu Cherian > --- > drivers/iommu/arm-smmu-v3.c |

Re: [PATCH v4 2/2] PCI: quirks: Fix ThunderX2 dma alias handling

2017-04-12 Thread Bjorn Helgaas
On Wed, Apr 12, 2017 at 06:10:34PM +, Jayachandran C wrote: > On Wed, Apr 12, 2017 at 11:21:18AM -0500, Bjorn Helgaas wrote: > > On Tue, Apr 11, 2017 at 03:27:02PM +, Jayachandran C wrote: > > > On Tue, Apr 11, 2017 at 08:41:25AM -0500, Bjorn Helgaas wrote: > > > > [+cc Joerg] > > > > > >

Re: [PATCH v4 2/2] PCI: quirks: Fix ThunderX2 dma alias handling

2017-04-12 Thread Jayachandran C
On Wed, Apr 12, 2017 at 02:11:38PM -0500, Bjorn Helgaas wrote: > On Wed, Apr 12, 2017 at 06:10:34PM +, Jayachandran C wrote: > > On Wed, Apr 12, 2017 at 11:21:18AM -0500, Bjorn Helgaas wrote: > > > On Tue, Apr 11, 2017 at 03:27:02PM +, Jayachandran C wrote: > > > > On Tue, Apr 11, 2017 at 0

Re: [PATCH] iommu/vt-d: Make sure IOMMUs are off when intel_iommu=off

2017-04-12 Thread Joerg Roedel
Hi Baoquan, On Wed, Apr 12, 2017 at 09:40:56AM +0800, Baoquan He wrote: > Do you plan to merge this one as urgent? > > There's bug created about this issue on rhel, it would be great if it > can be put in next or merged so that we can back port it. No, I am not sending this for v4.11, because th

Re: [PATCH] iommu/vt-d: Make sure IOMMUs are off when intel_iommu=off

2017-04-12 Thread Baoquan He
On 04/12/17 at 11:54pm, Joerg Roedel wrote: > Hi Baoquan, > > On Wed, Apr 12, 2017 at 09:40:56AM +0800, Baoquan He wrote: > > Do you plan to merge this one as urgent? > > > > There's bug created about this issue on rhel, it would be great if it > > can be put in next or merged so that we can back

Re: [PATCH v4 2/2] PCI: quirks: Fix ThunderX2 dma alias handling

2017-04-12 Thread Bjorn Helgaas
On Wed, Apr 12, 2017 at 08:41:20PM +, Jayachandran C wrote: > On Wed, Apr 12, 2017 at 02:11:38PM -0500, Bjorn Helgaas wrote: > > On Wed, Apr 12, 2017 at 06:10:34PM +, Jayachandran C wrote: > > > On Wed, Apr 12, 2017 at 11:21:18AM -0500, Bjorn Helgaas wrote: > > > > On Tue, Apr 11, 2017 at 0

RE: [PATCH V5] drm/i915: Disable stolen memory when i915 runs on qemu

2017-04-12 Thread Zhang, Xiong Y
> + Kevin and David > > On ke, 2017-04-12 at 20:20 +0800, Xiong Zhang wrote: > > Stolen memory isn't a standard pci resource and exists in RMRR which has > > identity mapping in iommu table, IGD could access stolen memory in host > OS. > > While according to 'commit c875d2c1b808 ("iommu/vt-d: Excl

Re: [PATCH v4 2/2] PCI: quirks: Fix ThunderX2 dma alias handling

2017-04-12 Thread Jon Masters
On 04/04/2017 10:28 AM, Robin Murphy wrote: > So (at the risk of Jon mooing at me) m -- Computer Architect | Sent from my Fedora powered laptop ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mail