From nobody Mon Feb 9 18:18:13 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 CCC7333F396; 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=PTgQxmbZIM5VD5ANrMQOKkuyPqH7m8kxuu1u1yLl/I3SkuisIttpgLj5D/Gb+8nxosDRh/mkPx1urbbYDHWgEU/by49Ij+wpIOnZVZmZ4vXReSzX8sl5t0hD95jjkAd+6HhJH6MnXv91j+ve+qQuFXC+YvEcKZOX7W/h36MyCmc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768882528; c=relaxed/simple; bh=udCB56ewUuBczR6ctM7up8XACViyJiWY/ibyZC1jejs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To; b=MCX2nUj1xPbqkpS3/ibFQ87x27B/LQEgNU87DPYS/kbbU615YwTdp3lUX6kzu9g9nMH1t316mPbpxKPBtZFXRAInqEI1hhG+knRTN0FVRSyHFYRl0934El9LSyYQisv1A3VtyQNLEYQBcGWVjn1HTCg9Hxb8bhLHOQiEwtmKKqs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=q9O4T3Iw; 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="q9O4T3Iw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A3A1C2BC87; Tue, 20 Jan 2026 04:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768882527; bh=udCB56ewUuBczR6ctM7up8XACViyJiWY/ibyZC1jejs=; h=From:Date:Subject:References:In-Reply-To:To:From; b=q9O4T3Iwp5YU9aTtmeJpgqm4DzAdGefVfEQ9vaci4fasVdHhxCtxtl06PwRBg9ERG h4nBCUYcBujNBC5VaUWllNPthZII8W19hZEeJqcnU3cXhADKEIYf43qj2Zw5g6iZQT 4IxMq95bY1ARP4MJGC/HikCdl+ip+UlakSpBKhDw0yU/aSRBfRzW0ME6L770zJ+EmK KL8Se3YCpBA+/ETMQAyiACgFGsljmdcS9hlV3ygaw3oBdg8ecLy6/zjUjYxezXL+Tq GiVchXxe9h9bw8OO0rmUuYaZma252RfrfXycAmNh4t+/ryn8mJXFugVqp8kRktGuAH o+5SG6ii9Ve1Q== From: Drew Fustini Date: Mon, 19 Jan 2026 20:14:55 -0800 Subject: [PATCH NFU RFC 18/19] riscv: dts: qemu: add CBQRI controller nodes 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-18-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=2591; i=fustini@kernel.org; h=from:subject:message-id; bh=udCB56ewUuBczR6ctM7up8XACViyJiWY/ibyZC1jejs=; b=owGbwMvMwCV2+43O4ZsaG3kYT6slMWTmMwZb8NY27P2ru04ycsMpxgV11wKXXXzt/+/TjxdWZ TE1O+tXd5SyMIhxMciKKbJs+pB3YYlX6NcF819sg5nDygQyhIGLUwAmknWb4X9CjeiBp9XGT/dk pz9Kmhp1gzl0e4QFn1Tk+51p269ymuoy/Ga5duGYup/rg52s59Ycknr2elF+qdEf8z9LK+1r/gj Lp/MBAA== X-Developer-Key: i=fustini@kernel.org; a=openpgp; fpr=1B6F948213EA489734F3997035D5CD577C1E6010 [NOT FOR UPSTREAM] Add nodes to for CBQRI-capable cache and bandwidth controllers. Link: https://github.com/tt-fustini/qemu/tree/b4/riscv-ssqosid-cbqri Co-developed-by: Adrien Ricciardi Signed-off-by: Adrien Ricciardi Signed-off-by: Drew Fustini --- arch/riscv/boot/dts/qemu/qemu-virt-cbqri.dts | 59 ++++++++++++++++++++++++= ++++ 1 file changed, 59 insertions(+) diff --git a/arch/riscv/boot/dts/qemu/qemu-virt-cbqri.dts b/arch/riscv/boot= /dts/qemu/qemu-virt-cbqri.dts index 4c6257bec42d..9f65de65f758 100644 --- a/arch/riscv/boot/dts/qemu/qemu-virt-cbqri.dts +++ b/arch/riscv/boot/dts/qemu/qemu-virt-cbqri.dts @@ -395,5 +395,64 @@ pci@30000000 { #interrupt-cells =3D <0x01>; #address-cells =3D <0x03>; }; + + cluster0_l2: controller@4820000 { + compatible =3D "riscv,cbqri-cache"; + reg =3D <0x0 0x4820000 0x0 0x1000>; /* 4KB at 0x04820000 */ + cache-unified; + cache-line-size =3D <64>; + cache-level =3D <2>; + cache-sets =3D <1000>; + cache-size =3D <768000>; /* 750 KiB */ + next-level-cache =3D <&shared_llc>; + riscv,cbqri-rcid =3D <64>; + riscv,cbqri-mcid =3D <256>; + }; + + cluster1_l2: controller@4821000 { + compatible =3D "riscv,cbqri-cache"; + reg =3D <0x0 0x4821000 0x0 0x1000>; /* 4KB at 0x04821000 */ + cache-unified; + cache-line-size =3D <64>; + cache-level =3D <2>; + cache-sets =3D <1000>; + cache-size =3D <768000>; /* 750 KiB */ + next-level-cache =3D <&shared_llc>; + riscv,cbqri-rcid =3D <64>; + riscv,cbqri-mcid =3D <256>; + }; + + shared_llc: controller@482b000 { + compatible =3D "riscv,cbqri-cache"; + reg =3D <0x0 0x482b000 0x0 0x1000>; /* 4KB at 0x0482B000 */ + cache-unified; + cache-line-size =3D <64>; + cache-level =3D <3>; + cache-sets =3D <4096>; + cache-size =3D <3145728>; /* 3 MiB */ + riscv,cbqri-rcid =3D <64>; + riscv,cbqri-mcid =3D <256>; + }; + + mem0: controller@4828000 { + compatible =3D "riscv,cbqri-bandwidth"; + reg =3D <0x0 0x4828000 0x0 0x1000>; /* 4KB at 0x04828000 */ + riscv,cbqri-rcid =3D <64>; + riscv,cbqri-mcid =3D <256>; + }; + + mem1: controller@4829000 { + compatible =3D "riscv,cbqri-bandwidth"; + reg =3D <0x0 0x4829000 0x0 0x1000>; /* 4KB at 0x04829000 */ + riscv,cbqri-rcid =3D <64>; + riscv,cbqri-mcid =3D <256>; + }; + + mem2: controller@482a000 { + compatible =3D "riscv,cbqri-bandwidth"; + reg =3D <0x0 0x482a000 0x0 0x1000>; /* 4KB at 0x0482A000 */ + riscv,cbqri-rcid =3D <64>; + riscv,cbqri-mcid =3D <256>; + }; }; }; --=20 2.43.0