Message ID | 1461831323-5480-4-git-send-email-eric.auger@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 134539F1C1 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 28 Apr 2016 08:17:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A9A420225 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 28 Apr 2016 08:17:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88F4820274 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 28 Apr 2016 08:17:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1avh7V-0000af-Me; Thu, 28 Apr 2016 08:16:21 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1avh7A-0000J5-EZ for linux-arm-kernel@lists.infradead.org; Thu, 28 Apr 2016 08:16:00 +0000 Received: by mail-wm0-x22b.google.com with SMTP id g17so27710046wme.1 for <linux-arm-kernel@lists.infradead.org>; Thu, 28 Apr 2016 01:15:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=09N64aywEGNO0fhwQxQi7W/5ig3IHTDF3eT1pmu/nCo=; b=MY/WlclUVj7guNDi0v5v05q1/5PHsQYwGdzG7Dz2kbWJU+1+Ijdhk3uRYmHy2I2Q4O 6Rtw1pvHrnouX9OxNv3Fz4GR/h9Zjm5YRt6ho8csv0KA0vYzXuMjPN+TNcapqeWG1bv3 VO/BkyHrGEsL7WDnwqhMPVmY245lQ8vS9tn4U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=09N64aywEGNO0fhwQxQi7W/5ig3IHTDF3eT1pmu/nCo=; b=nC0uv4IqaQ1gMiQZfAF5ykM/nCCcTutz+3kXBRKvBXt7ERObmYFSJMjEmw7EggWPkf dqujvBUCpNRozRuLbZUSWIAiFWEM8jCT8u1jL004lrxl2XiCl2g9fUIRGCLbgB129JL+ Fh4l1X3XR3bFbQVhbBQCAYRjFT3kSqZbcupy6RyQ09ptxeo8mH3tuFsO9FTPP75u6LRi sWahT8SiqZvMxzz2EPiySlHrAZIeLd//+YECG4ALT8OcOo+CFkAqW7bJkb4AbgHPhXg4 GnIPLkXKy1hxEp7aDUi4reo5hUCpig0VaE37O576Mozte7RdHIO9n+aRpX1yihl8patx Re1Q== X-Gm-Message-State: AOPr4FUNFPuFhjnXlCxwa9xCS107AsW6pRTWDxh3FLsnz976E6P1wFBsSTF+9qiJxfjOwvkN X-Received: by 10.28.174.70 with SMTP id x67mr14047786wme.43.1461831338793; Thu, 28 Apr 2016 01:15:38 -0700 (PDT) Received: from new-host-46.home (LMontsouris-657-1-37-90.w80-11.abo.wanadoo.fr. [80.11.198.90]) by smtp.gmail.com with ESMTPSA id h8sm12749860wmd.2.2016.04.28.01.15.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Apr 2016 01:15:37 -0700 (PDT) From: Eric Auger <eric.auger@linaro.org> To: eric.auger@st.com, eric.auger@linaro.org, robin.murphy@arm.com, alex.williamson@redhat.com, will.deacon@arm.com, joro@8bytes.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, christoffer.dall@linaro.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v8 3/8] iommu: introduce an msi cookie Date: Thu, 28 Apr 2016 08:15:18 +0000 Message-Id: <1461831323-5480-4-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461831323-5480-1-git-send-email-eric.auger@linaro.org> References: <1461831323-5480-1-git-send-email-eric.auger@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160428_011600_650332_0F28E5D4 X-CRM114-Status: GOOD ( 10.94 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: julien.grall@arm.com, patches@linaro.org, Jean-Philippe.Brucker@arm.com, p.fedin@samsung.com, linux-kernel@vger.kernel.org, Bharat.Bhushan@freescale.com, iommu@lists.linux-foundation.org, pranav.sawargaonkar@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index ea5d288..cb8d30a 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -91,6 +91,7 @@ struct iommu_domain { struct iommu_domain_geometry geometry; struct iommu_domain_msi_geometry msi_geometry; void *iova_cookie; + void *msi_cookie; }; enum iommu_cap {
This opaque pointer will enable to store information about msi iommu mappings. Signed-off-by: Eric Auger <eric.auger@linaro.org> --- v7 -> v8: remove spinlock and RB tree v5 -> v6: - initialize reserved_binding_list - use a spinlock instead of a mutex --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+)