Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp800025imu; Tue, 27 Nov 2018 06:30:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/V4HesBOPArNURya44srSXoGrgWSRJkxx/mXHV8G0fV+cuQuKDcH+Maoe2MkQXchKCfQa6D X-Received: by 2002:a62:4181:: with SMTP id g1mr9615177pfd.45.1543329048797; Tue, 27 Nov 2018 06:30:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543329048; cv=none; d=google.com; s=arc-20160816; b=BkS7jHROtsl+orD8b2jOjUYUI7+yL6H0oNlXpPq28XVoKhc2iNlAleJZEaNn+I5+V+ cYZAgshJBGGAyCqU2ULv/Wm2dMLzHW702woX0Ww8cyDrOH446knkBJ4v/eYx+1nPMW5T bQIF+7W/bpCMvAotjpB8DuP48+YeJbttkoQsCPGMl2mQK45xF2llIgPURlV5a/aSQ/hH lZwUhTApO9TQL0L9J25m7wVFKsChL2BJCYjUbOSoysN6X5AEIZQYESoaxLKkRqYY9bmc /FRDmJ0/9enj6V3VlxbVSbidiziPUsxZq7lJKFqD+crJhGBPlq0M9Bu6vTgX4a3kshAs QyAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vawwjEbKvLRQ8IlPNh/d8+AU9eLeFH4W9t3PVcQ9rns=; b=yMZ4wrU8XFGPV+4B6jgGW3GnU87+azca5y20tOZ/dF69yH2OD1oEdgpQzqPaShlnVt RSWQBjiDUwBMbPcTiPkt2we9d2imniRpx+wN65C5yo8pTaS1lTvNdsFWH7zlR7az7nnk 77W2pGxJIUt0cBZZ+JXi9RI5VFU8dXM7sPCGgBTh9EdxcdKD6a4kMYV/EN/AAwXk60Ct 9atlIFDYDI9RQZel1GLcnRJ3C5KObKJulEYhcHMYrKH405/gxEV8VQ8CZ/oncErcxC1O lnz1M5yDgTLHU0gZ1dmmXiTJyEz06maxI2B1DExGkEwFD0gNaLWkatpWBMZ4ccMmyydV m7Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dshhf+7s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s192si3990340pgc.144.2018.11.27.06.30.08; Tue, 27 Nov 2018 06:30:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Dshhf+7s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727166AbeK1BQL (ORCPT + 99 others); Tue, 27 Nov 2018 20:16:11 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:45425 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726840AbeK1BQL (ORCPT ); Tue, 27 Nov 2018 20:16:11 -0500 Received: by mail-ed1-f65.google.com with SMTP id d39so19096920edb.12; Tue, 27 Nov 2018 06:18:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vawwjEbKvLRQ8IlPNh/d8+AU9eLeFH4W9t3PVcQ9rns=; b=Dshhf+7s1E3G8fs3NJlx1F4utAavVoI7fvO8K14g/tHunjPn0SVRgWpTAG273XyM9t RZVvldevB49tTbWXSwjlnMl+WfEtiFQU5KDl3uDg9WbAm4J7tJrlrd5qCQrOcL2NhxOg yNTY8LxquKrNDm+TepgYPykMRpRJtqxYO8A8Gg9AtbLsFJCy3r3F2/Wl2vxyds3gjgxT wUV00lkitkYIKxHOTtnMv08Oe3S9jMYHwpQpg4Kf1WykwqfBX2DL3F0hBmJ4QbW4/LDX bx9BuLLimzca136k0S5uv87+noMPDBDrA3wCgmHynSckqjhYuieZvpdsEQtH9DIm/2oH y31Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vawwjEbKvLRQ8IlPNh/d8+AU9eLeFH4W9t3PVcQ9rns=; b=B9Of0R+r0GhlhG9DgdJ/kyYyctU+L9m+aM5BOr8FRLC6nx2AjxIMkeM1bb69ih1Y21 9rSacB33T9QIH9F9Qxv6YATcGMYEQzn/yYrq6BejO8r77Vwd2jWMYHB4pc0gks8FW0I7 iaCjISOrj6Jah50fAnW5Be/3CsTlbQ0uY0I6+10RmEAKLJzGrAUmn23Rn6X+clK6Mk5r 9/7X7BsD07ndIdkf4CnYdQAqidtdUAVLNwAc/0+t+6zgSKEHicdoxOfuY+yQ3ggRRr6O AGhsOr4emHw6f6nN1uIv1w6REv7xp3WgA7kyC1QVEC7i/DfX3R7obcwemjcoyyBuQ7su uuQg== X-Gm-Message-State: AGRZ1gK9Fkdwyqe6uUdtOfMd7haw5j7SIU6NXA8PzgZY/78ZDRFEzDQP LzmBFCICD/kfrrPq8YZKILo= X-Received: by 2002:a17:906:14d8:: with SMTP id y24-v6mr23923048ejc.216.1543328286042; Tue, 27 Nov 2018 06:18:06 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id e53sm1023500ede.90.2018.11.27.06.18.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Nov 2018 06:18:05 -0800 (PST) Date: Tue, 27 Nov 2018 15:18:03 +0100 From: Thierry Reding To: Paul Gortmaker Cc: Joerg Roedel , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Hiroshi Doyu , Stephen Warren , Alexandre Courbot , linux-tegra@vger.kernel.org Subject: Re: [PATCH 7/9] iommu: tegra-gart: make it explicitly non-modular Message-ID: <20181127141803.GA10560@ulmo> References: <1543271498-28966-1-git-send-email-paul.gortmaker@windriver.com> <1543271498-28966-8-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <1543271498-28966-8-git-send-email-paul.gortmaker@windriver.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 26, 2018 at 05:31:36PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: >=20 > drivers/iommu/Kconfig:config TEGRA_IOMMU_GART > drivers/iommu/Kconfig: bool "Tegra GART IOMMU Support" >=20 > ...meaning that it currently is not being built as a module by anyone. >=20 > Lets remove the modular code that is essentially orphaned, so that > when reading the driver there is no doubt it is builtin-only. >=20 > We explicitly disallow a driver unbind, since that doesn't have a > sensible use case anyway, and it allows us to drop the ".remove" > code for non-modular drivers. >=20 > Since module_init was not in use by this code, the init ordering > remains unchanged with this commit. >=20 > We replace module.h with moduleparam.h since the file does actually > declare some module_param() and the easiest way to keep back > compatibility with existing use cases is to leave it as-is for now. >=20 > The init function was missing an __init annotation, so it was added. >=20 > We also delete the MODULE_LICENSE tag etc. since all that information > was (or is now) contained at the top of the file in the comments. >=20 > Cc: Hiroshi Doyu > Cc: Joerg Roedel > Cc: Stephen Warren > Cc: Thierry Reding > Cc: Alexandre Courbot > Cc: iommu@lists.linux-foundation.org > Cc: linux-tegra@vger.kernel.org > Signed-off-by: Paul Gortmaker > --- > drivers/iommu/tegra-gart.c | 37 +++++++------------------------------ > 1 file changed, 7 insertions(+), 30 deletions(-) Acked-by: Thierry Reding --ibTvN161/egqYuK8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlv9UhcACgkQ3SOs138+ s6GgbBAAi/Mxc51OVKQqQum9GKCX2Bb6gfyB7EOoy5OfWgk1dXPUKhy6EhLZIaxk 2lpqJVfEikiOd5RdozVEspvrOqCKAGUuXNev7VEIy0daSNIM/VUJ6fSFCJRZEV+w cFbj7Z/q44r+Gx9/F7vBl2miQhn9dvFhhJZjsT62uePD79C1r9o4OJch2kQAGB6O aomSkBgzYz+iig3bD42H1JJERz1JrnKkbCXw3bKvRU4YG74hkM0NlWgUWxxCCsM/ 59awkEkdId0jWuF7Cn7Iwfvs34p42vVhK5unMAIhO9YEZ3IWgNIhrkKnkWAIdhlU VqbgJaKmdGqMjIZsGxWPwFnoNuHSV3LDxt0mCkhr6ZMIFuimJMy317vf0ETrhMSW C4HUVScW6t/H/FXegQ8XfuRm6qZGnwmgT8MH0Oi2RW51iOA3eADP7HqCdUQ11uN6 K2LFAAbncjTJHdzUhECU9x1vWgzrXhUsufhj9Bc8DwwKN2+6zB+dsvJ7qA5SKUEU PaOGRAz2M0+C6D65xiBsy0GpG3iH3SgMAXJ/bKC37UUV8AHH7z7DmoJUNYVOszCD 1Ai4TBSOmHgFUzszni4NOrcV/buCNOqLz2qspAHT64YK0ewgJDKuforGo7TV1q2G epfhNiFXDV5CYbNa+lZH/gwz2KO646KyrPKidGtOj0PPhk/FA7U= =9Dwj -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--