Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp530685ybt; Fri, 26 Jun 2020 05:34:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1bJ2qj0upf5T9z3XLt27Spn6jZ/24clFwV70LxorgFzFgcmCyu6meiD9yy7rh6LV4h8XJ X-Received: by 2002:a05:6402:1655:: with SMTP id s21mr2418824edx.289.1593174864931; Fri, 26 Jun 2020 05:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593174864; cv=none; d=google.com; s=arc-20160816; b=ioV0sIr1T0m21JLpASPJHY7XW3+2HVRQorMT5bvGN5Dy5aCGMKwnXknsXYFm/t9CHc qSw+fqhlnG+LkMf5gCFwe6teJc0BTH7tGsoczxMLmixXH2C7u739i+R0cbbgDE3czEY1 MlfgTWV0uvBDHC582fhyD4+YWpK7uYEE4sl87HglDjA//f3QtNc/8PmttJKf/64LJZQJ oAo1SwOv8glJsq2+k9WGWPTx5+aNaiFZFOq5ADxXN3Bj63ZCpwi51F2VQXgeDKjA8+XL pLbO7w2HGMxCF2Nl7IIaFl54WbL9uaYfA8BmjNiMW3D1owuCRZPFWbt3PhSH0aKYj/mW ZUrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=yucFdKjCgoeX7C5mwPW8/rg/saxXn/xSVvZ7fS34kZo=; b=FpvoZNS86RXWkm92fRGIcYDXdPcMgrkOe6JFMNHnKFYOmA7ER3HvyM32Hq2KsJLn2P N3fUYIm1L6Htj7D+AgGfedGevhx5cxoJ/G4wt0uVmPlC7uverFCjm6I6lyw8sRx7gZKE FsEPgm0mW58AKRaD3o3VcaBPAmFNJOGEcBh84Hbxj33/dgQeHQVDT3XoIdLgpNCkX6Vx b49QRgwZpunWH/ReDpN/Yq0e1w8aGPO6Lqr8/KQelakl6v8lPAbdHeAMDqxHrzKS1yCa feQ8vMdJvzxmUSm7JcRdoZC9FZs+WOIf0+pNGDO9txThKuul4VpLW2qIGGJ8Q7f4aX0y LMDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=BiSmIrJG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si17230857edm.63.2020.06.26.05.34.01; Fri, 26 Jun 2020 05:34:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=BiSmIrJG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728688AbgFZLqN (ORCPT + 99 others); Fri, 26 Jun 2020 07:46:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbgFZLqM (ORCPT ); Fri, 26 Jun 2020 07:46:12 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53D61C08C5C1; Fri, 26 Jun 2020 04:46:12 -0700 (PDT) Received: from zn.tnic (p200300ec2f0d140021dd7ed6b715c4c4.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:1400:21dd:7ed6:b715:c4c4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 23A021EC0328; Fri, 26 Jun 2020 13:46:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1593171969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=yucFdKjCgoeX7C5mwPW8/rg/saxXn/xSVvZ7fS34kZo=; b=BiSmIrJGCJ0faVBTZtyCh7yIB1Uqh9DHPhI2oITaZpZkMxJelcG9IUXj87k4aPSN9CDwfQ NWSmB1HxwZn/+psfecdpLWBxf30ds9kL9HUXdAG1jYW/DrYmbBsZMtJGqwHemik4kwPaUw f1ErWNzJemfGf7t3q9dl/erT/q4WHto= Date: Fri, 26 Jun 2020 13:46:03 +0200 From: Borislav Petkov To: Joerg Roedel Cc: iommu@lists.linux-foundation.org, Russell King , Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , x86@kernel.org, Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Marek Szyprowski , David Woodhouse , Lu Baolu , Matthias Brugger , Heiko Stuebner , Thierry Reding , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, intel-gfx@lists.freedesktop.org, Joerg Roedel Subject: Re: [PATCH 09/13] x86: Remove dev->archdata.iommu pointer Message-ID: <20200626114603.GC27151@zn.tnic> References: <20200625130836.1916-1-joro@8bytes.org> <20200625130836.1916-10-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200625130836.1916-10-joro@8bytes.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 25, 2020 at 03:08:32PM +0200, Joerg Roedel wrote: > 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 > --- > 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 { > -- Acked-by: Borislav Petkov -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette