From patchwork Thu Jun 25 13:08:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 11625277 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D564A14F6 for ; Thu, 25 Jun 2020 13:11:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ABB3920720 for ; Thu, 25 Jun 2020 13:11:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qy2i9JmG"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="k3Qhpb5G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ABB3920720 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=8bytes.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nNSYXP/J7IE/n7BJ5UJQw+U8aVoDm4iW8nJ5qpXn8dQ=; b=qy2i9JmG5EDlP8LkXkfvhDkuln SFdYhIIzsnVivu/fR5A6iaQ4WmDeVKlFWXd1IHkKTacvmeCAUq/ccs8blBYt+urVmRRfGr1Msuh1G Xe7Kkc3w3QPm2jV8RjnjykoNNLZbRZKGpMzDkplxUeXVo2t4koPrjM6l8PpGgyP4hxTUmMssEqRqI aGLwCtiVjAhknB+7icojjiBk+6vvfovjaZTUwJe1ZKToV/LgpLoLSbE4Np5ZfBn3MV8xjptG+G3X6 LYEo7kYFBbivDwklOpWaCT2642yk/wLJrGJKP5tGs7UMkdbtq2v/ESLfTfWWFbeicqnLBly8z19Ur dwpvThQg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1joRdI-0004DH-Uu; Thu, 25 Jun 2020 13:09:36 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1joRcj-0003x6-13 for linux-arm-kernel@merlin.infradead.org; Thu, 25 Jun 2020 13:09:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ZhAVZXW7s9CiBqpVOjmIdeS/0MzRqDIOBCoxyOEBMr0=; b=k3Qhpb5GjRVx8Ab+1Xaw/6CL42 hQaygBZblCuOqUn8OmT9CCARqA8S7EHmbFSmnER7B1LJT+v6qSs9iBOPdPfPos+nFU+TOUXNUDMnS Wst9mo/+GkgYXbP3FOQro77DsYydK1BulOQayfb7O+z7JKf6yJk90Xtq8/bcnOtH6tmyNQKgZm+lO 9FRuCkQDH4SVpbp7NJCYeaHOz3PVQem2BbwtH1DMwZxRadT/sycJk06CgmgoO5VjNRQKgW/rWeWbf +mBHjCDWL5biQ3uiAd+Fue1wqEji9UqVZyjO1HRSbqxtGL6hmdR1BPsKXyiVbhNh2Z7OzqO51oKVf u7hgP3iw==; Received: from 8bytes.org ([2a01:238:4383:600:38bc:a715:4b6d:a889] helo=theia.8bytes.org) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1joRcd-0006vW-I5 for linux-arm-kernel@lists.infradead.org; Thu, 25 Jun 2020 13:08:59 +0000 Received: by theia.8bytes.org (Postfix, from userid 1000) id 93AF64DE; Thu, 25 Jun 2020 15:08:39 +0200 (CEST) From: Joerg Roedel To: iommu@lists.linux-foundation.org Subject: [PATCH 09/13] x86: Remove dev->archdata.iommu pointer Date: Thu, 25 Jun 2020 15:08:32 +0200 Message-Id: <20200625130836.1916-10-joro@8bytes.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200625130836.1916-1-joro@8bytes.org> References: <20200625130836.1916-1-joro@8bytes.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200625_140856_204876_7B1825EA X-CRM114-Status: GOOD ( 10.40 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-ia64@vger.kernel.org, Heiko Stuebner , David Airlie , Benjamin Herrenschmidt , Joonas Lahtinen , Thierry Reding , Paul Mackerras , Will Deacon , Marek Szyprowski , Michael Ellerman , Joerg Roedel , x86@kernel.org, Russell King , Catalin Marinas , Fenghua Yu , Joerg Roedel , intel-gfx@lists.freedesktop.org, Jani Nikula , Rodrigo Vivi , Matthias Brugger , linux-arm-kernel@lists.infradead.org, Tony Luck , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Daniel Vetter , David Woodhouse , Lu Baolu MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Joerg Roedel There are no users left, all drivers have been converted to use the per-device private pointer offered by IOMMU core. Signed-off-by: Joerg Roedel Acked-by: Borislav Petkov --- arch/x86/include/asm/device.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/device.h b/arch/x86/include/asm/device.h index 49bd6cf3eec9..7c0a52ca2f4d 100644 --- a/arch/x86/include/asm/device.h +++ b/arch/x86/include/asm/device.h @@ -3,9 +3,6 @@ #define _ASM_X86_DEVICE_H struct dev_archdata { -#ifdef CONFIG_IOMMU_API - void *iommu; /* hook for IOMMU specific extension */ -#endif }; struct pdev_archdata {