RE: [v3 02/26] iommu: Add new member capability to struct irq_remap_ops

2015-01-29 Thread Wu, Feng
> -Original Message- > From: David Woodhouse [mailto:dw...@infradead.org] > Sent: Wednesday, January 28, 2015 11:23 PM > To: Wu, Feng > Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; > g...@kernel.org; pbonz...@redhat.com; j...@8bytes.org; > alex.william...@red

RE: [v3 08/26] iommu, x86: Add intel_irq_remapping_capability() for Intel

2015-01-29 Thread Wu, Feng
> -Original Message- > From: David Woodhouse [mailto:dw...@infradead.org] > Sent: Wednesday, January 28, 2015 11:38 PM > To: Wu, Feng > Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; > g...@kernel.org; pbonz...@redhat.com; j...@8bytes.org; > alex.william...@red

Re: [PATCH v4 1/6] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-29 Thread Murali Karicheri
On 01/28/2015 06:32 PM, Laurent Pinchart wrote: Hi Will, On Wednesday 28 January 2015 13:32:19 Will Deacon wrote: On Wed, Jan 28, 2015 at 01:15:10PM +, Laurent Pinchart wrote: On Wednesday 28 January 2015 12:29:42 Will Deacon wrote: On Wed, Jan 28, 2015 at 12:23:03PM +, Laurent Pincha

Re: [PATCH v3 4/6] vfio: type1: replace domain wide protection flags with supported capabilities

2015-01-29 Thread Alex Williamson
On Thu, 2015-01-29 at 12:24 +, GAUGUEY Rémy 228890 wrote: > Hi Antonios, > > On Thu, 27 Nov 2014 18:22:53 Antonios Motakis wrote: > >VFIO_IOMMU_TYPE1 keeps track for each domain it knows a list of protection > >flags it always applies to all mappings in the domain. This is used for > >domains

Re: [PATCH v4 1/6] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-29 Thread Rob Herring
On Wed, Jan 28, 2015 at 5:32 PM, Laurent Pinchart wrote: > Hi Will, > > On Wednesday 28 January 2015 13:32:19 Will Deacon wrote: >> On Wed, Jan 28, 2015 at 01:15:10PM +, Laurent Pinchart wrote: >> > On Wednesday 28 January 2015 12:29:42 Will Deacon wrote: >> >> On Wed, Jan 28, 2015 at 12:23:03

[PATCH v3 4/6] vfio: type1: replace domain wide protection flags with supported capabilities

2015-01-29 Thread GAUGUEY Rémy 228890
Hi Antonios, On Thu, 27 Nov 2014 18:22:53 Antonios Motakis wrote: >VFIO_IOMMU_TYPE1 keeps track for each domain it knows a list of protection >flags it always applies to all mappings in the domain. This is used for >domains that support IOMMU_CAP_CACHE_COHERENCY. > >Refactor this slightly, by kee

intel-iommu/vfio-pci: crash in dmar_insert_dev_info

2015-01-29 Thread Jan Kiszka
Hi Alex, starting to play with Intel IGD pass-through in KVM, I managed to trigger this with linux git head: [ 232.317043] BUG: unable to handle kernel NULL pointer dereference at 0037 [ 232.325249] IP: [] dmar_insert_dev_info+0x86/0x220 [ 232.331905] PGD 0 [ 232.334007] Oops: 0

Re: [PATCH URGENT] arm: dma-mapping: Set DMA IOMMU ops in arm_iommu_attach_device()

2015-01-29 Thread Olof Johansson
On Wed, Jan 28, 2015 at 01:25:35AM +0100, Heiko Stübner wrote: > Hi Arnd, Olof, > > Am Freitag, 23. Januar 2015, 16:21:49 schrieb Laurent Pinchart: > > Commit 4bb25789ed28228a ("arm: dma-mapping: plumb our iommu mapping ops > > into arch_setup_dma_ops") moved the setting of the DMA operations from

Re: intel-iommu/vfio-pci: crash in dmar_insert_dev_info

2015-01-29 Thread Alex Williamson
On Thu, 2015-01-29 at 19:21 +0100, Jan Kiszka wrote: > Hi Alex, > > starting to play with Intel IGD pass-through in KVM, I managed to > trigger this with linux git head: > > [ 232.317043] BUG: unable to handle kernel NULL pointer dereference at > 0037 > [ 232.325249] IP: [] dmar_in

Re: [PATCH v4 1/6] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-29 Thread Laurent Pinchart
Hi Rob, On Thursday 29 January 2015 10:49:38 Rob Herring wrote: > On Wed, Jan 28, 2015 at 5:32 PM, Laurent Pinchart wrote: > > On Wednesday 28 January 2015 13:32:19 Will Deacon wrote: > >> On Wed, Jan 28, 2015 at 01:15:10PM +, Laurent Pinchart wrote: > >>> On Wednesday 28 January 2015 12:29:42

RE: [PATCH v2 01/26] iommu/fsl: Sprinkle some __init* annotations

2015-01-29 Thread Varun Sethi
Hi Emil, > -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH v2 01/26] iommu/fs

Re: [PATCH v2 01/26] iommu/fsl: Sprinkle some __init* annotations

2015-01-29 Thread Emil Medve
Hello Varun, On 01/30/2015 12:46 AM, Sethi Varun-B16395 wrote: > Hi Emil, > >> -Original Message- >> From: Emil Medve [mailto:emilian.me...@freescale.com] >> Sent: Wednesday, January 28, 2015 8:05 PM >> To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; >> Sethi Varu

RE: [PATCH 02/26] iommu/fsl: Use SVR_* instead of magic numbers

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 02/26] iommu/fsl: Use SVR_

RE: [PATCH 03/26] iommu/fsl: Remove unused/extra includes

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 03/26] iommu/fsl: Remove u

RE: [PATCH 04/26] iommu/fsl: Fix checkpatch type SPACE_BEFORE_TAB

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 04/26] iommu/fsl: Fix chec

RE: [PATCH 05/26] iommu/fsl: Fix checkpatch type LINE_SPACING

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 05/26] iommu/fsl: Fix chec

RE: [PATCH 06/26] iommu/fsl: Fix checkpatch type LEADING_SPACE

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 06/26] iommu/fsl: Fix chec

RE: [PATCH 07/26] iommu/fsl: Fix checkpath type BRACES

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 07/26] iommu/fsl: Fix chec

RE: [PATCH 09/26] iommu/fsl: Fix checkpatch type ALLOC_SIZEOF_STRUCT

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 09/26] iommu/fsl: Fix chec

RE: [PATCH 10/26] iommu/fsl: Fix checkpatch type ALLOC_WITH_MULTIPLY

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 10/26] iommu/fsl: Fix chec

RE: [PATCH 08/26] iommu/fsl: Fix checkpatch type CODE_INDENT

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 08/26] iommu/fsl: Fix chec

RE: [PATCH 12/26] iommu/fsl: Fix checkpatch type TYPO_SPELLING

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 12/26] iommu/fsl: Fix chec

RE: [PATCH 13/26] iommu/fsl: Fix checkpatch type PREFER_PACKED

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 13/26] iommu/fsl: Fix chec

RE: [PATCH 14/26] iommu/fsl: Fix checkpatch type QUOTED_WHITESPACE_BEFORE_NEWLINE

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 14/26] iommu/fsl: Fix chec

RE: [PATCH 15/26] iommu/fsl: Fix checkpatch type SPACING

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 15/26] iommu/fsl: Fix chec

RE: [PATCH 16/26] iommu/fsl: Use a device pointer to make lines shorter

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 16/26] iommu/fsl: Use a de

RE: [PATCH 17/26] iommu/fsl: Remove pr/dev_*() prefixes

2015-01-29 Thread Varun Sethi
> -Original Message- > From: Emil Medve [mailto:emilian.me...@freescale.com] > Sent: Wednesday, January 28, 2015 8:05 PM > To: iommu@lists.linux-foundation.org; j...@8bytes.org; jroe...@suse.de; > Sethi Varun-B16395 > Cc: Medve Emilian-EMMEDVE1 > Subject: [PATCH 17/26] iommu/fsl: Remove p