From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 0/5 v11] iommu/fsl: Freescale PAMU driver and IOMMU API implementation. Date: Tue, 2 Apr 2013 18:23:12 +0200 Message-ID: <20130402162310.GJ15687@8bytes.org> References: <1364500442-20927-1-git-send-email-Varun.Sethi@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1364500442-20927-1-git-send-email-Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Varun Sethi Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, galak-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org, stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org, scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Fri, Mar 29, 2013 at 01:23:57AM +0530, Varun Sethi wrote: > This patchset provides the Freescale PAMU (Peripheral Access Management Unit) driver > and the corresponding IOMMU API implementation. PAMU is the IOMMU present on Freescale > QorIQ platforms. PAMU can authorize memory access, remap the memory address, and remap > the I/O transaction type. > > This set consists of the following patches: > 1. Make iova dma_addr_t in the iommu_iova_to_phys API. > 2. Addition of new field in the device (powerpc) archdata structure for storing iommu domain information > pointer. > 3. Add window permission flags in the iommu_domain_window_enable API. > 4. Add domain attributes for FSL PAMU driver. > 5. PAMU driver and IOMMU API implementation. Okay, I am about to apply patches 1 and 3 to a new ppc/pamu branch in my tree. As a general question, how did you test the IOMMU driver and what will you do in the future to avoid regressions? Joerg From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.8bytes.org (8bytes.org [IPv6:2a01:238:4242:f000:64f:6c43:3523:e535]) by ozlabs.org (Postfix) with ESMTP id 8E0EF2C013C for ; Wed, 3 Apr 2013 03:23:17 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.8bytes.org (Postfix) with SMTP id 98E0E12AFD2 for ; Tue, 2 Apr 2013 18:23:14 +0200 (CEST) Date: Tue, 2 Apr 2013 18:23:12 +0200 From: Joerg Roedel To: Varun Sethi Subject: Re: [PATCH 0/5 v11] iommu/fsl: Freescale PAMU driver and IOMMU API implementation. Message-ID: <20130402162310.GJ15687@8bytes.org> References: <1364500442-20927-1-git-send-email-Varun.Sethi@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1364500442-20927-1-git-send-email-Varun.Sethi@freescale.com> Cc: linux-kernel@vger.kernel.org, stuart.yoder@freescale.com, iommu@lists.linux-foundation.org, scottwood@freescale.com, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Mar 29, 2013 at 01:23:57AM +0530, Varun Sethi wrote: > This patchset provides the Freescale PAMU (Peripheral Access Management Unit) driver > and the corresponding IOMMU API implementation. PAMU is the IOMMU present on Freescale > QorIQ platforms. PAMU can authorize memory access, remap the memory address, and remap > the I/O transaction type. > > This set consists of the following patches: > 1. Make iova dma_addr_t in the iommu_iova_to_phys API. > 2. Addition of new field in the device (powerpc) archdata structure for storing iommu domain information > pointer. > 3. Add window permission flags in the iommu_domain_window_enable API. > 4. Add domain attributes for FSL PAMU driver. > 5. PAMU driver and IOMMU API implementation. Okay, I am about to apply patches 1 and 3 to a new ppc/pamu branch in my tree. As a general question, how did you test the IOMMU driver and what will you do in the future to avoid regressions? Joerg From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932856Ab3DBQXR (ORCPT ); Tue, 2 Apr 2013 12:23:17 -0400 Received: from 8bytes.org ([85.214.48.195]:54085 "EHLO mail.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760564Ab3DBQXP (ORCPT ); Tue, 2 Apr 2013 12:23:15 -0400 Date: Tue, 2 Apr 2013 18:23:12 +0200 From: Joerg Roedel To: Varun Sethi Cc: stuart.yoder@freescale.com, scottwood@freescale.com, iommu@lists.linux-foundation.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, galak@kernel.crashing.org, benh@kernel.crashing.org Subject: Re: [PATCH 0/5 v11] iommu/fsl: Freescale PAMU driver and IOMMU API implementation. Message-ID: <20130402162310.GJ15687@8bytes.org> References: <1364500442-20927-1-git-send-email-Varun.Sethi@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1364500442-20927-1-git-send-email-Varun.Sethi@freescale.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Tue Apr 2 18:23:14 2013 X-DSPAM-Confidence: 0.9990 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 515b05f223675883760883 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 29, 2013 at 01:23:57AM +0530, Varun Sethi wrote: > This patchset provides the Freescale PAMU (Peripheral Access Management Unit) driver > and the corresponding IOMMU API implementation. PAMU is the IOMMU present on Freescale > QorIQ platforms. PAMU can authorize memory access, remap the memory address, and remap > the I/O transaction type. > > This set consists of the following patches: > 1. Make iova dma_addr_t in the iommu_iova_to_phys API. > 2. Addition of new field in the device (powerpc) archdata structure for storing iommu domain information > pointer. > 3. Add window permission flags in the iommu_domain_window_enable API. > 4. Add domain attributes for FSL PAMU driver. > 5. PAMU driver and IOMMU API implementation. Okay, I am about to apply patches 1 and 3 to a new ppc/pamu branch in my tree. As a general question, how did you test the IOMMU driver and what will you do in the future to avoid regressions? Joerg