From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E664BC43331 for ; Thu, 12 Sep 2019 10:53:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BC46F20678 for ; Thu, 12 Sep 2019 10:53:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HgQZkZvK"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sirena.org.uk header.i=@sirena.org.uk header.b="WNqaA4u/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BC46F20678 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=chumjJZe2hYpohJdXEiSu4v6ILrzZQBpYRjBhulZDpA=; b=HgQZkZvKf32ypDhh8hNvXiFM3 zqNbwC54ljSgmh10X2fbucbQcUzzRy9eWIId2VthURmp4OMdBu+YcKmqK2/9sCPynIPm0tDKXPgeU zagTchRrc24OEREXTdil1CCZlxm/jP5utsq6Df7evZ/JpvnIANjDlvUL3qWGN2dFTXw9vvo1QbZko LF+XBc6+rF2a+B+OckzO7QuhUPkg0vZ8D1S+iBBfr6UULkqrCg63NPKF1E2HKgO55Ykwf7nAmD3PK TLhB9hrZV823Op8X6YwldzTPXWwoIat5cF2viNRZ6RoWxnL0XrxDk/NZfelqJoQCkY2Kc9Ve57TAm K8S66/jAg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8MjV-0004Gh-T8; Thu, 12 Sep 2019 10:53:49 +0000 Received: from heliosphere.sirena.org.uk ([2a01:7e01::f03c:91ff:fed4:a3b6]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8MjS-0004GH-PT for linux-arm-kernel@lists.infradead.org; Thu, 12 Sep 2019 10:53:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=D2D5xYaEKANX2x4ZJuWEVTNW1zYISnb/gu0LN4hJxKM=; b=WNqaA4u/faAGf9OS5qIbmq2Hs mWYdtL6fbchxGuAx43E34yD8Iuej5YZd3OfeAtXScPg4snnUaiz4NneKJONB/gxrQ6u2M6Ed0Bstq yQrjujqbf5juAAMGsRHZf6mDLO3xGHGkO1G0qO2n4xFS1KP75OW60V0gBrQZ2iCuWjvIM=; Received: from 195-23-252-136.net.novis.pt ([195.23.252.136] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i8MjM-0006Ya-Sb; Thu, 12 Sep 2019 10:53:40 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id DD9C0D0046D; Thu, 12 Sep 2019 11:53:39 +0100 (BST) Date: Thu, 12 Sep 2019 11:53:39 +0100 From: Mark Brown To: Amit Kucheria Subject: Re: [PATCH 0/4] Cleanup arm64 driver dependencies Message-ID: <20190912105339.GK2036@sirena.org.uk> References: <20190912094651.GH2036@sirena.org.uk> MIME-Version: 1.0 In-Reply-To: X-Cookie: Be careful! UGLY strikes 9 out of 10! User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190912_035346_839344_A4212390 X-CRM114-Status: GOOD ( 16.06 ) 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: Lorenzo Pieralisi , Liam Girdwood , Stephen Boyd , Catalin Marinas , Linus Walleij , Linux PM list , linux-clk , Linux Kernel Mailing List , linux-pci , Kishon Vijay Abraham I , Bartosz Golaszewski , arm-soc , "open list:GPIO SUBSYSTEM" , Sebastian Reichel , Will Deacon , Michael Turquette , Lists LAKML Content-Type: multipart/mixed; boundary="===============5523629135399233179==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5523629135399233179== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="H6o9R95t2FPeZmf3" Content-Disposition: inline --H6o9R95t2FPeZmf3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 12, 2019 at 03:33:20PM +0530, Amit Kucheria wrote: > On Thu, Sep 12, 2019 at 3:17 PM Mark Brown wrote: > > > I was using initcall_debugging on a QCOM platform and ran across a bunch of > > > driver initcalls that are enabled even if their SoC support is disabled. > > What exactly is the problem you're trying to fix here? For the > > drivers I looked at these were bog standard register the driver > > with the subsystem type initcalls on optional drivers so not > > doing anything particularly disruptive or anything like that. > I was trying to prune the defconfig only to drivers that make sense on > the SoC. e.g. Why should I see a brcmstb_soc_device_early_init() call > on a QCOM system when I've disabled ARCH_BRCMSTB? So this is really just the standard make Kconfig easier to use by filtering out noise thing. It'd be clearer if you said that in the changelog, and like the review comments have been saying you need to leave in an || COMPILE_TEST in there otherwise it's actively harmful. > I came across this while trying to figure out how to make thermal and > cpufreq frameworks initialise as early as possible. AFAICT you'd also have been happy if you just built these drivers modular? --H6o9R95t2FPeZmf3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl16I7EACgkQJNaLcl1U h9A5Xwf/Rv/6OyuOPX5W2hdLghPKgkdYoB2KbGacwvDTAd1oxRtRjMbzWEVEvqYO j7Tj/JYrweUkTWM5SVxsDpiSAk7bx5eAGlLMxPDtK6NcM48bSaURXpoWhOQ4EWKo ygzxV2PFMVmDf3yOmTcSXDpu+sAvb5eIF+gbsLCS98uc3uPZT8dO8Q3ZOI8R8TLJ 6AAdcecAKc+T156a8ted8iIlK9Ze2hTY1J1mfrIsXvpdAxcfmLaqB26ZfDSUN5AE EUZFeWQboDrYzuSWYGjgqKMyzFhgigoYgnKI1hnepKs1tqoieoT9DZZ0AT2dcCGL 2STeoJiRo8YT6dVf8HnBzwNSizJdQg== =8wH4 -----END PGP SIGNATURE----- --H6o9R95t2FPeZmf3-- --===============5523629135399233179== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5523629135399233179==--