Re: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-23 Thread Jiang Liu
On 2014/12/24 10:32, Zhang, Yang Z wrote: > Jiang Liu wrote on 2014-12-24: >> On 2014/12/24 9:38, Zhang, Yang Z wrote: >>> Paolo Bonzini wrote on 2014-12-23: On 23/12/2014 10:07, Wu, Feng wrote: >> On 23/12/2014 01:37, Zhang, Yang Z wrote: >>> I don't quite understand it. If

RE: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-23 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-24: > > > Zhang, Yang Z wrote on 2014-12-24: >> Cc: iommu@lists.linux-foundation.org; linux-ker...@vger.kernel.org; >> KVM list; Eric Auger >> Subject: RE: [v3 06/26] iommu, x86: No need to migrating irq for >> VT-d Posted-Interrupts >> >> Jiang Liu wrote on 2014-12-24:

RE: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-23 Thread Wu, Feng
> -Original Message- > From: Zhang, Yang Z > Sent: Wednesday, December 24, 2014 10:33 AM > To: Jiang Liu; Paolo Bonzini; Wu, Feng; Thomas Gleixner; Ingo Molnar; H. Peter > Anvin; x...@kernel.org; Gleb Natapov; dw...@infradead.org; > j...@8bytes.org; Alex Williamson > Cc: iommu@lists.linux

RE: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-23 Thread Zhang, Yang Z
Jiang Liu wrote on 2014-12-24: > On 2014/12/24 9:38, Zhang, Yang Z wrote: >> Paolo Bonzini wrote on 2014-12-23: >>> >>> >>> On 23/12/2014 10:07, Wu, Feng wrote: > On 23/12/2014 01:37, Zhang, Yang Z wrote: >> I don't quite understand it. If user set an interrupt's affinity >> to a CPU,

Re: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-23 Thread Jiang Liu
On 2014/12/24 9:38, Zhang, Yang Z wrote: > Paolo Bonzini wrote on 2014-12-23: >> >> >> On 23/12/2014 10:07, Wu, Feng wrote: On 23/12/2014 01:37, Zhang, Yang Z wrote: > I don't quite understand it. If user set an interrupt's affinity > to a CPU, but he still see the interrupt delivers t

RE: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-23 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2014-12-23: > > > On 23/12/2014 10:07, Wu, Feng wrote: >>> On 23/12/2014 01:37, Zhang, Yang Z wrote: I don't quite understand it. If user set an interrupt's affinity to a CPU, but he still see the interrupt delivers to other CPUs in host. Do you think it is a

[PATCH v2] memory: Add NVIDIA SMMU suspend/resume support

2014-12-23 Thread Mark Zhang
This patch adds suspend/resume support for NVIDIA SMMU. Signed-off-by: Mark Zhang --- Hi Alex/Olof/Thierry/Hiroshi, This patch is created on top of Thierry Reding's patch set: "[PATCH v7 00/12] NVIDIA Tegra memory controller and IOMMU support" Changes since v1: - Remove the list which saves "te

[PATCH] iommu/arm-smmu: don't touch the secure STLBIALL register

2014-12-23 Thread Mitchel Humpherys
Currently we do a STLBIALL when we initialize the SMMU. However, in some configurations that register is not supposed to be touched and is marked as "Secure only" in the spec. Rip it out. Signed-off-by: Mitchel Humpherys --- drivers/iommu/arm-smmu.c | 2 -- 1 file changed, 2 deletions(-) diff

Re: [PATCH 1/2] drivers: Move iommu/ before gpu/ in Makefile

2014-12-23 Thread Oded Gabbay
Hello Linus, Dave Airlie asked me to send this patch to you for review. See link below for cover-letter for this patch that explains the background a bit more: http://lists.freedesktop.org/archives/dri-devel/2014-December/074452.html Thanks, Oded On 12/22/2014 01:07 PM, Oded Gabbay wr

Re: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-23 Thread Paolo Bonzini
On 23/12/2014 10:07, Wu, Feng wrote: >> On 23/12/2014 01:37, Zhang, Yang Z wrote: >>> I don't quite understand it. If user set an interrupt's affinity to a >>> CPU, but he still see the interrupt delivers to other CPUs in host. >>> Do you think it is a right behavior? >> >> No, the interrupt is n

RE: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-23 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Tuesday, December 23, 2014 4:48 PM > To: Zhang, Yang Z; Paolo Bonzini; Wu, Feng; Thomas Gleixner; Ingo Molnar; H. > Peter Anvin; x...@kernel.org; Gleb Natapov; dw...@infradead.

Re: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-23 Thread Paolo Bonzini
On 23/12/2014 01:37, Zhang, Yang Z wrote: > I don't quite understand it. If user set an interrupt's affinity to a > CPU, but he still see the interrupt delivers to other CPUs in host. > Do you think it is a right behavior? No, the interrupt is not delivered at all in the host. Normally you'd ha