From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 1/3] powerpc: Add iommu domain pointer to device archdata Date: Wed, 14 Aug 2013 11:48:03 +0200 Message-ID: <20130814094802.GC4491@8bytes.org> References: <1373863857-27239-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: <1373863857-27239-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: galak-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org, stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org, benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Mon, Jul 15, 2013 at 10:20:55AM +0530, Varun Sethi wrote: > Add an iommu domain pointer to device (powerpc) archdata. Devices > are attached to iommu domains and this pointer provides a mechanism > to correlate between a device and the associated iommu domain. This > field is set when a device is attached to a domain. > > Signed-off-by: Varun Sethi > Acked-by: Kumar Gala > --- > - rebased patch to 3.11-rc1 > arch/powerpc/include/asm/device.h | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Okay, I applied these patches to my ppc/pamu branch. But before I merge it to my next branch (so that it can go upstream) I want to have a compile-test-case first. Can you send me a working .config which includes this driver? Thanks, 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 6A4122C0190 for ; Wed, 14 Aug 2013 20:00:46 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.8bytes.org (Postfix) with SMTP id A74DE12B0E2 for ; Wed, 14 Aug 2013 11:48:06 +0200 (CEST) Date: Wed, 14 Aug 2013 11:48:03 +0200 From: Joerg Roedel To: Varun Sethi Subject: Re: [PATCH 1/3] powerpc: Add iommu domain pointer to device archdata Message-ID: <20130814094802.GC4491@8bytes.org> References: <1373863857-27239-1-git-send-email-Varun.Sethi@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1373863857-27239-1-git-send-email-Varun.Sethi@freescale.com> Cc: stuart.yoder@freescale.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, alex.williamson@redhat.com, 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 Mon, Jul 15, 2013 at 10:20:55AM +0530, Varun Sethi wrote: > Add an iommu domain pointer to device (powerpc) archdata. Devices > are attached to iommu domains and this pointer provides a mechanism > to correlate between a device and the associated iommu domain. This > field is set when a device is attached to a domain. > > Signed-off-by: Varun Sethi > Acked-by: Kumar Gala > --- > - rebased patch to 3.11-rc1 > arch/powerpc/include/asm/device.h | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Okay, I applied these patches to my ppc/pamu branch. But before I merge it to my next branch (so that it can go upstream) I want to have a compile-test-case first. Can you send me a working .config which includes this driver? Thanks, 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 S1759774Ab3HNJsK (ORCPT ); Wed, 14 Aug 2013 05:48:10 -0400 Received: from 8bytes.org ([85.214.48.195]:50130 "EHLO mail.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751507Ab3HNJsJ (ORCPT ); Wed, 14 Aug 2013 05:48:09 -0400 Date: Wed, 14 Aug 2013 11:48:03 +0200 From: Joerg Roedel To: Varun Sethi Cc: iommu@lists.linux-foundation.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, benh@kernel.crashing.org, galak@kernel.crashing.org, alex.williamson@redhat.com, stuart.yoder@freescale.com, scottwood@freescale.com Subject: Re: [PATCH 1/3] powerpc: Add iommu domain pointer to device archdata Message-ID: <20130814094802.GC4491@8bytes.org> References: <1373863857-27239-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: <1373863857-27239-1-git-send-email-Varun.Sethi@freescale.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Wed Aug 14 11:48:07 2013 X-DSPAM-Confidence: 0.9994 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 520b525720862074367239 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 15, 2013 at 10:20:55AM +0530, Varun Sethi wrote: > Add an iommu domain pointer to device (powerpc) archdata. Devices > are attached to iommu domains and this pointer provides a mechanism > to correlate between a device and the associated iommu domain. This > field is set when a device is attached to a domain. > > Signed-off-by: Varun Sethi > Acked-by: Kumar Gala > --- > - rebased patch to 3.11-rc1 > arch/powerpc/include/asm/device.h | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Okay, I applied these patches to my ppc/pamu branch. But before I merge it to my next branch (so that it can go upstream) I want to have a compile-test-case first. Can you send me a working .config which includes this driver? Thanks, Joerg