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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 83AF4C3DA78 for ; Tue, 17 Jan 2023 20:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CMk/izSflZlyaDEf6FIIolhqVU/3VF2Bj35Q2XJbCag=; b=PLBAK3HwfAy3gl iC4CdAWc6YsLE7mN4Fhimj+0MDRuPMJqMsG8Cznl/POmDLGGasfp7SG/dDacF6OM3zgTlLKTkPBJq jL0+k9YGKjqeyGDyauRFnke7vGS4K+PkJaZQRYUdPVJ7bL4mQILX9Z9zEcpv1rm50TIbGV59oJa+j dO2mREQqWuHY8h6a3ksrYPymsWH3BRYkvYtIX8wR58NJV54+J95Skf+J09bdR1dXjWs0++04yhYtc /loUOaQF8/XZyBOQxkkL/IJWtlyvEtJBXeps1nSkR7SZX8kS95S20bNLqAN4K1/7RA0wz1+eWTFxs /Vp/Z17CP2KxVrzCSh8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHsJw-00FjtZ-JO; Tue, 17 Jan 2023 20:12:36 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHsJs-00Fjsg-GA for linux-arm-kernel@lists.infradead.org; Tue, 17 Jan 2023 20:12:34 +0000 Received: from notapiano (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 054FA6602D2A; Tue, 17 Jan 2023 20:12:24 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673986346; bh=g3+YFgRcvbPTz7/8xFzAI9AbV4cEoOAZFx1BS/KPOhE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HriWKgUC4gK3VT6GxZmqXhMEkKdnvgyPTaYrn3czuuSuc969Q06xGTbLJbTnv8Ldg s5qUcH+57TWwoWcQkpPXqEk2MLDd9P+egXSdEBadZvrMsrjby7GnD0ifiWFsgHLYma 3bJm47Z3yjWWiHBdEhKURXUkX1NojJQMth1x1Zf9bVvYy9krbdCegj1fxsAWBctIFq 1AGP0c0s4xVLmxF6fFGq7CvIdvUrdnoLUqvDOsvNrGWQYKZyLP7M/PVUaGky7xUD1I M4ENRXghARJYSTWRPgHU3vNACmDSsFg0HfIeLOPlkIlJSEhvcstBF5iHRNis1kXAU8 p+wIhYE4qSQMQ== Date: Tue, 17 Jan 2023 15:11:59 -0500 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Bjorn Andersson Cc: Matthias Brugger , kernel@collabora.com, AngeloGioacchino Del Regno , Arnd Bergmann , Catalin Marinas , Dmitry Baryshkov , Krzysztof Kozlowski , Marcel Ziswiler , Shawn Guo , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: defconfig: Enable missing configs for mt8192-asurada Message-ID: <20230117201159.pcxnftapsjr2eotn@notapiano> References: <20230112151238.1930126-1-nfraprado@collabora.com> <20230117155854.GE2350793@hu-bjorande-lv.qualcomm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230117155854.GE2350793@hu-bjorande-lv.qualcomm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230117_121232_790268_F76FFDBB X-CRM114-Status: GOOD ( 27.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jan 17, 2023 at 07:58:54AM -0800, Bjorn Andersson wrote: > On Thu, Jan 12, 2023 at 10:12:38AM -0500, N=EDcolas F. R. A. Prado wrote: > > Enable missing configs in the arm64 defconfig to get all devices probing > > on mt8192-asurada based machines. > > = > > The devices enabled are: MediaTek Bluetooth USB controller, MediaTek > > PCIe Gen3 MAC controller, MT7921E wireless adapter, Elan I2C Trackpad, > > MediaTek SPI NOR flash controller, Mediatek SPMI Controller, ChromeOS EC > > regulators, MT6315 PMIC, MediaTek Video Codec, MT8192 sound cards, > > ChromeOS EC rpmsg communication, all MT8192 clocks. > > = > > Support for DMA Restricted Pool is also enabled since it is used by the > > WiFi card on this platform. > > = > > REGULATOR_CROS_EC is enabled as builtin since it powers the MMC > > controller for the SD card, making it required for booting on some > > setups. > = > I presume this implies that there's no ramdisk to carry these additional > modules? There may or may not be, at the discretion of the user, so enable by defaul= t. > = > > = > > By enabling the support for all of this platform's devices on the > > defconfig we make it effortless to test the relevant hardware both by > > developers as well as CI systems like KernelCI. > > = > > Signed-off-by: N=EDcolas F. R. A. Prado > > = > > --- > > = > > arch/arm64/configs/defconfig | 25 +++++++++++++++++++++++++ > > 1 file changed, 25 insertions(+) > > = > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > index f3053e7018fe..4e806d8068f6 100644 > > --- a/arch/arm64/configs/defconfig > > +++ b/arch/arm64/configs/defconfig [..] > > @@ -1092,6 +1104,18 @@ CONFIG_CLK_IMX8QXP=3Dy > > CONFIG_CLK_IMX8ULP=3Dy > > CONFIG_CLK_IMX93=3Dy > > CONFIG_TI_SCI_CLK=3Dy > > +CONFIG_COMMON_CLK_MT8192_AUDSYS=3Dy > > +CONFIG_COMMON_CLK_MT8192_CAMSYS=3Dy > > +CONFIG_COMMON_CLK_MT8192_IMGSYS=3Dy > > +CONFIG_COMMON_CLK_MT8192_IMP_IIC_WRAP=3Dy > > +CONFIG_COMMON_CLK_MT8192_IPESYS=3Dy > > +CONFIG_COMMON_CLK_MT8192_MDPSYS=3Dy > > +CONFIG_COMMON_CLK_MT8192_MFGCFG=3Dy > > +CONFIG_COMMON_CLK_MT8192_MMSYS=3Dy > > +CONFIG_COMMON_CLK_MT8192_MSDC=3Dy > > +CONFIG_COMMON_CLK_MT8192_SCP_ADSP=3Dy > > +CONFIG_COMMON_CLK_MT8192_VDECSYS=3Dy > > +CONFIG_COMMON_CLK_MT8192_VENCSYS=3Dy > = > Are all these clock drivers needed in order to reach a ramdisk, with > working uart, where further kernel modules could be loaded? No, but currently these configs can't be enabled as modules. So my intentio= n is to enable all of them as builtin for now so we get the functionality there,= and after the drivers and configs are reworked to allow building as modules (wh= ich should happen shortly after [1] is merged), I'll update the defconfig so th= at the non-essential ones for boot are set to =3Dm. [1] https://lore.kernel.org/all/20230113110616.111001-1-angelogioacchino.de= lregno@collabora.com/ > = > > CONFIG_COMMON_CLK_QCOM=3Dy > > CONFIG_QCOM_A53PLL=3Dy > > CONFIG_QCOM_CLK_APCS_MSM8916=3Dy > > @@ -1398,6 +1422,7 @@ CONFIG_CRYPTO_DEV_HISI_SEC2=3Dm > > CONFIG_CRYPTO_DEV_HISI_ZIP=3Dm > > CONFIG_CRYPTO_DEV_HISI_HPRE=3Dm > > CONFIG_CRYPTO_DEV_HISI_TRNG=3Dm > > +CONFIG_DMA_RESTRICTED_POOL=3Dy > = > As this would alter the behavior of other platforms and devices, could > we please carry this in a patch of its own to aid bisection? Sure. Thanks, N=EDcolas > = > Thanks, > Bjorn > = > > CONFIG_CMA_SIZE_MBYTES=3D32 > > CONFIG_PRINTK_TIME=3Dy > > CONFIG_DEBUG_KERNEL=3Dy > > -- = > > 2.39.0 > > = _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel