From nobody Mon Feb 9 18:18:08 2026 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 C6E1A33F394; Tue, 20 Jan 2026 04:15: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=1768882528; cv=none; b=otwLAGRBWFUOeAL4unW87IiO2mDkvZE/nF6Q154wSBmHYPWIZLa+FlIwOzLNXghyKnlkkbeEbjcVgdJ0Mvh3EO1vfmB4soRj5TU2wcCll5be8F2NQZ40Y3yP5VuV0s1+aciApOVRZ3lQQiGAt8kHlwsg7bEgaV0VRgDwAYDLoNk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768882528; c=relaxed/simple; bh=vOomva/hR4ZN3wCiusAiE7WWWgswq+7ShOke7S7qUXU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To; b=buPLWO4FHk0sPHp8ebov6TXoQnyKKdW04illegb54WsgLAD0+8vTZ/Vi0B2AoDAZSYzVWinQEkgoaC1f6H1m1zQ+EIeELB4oNtSqPOx3y4hxwQFuAC/iiqC2Yl94kzHi7W/vuPFL6s1umWqoagI6L5Qj5y1N/VEzjC8Ln3iBW8s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=M/h1V+Pq; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M/h1V+Pq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0649CC19424; Tue, 20 Jan 2026 04:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768882528; bh=vOomva/hR4ZN3wCiusAiE7WWWgswq+7ShOke7S7qUXU=; h=From:Date:Subject:References:In-Reply-To:To:From; b=M/h1V+PqX4zXCxzDt8NUnxPgoXVnQhg8WoUICA3PhEemyl3VhMSjOI+Jhe2Z/juZu 4LzN06174ZXaIUomWcFT6yWpULBfZLnKcJq4MwvkZzJU+zL6GgcmiqWS7BmB0zX3ay c3W25/l9jvnz+XskL4ygAJKq2U9z/cZWxzZm3MkuttSw7kX0fXcBUPQjXap6qENSVd aGdHVuClMkeF865an2gkhILh0i0Gk+6M3LWWMoL88VbborkXjYpkt+zBeJftYDmnEl neaBBG41Qb/GBi20/OQ8qtkbzg7XVHrwr2/0KFMknZ4Kjb9386ohhInvLs6XO6n5TF uK2cKiLbdKAtQ== From: Drew Fustini Date: Mon, 19 Jan 2026 20:14:56 -0800 Subject: [PATCH NFU RFC 19/19] riscv: dts: build qemu dtb for CONFIG_ARCH_VIRT 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" Content-Transfer-Encoding: quoted-printable Message-Id: <20260119-ssqosid-cbqri-v1-19-aa2a75153832@kernel.org> References: <20260119-ssqosid-cbqri-v1-0-aa2a75153832@kernel.org> In-Reply-To: <20260119-ssqosid-cbqri-v1-0-aa2a75153832@kernel.org> To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , =?utf-8?q?Radim_Kr=C4=8Dm=C3=A1=C5=99?= , Samuel Holland , Adrien Ricciardi , Nicolas Pitre , =?utf-8?q?Kornel_Dul=C4=99ba?= , Atish Patra , Atish Kumar Patra , Vasudevan Srinivasan , Ved Shanbhogue , yunhui cui , Chen Pei , Liu Zhiwei , Weiwei Li , guo.wenjia23@zte.com.cn, liu.qingtao2@zte.com.cn, Conor Dooley , Krzysztof Kozlowski , Rob Herring , Reinette Chatre , Tony Luck , Babu Moger , Peter Newman , Fenghua Yu , James Morse , Ben Horgan , Dave Martin , Drew Fustini , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, x86@kernel.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1198; i=fustini@kernel.org; h=from:subject:message-id; bh=vOomva/hR4ZN3wCiusAiE7WWWgswq+7ShOke7S7qUXU=; b=owGbwMvMwCV2+43O4ZsaG3kYT6slMWTmMwZb9fXLx8458y/0Pfe5tgalmf87g9JnbxHbYqs6L XJ21GyFjlIWBjEuBlkxRZZNH/IuLPEK/bpg/ottMHNYmUCGMHBxCsBEbqxl+O/57GxiscP8Tb3V knN/5t+90yOx1HDzHp+elU+MXJZnRSYwMnzd8TT9wTaPd2YLMy/lvH8bdczy/q5F/ZPdHptcYE8 9GMUCAA== X-Developer-Key: i=fustini@kernel.org; a=openpgp; fpr=1B6F948213EA489734F3997035D5CD577C1E6010 [NOT FOR UPSTREAM] Build DTB based on Qemu generated DTS when CONFIG_ARCH_VIRT is enabled. The resulting dtb will be consumed by qemu-system-riscv64. Co-developed-by: Adrien Ricciardi Signed-off-by: Adrien Ricciardi Signed-off-by: Drew Fustini --- arch/riscv/boot/dts/Makefile | 1 + arch/riscv/boot/dts/qemu/Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/riscv/boot/dts/Makefile b/arch/riscv/boot/dts/Makefile index 69d8751fb17c..edd25cf000cc 100644 --- a/arch/riscv/boot/dts/Makefile +++ b/arch/riscv/boot/dts/Makefile @@ -5,6 +5,7 @@ subdir-y +=3D anlogic subdir-y +=3D canaan subdir-y +=3D eswin subdir-y +=3D microchip +subdir-y +=3D qemu subdir-y +=3D renesas subdir-y +=3D sifive subdir-y +=3D sophgo diff --git a/arch/riscv/boot/dts/qemu/Makefile b/arch/riscv/boot/dts/qemu/M= akefile new file mode 100644 index 000000000000..a6b06ef1a75a --- /dev/null +++ b/arch/riscv/boot/dts/qemu/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_VIRT) +=3D qemu-virt-cbqri.dtb +obj-$(CONFIG_BUILTIN_DTB) +=3D $(addsuffix .o, $(dtb-y)) --=20 2.43.0