Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2297743rdb; Wed, 21 Feb 2024 03:25:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUHRUwbe5baf83K2D32TivoR9BTIvRlQXxYGWE4mZYMJ8ItxqQmoJZfg+PIZxJ3aTc2JHN1G6fa1WnfJTYHDWj5XHU+QDz2lbT6NWN9TA== X-Google-Smtp-Source: AGHT+IE9Mboga2lEm9xPt1dL92eJ/I0MVyU1qJfNb8OzG96E9AUcFFAvw83E5Q8CdcSL44un2yUE X-Received: by 2002:a17:902:c949:b0:1db:d13e:2708 with SMTP id i9-20020a170902c94900b001dbd13e2708mr12716066pla.14.1708514703816; Wed, 21 Feb 2024 03:25:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708514703; cv=pass; d=google.com; s=arc-20160816; b=j7JJ66oUu5dT7iDbGpnf9vBi3ZLYC3XWpnyDDZnW61dokPYiXyPtC9G9Hk4O6yNEex TU/D8HGQyKd32UPvtzWGtrNoQLS58ftmjDmfHcoRpicH78TZBOef9JEnJ3ddQjnaB14/ dpEA8Brn1orIByaek+37IquWF1O0iy5RYQEv/NXJzqYfvCP9w4gUFU4EQYXcj8Qoi83G kNNHEluUIUygQ+l3MjUOP4MvIfz8GE2csji9HztE3WXOsb4ZK9UPSVgVvfBWBxudT97D 0u9wR57h47NrJjT8BKN4nFBpGu/NHNHSNAtR26m1RNQSFPfTLU5A3hGMGmG3wrwKxkFa VBeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=Aojxs4UURNiotTkCGFMzfVtE9OMZyWgHkto+sH1Fy5c=; fh=CnWX085/Ly4g7ubJVanChbW9pIms0QGTVG9uvqJvLN4=; b=ac7suoISPCOum8TL+A4dUih9ihmOdIC+p8ZbdRNEBgn+E1GatZCmS+GeUAzr5b0EIy GxVboAuf9illLMQuEkKurE63Cpjn8i50p+kVGvQ12tnN6RuPeYYZr/KkbYrwXRAcB7/8 BsJlRw/z8tYRgHC8lTK/ayxbyBH5BY8xymXDLwchxZwh47Tbztb0zk+fTez4BF8fsj+h RxLIBsJZ40GmZ1E5CRM7nDKncQ6hSJslPNKe0v740ShU5w9qvljUW8N1WrzR3bSOoSlg gCvzic9EDuhHSmzZxFJs0t5vctCiizDdcOY4S68Z6JQidAYSUC+2q3hFBYgnDxXAy1e+ rs8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=Ay+Fjig2; arc=pass (i=1 dkim=pass dkdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-74191-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74191-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b17-20020a170902e95100b001d8d747a082si7971082pll.71.2024.02.21.03.25.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 03:25:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74191-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@qq.com header.s=s201512 header.b=Ay+Fjig2; arc=pass (i=1 dkim=pass dkdomain=qq.com); spf=pass (google.com: domain of linux-kernel+bounces-74191-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74191-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 10795286313 for ; Wed, 21 Feb 2024 07:10:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D4FD3A1D3; Wed, 21 Feb 2024 07:09:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b="Ay+Fjig2" Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BEFA3A278; Wed, 21 Feb 2024 07:09:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.62.57.252 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708499393; cv=none; b=RhpKTPxlrfjEan38b8pLLJJu/lgEb2SgtvJD8T27DX+pUr7SXSfofupr0+vl2FM9b653Vhhc0I9Rg2X4+A71XvM2fYWE59gKVt4wAUuEU7+0jZMFDJgFV5HtnsEvVldBR2O/5OIXz8eTEFt4YN9usv3HIHDlEGidGkIHT2g2gtw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708499393; c=relaxed/simple; bh=yux/Vsxzv5oB5Pxe0I+9HoxEbTT1akUSmVUFak3qdNk=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=KjT9Cb6P9G6whbcCbqsS3bHnpkeeyDimlF5yjoyCEYzsu3OjXPQatd+dGmQDkkAuncK+MNbryICPWV2URcuIfuqIWwb+8sfpDGIFnhp8TLWWCdPxkuWi8yaCC3+MRweZilrZZtw2huqBelsoZEdf0RSE6dRoVlBNUxeMDl6bfvA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cyyself.name; spf=none smtp.mailfrom=cyyself.name; dkim=pass (1024-bit key) header.d=qq.com header.i=@qq.com header.b=Ay+Fjig2; arc=none smtp.client-ip=162.62.57.252 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cyyself.name Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=cyyself.name DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1708499378; bh=Aojxs4UURNiotTkCGFMzfVtE9OMZyWgHkto+sH1Fy5c=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Ay+Fjig2MZ2JYheoXCkabneg/W/PjFmGg6Q3WMdYglFC/C8XcwnHMk7CXmdETYglX p0nbzb/rjmgK1SLn30c26hjma/V2Ql6bfU+ml1oDiccyd9jvn5s9RGQTXvBDCmLUZR Mcq2GkNMAnIKKVEsUbzaI/KPkfbkpKG/hLYy0A08= Received: from [127.0.0.1] ([240e:379:2240:ef00:159c:db93:bdcd:c9c6]) by newxmesmtplogicsvrszc5-1.qq.com (NewEsmtp) with SMTP id 4A206F9; Wed, 21 Feb 2024 15:01:10 +0800 X-QQ-mid: xmsmtpt1708498870tb5gcf7em Message-ID: X-QQ-XMAILINFO: NMCsm0XXqhsS+/VErxGmnDcWLmBhlbPOCkGBYjPas2uxgBmm3ZOdaEuOpZd83U BH5GPogQwUKLXsvVFPqnqu9Uf73tMGgedLpau39FuxibdBLyKQVQL16diDZhi4jRp+K+y+FaOK6N wUoJgxnzSggAjeJwzkglaBCsrByK7Q0VCPlgaAjGhoeqceW3+EufIyrbB91Ivpab4p8w284S0r9j fnHDitd6g9LudfIwrhDDa0VPkbK1OZW2EizZLcusNTu6FZwx1r87YDkxbcuBwisPq3ENYjbxwMVb 6RhGbxS1DDDaK3CYwAG6DeLzKFzAfJNN5ZyJEEtiR3+YEoy3iuQe5Y8J2KJub8CTNUNFMlw6YHBZ mjhYYNzWlOoGTfTgAqbCbq9boXBwSfyMzDQzixsBayYoakcb5Mf5p66n3unhV1Mv8WEYxYFiZsPq zggh9orxdrZn3YSQlZJ/RrZXs3Yd6vEiyTjA/Q5DgcqxNA+IcEpy9S0CeAEmDw1r0uE6izPPwyPe FLfFdHX9MjCzaG6DBph2KMkP0XtON7+IYLsUFhEHb7lzvf+cI/RrMVd64I/ZDLj9T0SlGsiwxWDG CFKT9zyZSj1S6b4zUz9+GDRyt5Jd3IdoZBrEcDll63MKXRBuc6gAGmB7Wo3zwXZb6IU8k3GB3uI7 v7ER5cNK29Vo363qRbbaCZOWhSH/wn2z3xcrhwyAdVylSeODu6v7tn0mB+eXavIdmStRy004zAl8 1etbOL7vssbNqLu++wuk7jlC9IBPOtJ+cwOPZfjVaMmRke/ijXuXNtZx69Rx/dGJPdm5ASTXzM8u dLwcmhra5IkspK47qxNuAz/XxxiJhrSIiq1ZXj+Zw4erMu7I4HDcVl0AcnBjT8yelENH8MimhxXo qvgAmBa7AHiUHiWNdCzQp9MzT4qFvrz0Nb8gQGGfchBmdqbsRTZC/oVjsdypAD9BWtPlJoLbUsC2 HOgmTiSk7S3xTUiwC9IpoQGLgZJzw+KST9T6lr1G2u2asygg5DraxTzFqlZ1kZIEvrxzLw1pk= X-QQ-XMRINFO: MSVp+SPm3vtS1Vd6Y4Mggwc= X-OQ-MSGID: <1596f5b2bd40e9a26d537eec963a156b09471194.camel@cyyself.name> Subject: Re: [RFC PATCH 1/1] riscv: dts: Allow BUILTIN_DTB for all socs From: Yangyu Chen To: Conor Dooley Cc: linux-riscv@lists.infradead.org, Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, Masahiro Yamada , Alexandre Ghiti , Rob Herring , devicetree@vger.kernel.org Date: Wed, 21 Feb 2024 15:01:10 +0800 In-Reply-To: <20240221-numerator-grill-1e5603841a8d@spud> References: <20240221-numerator-grill-1e5603841a8d@spud> Autocrypt: addr=cyy@cyyself.name;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RbTcVTVgXVEsHjd5/WDmXhcX8oNfWfQrodt2lLgZBWl1hBiZ+grnySl9+oVDf0EyV80Ech6NgJLGnPOqAbWfHHcYaGKDw9mMXqPE+2EX/inmpuYHAfesWjb92K+KedJiQdfioO7ls+Sv48btLDIDiuc9fHp++CSAIpFeVURy3/xNsUBCRUG/lwLTuqILZjyYWISWDoWF4DD9XdP/uNGczJm3mo4rB7PPoCWC1MbjPWOSyDuf8JfbdV5+4O7jMXfZjdCeLRQhjsIUjvXk5qTPYdFNwvvnsUro2gKoeMijPkvSbuR8xCB2vwnfzYfmjb7z1JLya7DSrYdAZpZXFXGEcGsDRB1FJ5H8KLmNFTAT3eBmbdsrCxsdjC83zWpgpJA7fS5Cr94ae3MH9SHdj9eVKwwwhBu0dys7HQN2GS/fPAcZoy6hEuiHUAipoRaONI2YAzs8qkmA8unW0pIHwggi9z+TuG+WOZjw3ijbbS9PpM3uw5zFYqPzkyPRALPyklZO4naXC4kjQdZRSeNF7pbf4qgvIZtgdZONY09xwm5PSTJxblXaBjeGhhCpF+uPbXHOa4daV9y67EnSFeN3IwcO6JSc8AGzutKR 0mslfht1JyMf5dUi38RQI/fOO0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3-1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2024-02-21 at 01:11 +0000, Conor Dooley wrote: > On Wed, Feb 21, 2024 at 03:03:57AM +0800, Yangyu Chen wrote: > > The BUILTIN_DTB kernel feature on RISC-V only works on K210 SoC > > only. This > > patch moved this configuration to entire riscv. > >=20 > > Signed-off-by: Yangyu Chen >=20 > A passing remark here only: > The detail in the cover letter belongs in the commit message. There's > very little value in a cover letter for a one patch "series" - it > either will duplicate information from the commit message (and is > therefore useless) or, as in this case, splits information that > should > be in the commit message away from it. >=20 > Thanks, > Conor. >=20 Thanks. I will move these detailed reasons to commit message. I am waiting for other review comments before submitting patch v2. > > --- > > =C2=A0arch/riscv/Kconfig=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 16 ++++++++++++= ++- > > =C2=A0arch/riscv/Kconfig.socs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 32 ------------------------- > > ---- > > =C2=A0arch/riscv/boot/dts/Makefile=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 |=C2=A0 2 +- > > =C2=A0arch/riscv/boot/dts/canaan/Makefile |=C2=A0 2 -- > > =C2=A04 files changed, 16 insertions(+), 36 deletions(-) > >=20 > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > > index b49016bb5077..23d501561e64 100644 > > --- a/arch/riscv/Kconfig > > +++ b/arch/riscv/Kconfig > > @@ -996,7 +996,21 @@ config RISCV_ISA_FALLBACK > > =C2=A0config BUILTIN_DTB > > =C2=A0 bool "Built-in device tree" > > =C2=A0 depends on OF && NONPORTABLE > > - default y if XIP_KERNEL > > + default y if XIP_KERNEL || SOC_CANAAN > > + help > > + =C2=A0 Build a device tree into the Linux image. > > + =C2=A0 This option should be selected if no bootloader is being > > used. > > + =C2=A0 If unsure, say Y. > > + > > + > > +config BUILTIN_DTB_SOURCE > > + string "Built-in device tree source" > > + depends on BUILTIN_DTB > > + default "canaan/k210_generic" if SOC_CANAAN > > + help > > + =C2=A0 DTS file path (without suffix, relative to > > arch/riscv/boot/dts) > > + =C2=A0 for the DTS file that will be used to produce the DTB > > linked into the > > + =C2=A0 kernel. > > =C2=A0 > > =C2=A0endmenu # "Boot options" > > =C2=A0 > > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs > > index e08e91c49abe..623de5f8a208 100644 > > --- a/arch/riscv/Kconfig.socs > > +++ b/arch/riscv/Kconfig.socs > > @@ -84,36 +84,4 @@ config SOC_CANAAN > > =C2=A0 help > > =C2=A0 =C2=A0 This enables support for Canaan Kendryte K210 SoC > > platform hardware. > > =C2=A0 > > -if ARCH_CANAAN > > - > > -config ARCH_CANAAN_K210_DTB_BUILTIN > > - def_bool SOC_CANAAN_K210_DTB_BUILTIN > > - > > -config SOC_CANAAN_K210_DTB_BUILTIN > > - bool "Builtin device tree for the Canaan Kendryte K210" > > - depends on ARCH_CANAAN > > - default y > > - select OF > > - select BUILTIN_DTB > > - help > > - =C2=A0 Build a device tree for the Kendryte K210 into the Linux > > image. > > - =C2=A0 This option should be selected if no bootloader is being > > used. > > - =C2=A0 If unsure, say Y. > > - > > -config ARCH_CANAAN_K210_DTB_SOURCE > > - string > > - default SOC_CANAAN_K210_DTB_SOURCE > > - > > -config SOC_CANAAN_K210_DTB_SOURCE > > - string "Source file for the Canaan Kendryte K210 builtin > > DTB" > > - depends on ARCH_CANAAN > > - depends on ARCH_CANAAN_K210_DTB_BUILTIN > > - default "k210_generic" > > - help > > - =C2=A0 Base name (without suffix, relative to > > arch/riscv/boot/dts/canaan) > > - =C2=A0 for the DTS file that will be used to produce the DTB > > linked into the > > - =C2=A0 kernel. > > - > > -endif # ARCH_CANAAN > > - > > =C2=A0endmenu # "SoC selection" > > diff --git a/arch/riscv/boot/dts/Makefile > > b/arch/riscv/boot/dts/Makefile > > index 72030fd727af..318239d9423b 100644 > > --- a/arch/riscv/boot/dts/Makefile > > +++ b/arch/riscv/boot/dts/Makefile > > @@ -8,4 +8,4 @@ subdir-y +=3D sophgo > > =C2=A0subdir-y +=3D starfive > > =C2=A0subdir-y +=3D thead > > =C2=A0 > > -obj-$(CONFIG_BUILTIN_DTB) :=3D $(addsuffix /, $(subdir-y)) > > +obj-$(CONFIG_BUILTIN_DTB) :=3D $(addsuffix .dtb.o, > > $(CONFIG_BUILTIN_DTB_SOURCE)) > > \ No newline at end of file I should keep the newline at EOF, I will fix this for patch v2. > > diff --git a/arch/riscv/boot/dts/canaan/Makefile > > b/arch/riscv/boot/dts/canaan/Makefile > > index 520623264c87..987d1f0c41f0 100644 > > --- a/arch/riscv/boot/dts/canaan/Makefile > > +++ b/arch/riscv/boot/dts/canaan/Makefile > > @@ -5,5 +5,3 @@ dtb-$(CONFIG_ARCH_CANAAN) +=3D sipeed_maix_bit.dtb > > =C2=A0dtb-$(CONFIG_ARCH_CANAAN) +=3D sipeed_maix_dock.dtb > > =C2=A0dtb-$(CONFIG_ARCH_CANAAN) +=3D sipeed_maix_go.dtb > > =C2=A0dtb-$(CONFIG_ARCH_CANAAN) +=3D sipeed_maixduino.dtb > > - > > -obj-$(CONFIG_ARCH_CANAAN_K210_DTB_BUILTIN) +=3D $(addsuffix .dtb.o, > > $(CONFIG_ARCH_CANAAN_K210_DTB_SOURCE)) > > --=20 > > 2.43.0 > >=20 > >=20 > > _______________________________________________ > > linux-riscv mailing list > > linux-riscv@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-riscv