Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758043AbaFZSIa (ORCPT ); Thu, 26 Jun 2014 14:08:30 -0400 Received: from mail-by2lp0235.outbound.protection.outlook.com ([207.46.163.235]:7360 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754775AbaFZSI3 convert rfc822-to-8bit (ORCPT ); Thu, 26 Jun 2014 14:08:29 -0400 From: "Chalamarla, Tirumalesh" To: Joerg Roedel , Will Deacon CC: "stuart.yoder@freescale.com" , "kvm@vger.kernel.org" , open list , "iommu@lists.linux-foundation.org" , "alex.williamson@redhat.com" , "moderated list:ARM SMMU DRIVER" , "tech@virtualopensystems.com" , "kvmarm@lists.cs.columbia.edu" , Christoffer Dall Subject: RE: [RFC PATCH v6 04/20] iommu/arm-smmu: add capability IOMMU_CAP_INTR_REMAP Thread-Topic: [RFC PATCH v6 04/20] iommu/arm-smmu: add capability IOMMU_CAP_INTR_REMAP Thread-Index: AQHPgOBbNdL1uGTtt0GgwoLMBshUy5tnB9yAgAzb7QCAAAWEgIAAAl8AgAAA+ACAAAOpAIAP3+jg Date: Thu, 26 Jun 2014 18:08:25 +0000 Message-ID: <9353770066894e85809e1e443b71d1cd@BY2PR07MB203.namprd07.prod.outlook.com> References: <1401987808-23596-1-git-send-email-a.motakis@virtualopensystems.com> <1401987808-23596-5-git-send-email-a.motakis@virtualopensystems.com> <20140608103129.GC3279@lvm> <20140616145344.GD18986@8bytes.org> <20140616151329.GQ16758@arm.com> <20140616152157.GB31771@8bytes.org> <20140616152526.GR16758@arm.com> <20140616153832.GC31771@8bytes.org> In-Reply-To: <20140616153832.GC31771@8bytes.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [64.2.3.195] x-microsoft-antispam: BCL:0;PCL:0;RULEID: x-forefront-prvs: 02543CD7CD x-forefront-antispam-report: SFV:NSPM;SFS:(6009001)(24454002)(13464003)(199002)(189002)(377454003)(85306003)(99396002)(64706001)(20776003)(33646001)(92566001)(76482001)(50986999)(81542001)(80022001)(79102001)(77096002)(81342001)(66066001)(86362001)(4396001)(105586002)(83322001)(76576001)(15975445006)(106116001)(19580405001)(54356999)(106356001)(19580395003)(74662001)(31966008)(74502001)(107046002)(21056001)(76176999)(74316001)(46102001)(93886003)(77982001)(2656002)(101416001)(95666004)(83072002)(87936001)(85852003)(24736002)(217873001);DIR:OUT;SFP:;SCL:1;SRVR:BY2PR07MB203;H:BY2PR07MB203.namprd07.prod.outlook.com;FPR:;MLV:sfv;PTR:InfoNoRecords;MX:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: caviumnetworks.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Forgive me if this discussion is not relative here, but I thought it is. How is VFIO restricting devices from writing to MSI/MSI-X, Is all the vector area is mapped by VFIO to trap the accesses. I am asking this because we might need to emulate ITS somewhere either in KVM or VFIO to provide direct access to devices. And I don't see any mentions on that. I think this flag needs to be set by ITS emulation. Regards, Tirumalesh. -----Original Message----- From: kvmarm-bounces@lists.cs.columbia.edu [mailto:kvmarm-bounces@lists.cs.columbia.edu] On Behalf Of Joerg Roedel Sent: Monday, June 16, 2014 8:39 AM To: Will Deacon Cc: stuart.yoder@freescale.com; kvm@vger.kernel.org; open list; iommu@lists.linux-foundation.org; alex.williamson@redhat.com; moderated list:ARM SMMU DRIVER; tech@virtualopensystems.com; kvmarm@lists.cs.columbia.edu; Christoffer Dall Subject: Re: [RFC PATCH v6 04/20] iommu/arm-smmu: add capability IOMMU_CAP_INTR_REMAP On Mon, Jun 16, 2014 at 04:25:26PM +0100, Will Deacon wrote: > Ok, thanks. In which case, I think this is really a combined property > of the SMMU and the interrupt controller, so we might need some extra > code so that the SMMU can check that the interrupt controller for the > device is also capable of interrupt remapping. Right, that this is part of IOMMU code has more or less historic reasons on x86. Interrupt remapping is purely implemented in the IOMMU there, so on ARM some clue-code between interrupt controler and smmu is needed. Joerg _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/