Re: [PATCH v3 linux-next] iommu: Enable LPAE pagetable on ARM and ARM64 only

2015-02-23 Thread Laurent Pinchart
On Tuesday 24 February 2015 01:20:21 Vincent Stehlé wrote: > LPAE iommu page table makes sense only for ARM and ARM64 architectures. Add > the corresponding dependency in Kconfig (and enable for COMPILE_TEST, too, > as per Laurent's suggestion). > > Signed-off-by: Vincent Stehlé > Suggested-by: L

[PATCH v3 linux-next] iommu: Enable LPAE pagetable on ARM and ARM64 only

2015-02-23 Thread Vincent Stehlé
LPAE iommu page table makes sense only for ARM and ARM64 architectures. Add the corresponding dependency in Kconfig (and enable for COMPILE_TEST, too, as per Laurent's suggestion). Signed-off-by: Vincent Stehlé Suggested-by: Laurent Pinchart Cc: Will Deacon --- On 02/24/2015 01:02 AM, Laurent

Re: [PATCH v2 linux-next] iommu: Enable LPAE pagetable on ARM only

2015-02-23 Thread Laurent Pinchart
Hi Vincent, On Tuesday 24 February 2015 01:58:17 Laurent Pinchart wrote: > On Tuesday 24 February 2015 00:55:21 Vincent Stehlé wrote: > > LPAE iommu page table makes sense only for ARM architecture. Add the > > corresponding dependency in Kconfig (and enable for COMPILE_TEST, too, as > > per Laure

Re: [PATCH v2 linux-next] iommu: Enable LPAE pagetable on ARM only

2015-02-23 Thread Laurent Pinchart
Hi Vincent, Thank you for the patch. On Tuesday 24 February 2015 00:55:21 Vincent Stehlé wrote: > LPAE iommu page table makes sense only for ARM architecture. Add the > corresponding dependency in Kconfig (and enable for COMPILE_TEST, too, as > per Laurent's suggestion). > > Signed-off-by: Vince

[PATCH v2 linux-next] iommu: Enable LPAE pagetable on ARM only

2015-02-23 Thread Vincent Stehlé
LPAE iommu page table makes sense only for ARM architecture. Add the corresponding dependency in Kconfig (and enable for COMPILE_TEST, too, as per Laurent's suggestion). Signed-off-by: Vincent Stehlé Suggested-by: Laurent Pinchart Cc: Will Deacon --- Changes since v1: - Add condition on COMPIL

Re: [PATCH linux-next] iommu: Enable LPAE pagetable on ARM only

2015-02-23 Thread Vincent Stehlé
On 02/23/2015 05:52 PM, Laurent Pinchart wrote: (runtime warning) > I suppose this is caused by the selftest code ? Hi Laurent, Thanks for your feedback. You are right, this is the selftest code. Here are the traces just before the first warnings: arm-lpae io-pgtable: selftest: pgsize_bitmap 0

Re: [PATCH v6 0/7] PCI: get DMA configuration from parent device

2015-02-23 Thread Murali Karicheri
On 02/23/2015 05:15 PM, Bjorn Helgaas wrote: On Mon, Feb 23, 2015 at 4:08 PM, Murali Karicheri wrote: On 02/11/2015 11:58 AM, Murali Karicheri wrote: On 02/11/2015 11:54 AM, Murali Karicheri wrote: On 02/06/2015 01:36 PM, Murali Karicheri wrote: On 02/06/2015 12:53 PM, Bjorn Helgaas wrote

Re: [v3 23/26] KVM: Update Posted-Interrupts Descriptor when vCPU is preempted

2015-02-23 Thread Marcelo Tosatti
On Fri, Dec 12, 2014 at 11:14:57PM +0800, Feng Wu wrote: > This patch updates the Posted-Interrupts Descriptor when vCPU > is preempted. > > sched out: > - Set 'SN' to suppress furture non-urgent interrupts posted for > the vCPU. What wakes the vcpu in the case of a non-urgent interrupt, then? I

Re: [PATCH v6 0/7] PCI: get DMA configuration from parent device

2015-02-23 Thread Bjorn Helgaas
On Mon, Feb 23, 2015 at 4:08 PM, Murali Karicheri wrote: > On 02/11/2015 11:58 AM, Murali Karicheri wrote: >> >> On 02/11/2015 11:54 AM, Murali Karicheri wrote: >>> >>> On 02/06/2015 01:36 PM, Murali Karicheri wrote: On 02/06/2015 12:53 PM, Bjorn Helgaas wrote: > > On Fri, Feb 6,

Re: [PATCH v6 0/7] PCI: get DMA configuration from parent device

2015-02-23 Thread Murali Karicheri
On 02/11/2015 11:58 AM, Murali Karicheri wrote: On 02/11/2015 11:54 AM, Murali Karicheri wrote: On 02/06/2015 01:36 PM, Murali Karicheri wrote: On 02/06/2015 12:53 PM, Bjorn Helgaas wrote: On Fri, Feb 6, 2015 at 9:28 AM, Murali Karicheri wrote: On 02/06/2015 10:15 AM, Catalin Marinas wrote:

Re: [v3 21/26] x86, irq: Define a global vector for VT-d Posted-Interrupts

2015-02-23 Thread Marcelo Tosatti
On Fri, Dec 12, 2014 at 11:14:55PM +0800, Feng Wu wrote: > Currently, we use a global vector as the Posted-Interrupts > Notification Event for all the vCPUs in the system. We need > to introduce another global vector for VT-d Posted-Interrtups, > which will be used to wakeup the sleep vCPU when an

[PATCH linux-next] iommu: Enable LPAE pagetable on ARM only

2015-02-23 Thread Vincent Stehlé
LPAE iommu page table makes sense only for ARM architecture. Add the corresponding dependency in Kconfig. This fixes the following runtime warnings on PA-RISC architecture: WARNING: at drivers/iommu/io-pgtable-arm.c:413 Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.19.0-nex

Re: [PATCH linux-next] iommu: Enable LPAE pagetable on ARM only

2015-02-23 Thread Laurent Pinchart
Hi Vincent, Thank you for the patch. On Sunday 22 February 2015 17:09:06 Vincent Stehlé wrote: > LPAE iommu page table makes sense only for ARM architecture. Add the > corresponding dependency in Kconfig. > > This fixes the following runtime warnings on PA-RISC architecture: I suppose this is c

[PATCH v2] iommu/io-pgtable-arm: Add built time dependency

2015-02-23 Thread Jean Delvare
If io-pgtable-arm is an ARM-specific driver then configuration option IOMMU_IO_PGTABLE_LPAE should not be presented to the user by default for non-ARM kernels. Signed-off-by: Jean Delvare Cc: Will Deacon Cc: Joerg Roedel --- Changes since v1: * Added ARM64 as suggested by Will Deacon. driver

Re: [PATCH] iommu/io-pgtable-arm: Add built time dependency

2015-02-23 Thread Jean Delvare
Hi Will, On Sun, 22 Feb 2015 13:09:42 +, Will Deacon wrote: > On Fri, Feb 20, 2015 at 07:46:42PM +, Jean Delvare wrote: > > On Fri, 20 Feb 2015 19:19:43 +, Will Deacon wrote: > > > On Fri, Feb 20, 2015 at 06:44:45PM +, Jean Delvare wrote: > > > > If io-pgtable-arm is an ARM-specifi