Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp761126lqs; Tue, 5 Mar 2024 16:13:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV9NArVYu0ThHFdgjXgJdX2BxtdBOWhie9jLpK01Mk1k6IQu6+3KMLvexmLvzFUuWEb4eGnjUrF4mXqoZrZHWKAxCrt0y+9MdH41EkFGA== X-Google-Smtp-Source: AGHT+IGafu20avEaX622gBKxUaCMz/A0l6IOyizEcyJggMOYvCAV2ht/JmADvv76hTUteos4MH5g X-Received: by 2002:a05:6122:4b18:b0:4d3:9a8d:c736 with SMTP id fc24-20020a0561224b1800b004d39a8dc736mr3348255vkb.8.1709684025790; Tue, 05 Mar 2024 16:13:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709684025; cv=pass; d=google.com; s=arc-20160816; b=I/Vgvq/WYzbvyIGx6QbU/E1f7hVfyHLh7omDpge2jxy/UX9B70L91XH5MiBlhckUO2 M57WoQkwzSA9Uj9vTrp36xU90ZaytP440uI/lNEpwNpQjyNhOFaYLthdvFTLKA0hpNRA kO2srCk7LcynS3Zh9OxOxmbDBjTGKQ+4BK+WFv5+Ne3y1t3ZsBTP4jORIdqEV2Nn5SR6 ULH/bwkEtTEK1BDNEO/gIvD6ZwV0b/rsDboz9OC8i9FnK/9eiIg8gP2GZ4FvYuxXZutf PAe9Wx0BUOSp9xTokI+VSY2xw4TPjM4ejAXa8yMS9OGQlGXKVvIkdAVnY2Ey7Kku3g6r W3uA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OzHF66niwzgKhxm/oPFwSBKC2bQno/t8ZztYzp23wX8=; fh=paau3psryDryf33AF38I/wtkp+mCPC47HM/H3ZSHARc=; b=YJX+YvzDhCci7EhlfC41U1VPQeoEynV7j9v/Agp6fjIywHe62aEtVmXkljIjy9ot51 dVXPKTV1rEga79Md9W5FRRHj3N87qDZecrnxk1Kj8WIMvgtLlzt4BfJgN1igAYyf9bOo knF2y0DyhsN8a48z0/y7KzsuO1xW1emZKX3zDOinSTZdH3aJGUIcaC3ZwiZQhlkosBTC Y2+B6VIgcNgudbAZFYj/fuKnMWKb8HYLV6azS8BZxVBuCm6BYeynuFPk+PIiteneYvhT krXtAi/8G4jsNt/dp2hAdgJPPF2dNmzTE2OuUg7+IyiquGwijZJD9VZEMc8QPmMhmufo J54w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YtQ+bhiX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93156-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93156-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v20-20020a05622a015400b0042ee1444a8bsi8113082qtw.225.2024.03.05.16.13.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 16:13:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93156-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YtQ+bhiX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93156-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93156-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B3AC1C2191A for ; Wed, 6 Mar 2024 00:13:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9898F4C84; Wed, 6 Mar 2024 00:09:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YtQ+bhiX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AAEDA817; Wed, 6 Mar 2024 00:09:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709683768; cv=none; b=KGodbiE1ivLeWFSpHEH+8sB2DnUb5wzLmKRE0YvtFwPv84r09nkMFwFrXagHyAEEUUVu0FG7mfyRJVdaNSc4SL5MHIfIC8JauddAwBq9JZ7XiMppNLxtKCw0r83QJugSa+CU9fwy5cvQkiT5tx7t/Ia/3eAAlpfzXLsdofr6CS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709683768; c=relaxed/simple; bh=2fa03Fx+MikuXDNEGUr3zWcS95fwkTs88Gg/2cdTurE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MTmgUXyr4hSH5oI0xt7m8lzWWnJpJCiLWlw/zfH30G+HgueTFBwKvurGqPnbZrOMaaF66C0KJ/v5MZpcWHzcmFUGaNSSk0qtEGdOY6059dwFwT8HgSOWSLBcFeXXRIBh0/MraaJycBqDjXkol7CzVvk0Y4rXlfygeFMv+4sTN+o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YtQ+bhiX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA51FC433F1; Wed, 6 Mar 2024 00:09:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709683768; bh=2fa03Fx+MikuXDNEGUr3zWcS95fwkTs88Gg/2cdTurE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YtQ+bhiXVoEHKwIYSWA1+tfojkSFU+2ViRWsMEekRaUsZ3tJ/JaglwUq5yc1oACYe tzqC1M6SZqn2XgParwIU3ZqG0a+F1V2GtTg4y5BNThNuxqEV0eo/Ii5LLaLDK3/esT wcj7/ZuK6RfvKibeDIbOWszBjaKDpV2IPbZ4vhM6uSYxQGQTQ+OVMYyE8XF0KqiZYq mqDDT5br2zA40qtqM1wAkVKUDmu4ObPQtczwlZTWfr791U0Pk6mK/1AaOjz+a2i71N aRbAsMnxDCDjR0nsH1mS8+Nz9HTlakoj4KcR/cCmWvuRjBU9boqf69xg8NqQ4K2qsR xPC8rBknV+1+w== From: Conor Dooley To: linux-riscv@lists.infradead.org, Yangyu Chen Cc: conor@kernel.org, Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, Masahiro Yamada , Alexandre Ghiti , Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH v3] riscv: dts: Move BUILTIN_DTB_SOURCE to common Kconfig Date: Wed, 6 Mar 2024 00:09:19 +0000 Message-ID: <20240306-daringly-exemplary-defc8d51f0b6@spud> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=908; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=NlED+MmuKp0K0tdEJC4UOM/foaT2Vdyi4yXugOQ8erg=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDKnPtxhcONulHshobbr6nGnuZ7V1T/QXNiXWzjcsiJT7v 6T+3fXvHaUsDGIcDLJiiiyJt/tapNb/cdnh3PMWZg4rE8gQBi5OAZjISQGG/7nXVpxIzfvravsx +47UCZkbMx7w7exZVHavZOLZn9dNWD4wMhx5/P+U4KtHjpwH5lQxBYos2vnkfcelMFUBwyUbXf+ 2d/ACAA== X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit From: Conor Dooley On Wed, 28 Feb 2024 16:52:54 +0800, Yangyu Chen wrote: > The BUILTIN_DTB_SOURCE was only configured for K210 before. Since > SOC_BUILTIN_DTB_DECLARE was removed at commit d5805af9fe9f ("riscv: Fix > builtin DTB handling") from patch [1], the kernel cannot choose one of the > dtbs from then on and always take the first one dtb to use. Then, another > commit 0ddd7eaffa64 ("riscv: Fix BUILTIN_DTB for sifive and microchip soc") > from patch [2] supports BUILTIN_DTB_SOURCE for other SoCs. However, this > feature will only work if the Kconfig we use links the dtb we expected in > the first place as mentioned in the thread [3]. Thus, a config > BUILTIN_DTB_SOURCE is needed for all SoCs to choose one dtb to use. > > [...] Applied to riscv-dt-fixes, thanks! [1/1] riscv: dts: Move BUILTIN_DTB_SOURCE to common Kconfig https://git.kernel.org/conor/c/2672031b20f6 Thanks, Conor.