From nobody Mon Feb 9 21:37:09 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 C7A7433CE8A; Tue, 20 Jan 2026 04:15:22 +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=1768882522; cv=none; b=FeyiRkSNYLZ41y1LOOpRHOVHhbNPzSoeT+ya7l8wqjOW5KSUlIX9mcf+rkv50S4JgjCItA6cen4WwPObzSburQNapJfOCPkxbbRSR2F4WAKe6hQ007VN+QI/DzmT2EUvTXaUthZY1uaDhYGT6E2POdIoDbznnjbhTTEfHLroz6c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768882522; c=relaxed/simple; bh=SXrtFbN0ix7KxT0GqeIs7HkzT3FdlhgaF3gCwM+F2Mc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To; b=dpDBpIGXw1MfUlgiJu0/4ZeWQmAIXKSuExKFH1TH+MouOL4N2brqTtHfr87pUBU4nAcYzkexKpWQ+dWkRhQW7fIwvv/ItXy7WsReq+ABoG3ZS+7X+ld3Rg6Qwv2k2AjOYuffTaWNE9R7IeN2z0Nwel72hOsBrgE1MQaL15/QQqQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GYH/GKnN; 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="GYH/GKnN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66B54C2BC86; Tue, 20 Jan 2026 04:15:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768882522; bh=SXrtFbN0ix7KxT0GqeIs7HkzT3FdlhgaF3gCwM+F2Mc=; h=From:Date:Subject:References:In-Reply-To:To:From; b=GYH/GKnNLch3a/BJWK/t9HsJfo8yJwJ8lY7anK+3t1lgejF14xSE5vjBl+eZ2y2gl YXGprIBPMmUTYAC2ZXGTZyJnCGPoHXOhm99+FW9T7H2OVw6gymn605Uk36xJEr45nm GX+WTIw77nHuCjhvhANGNUOfbVYNBU8VB/NWiGl6UnvSkddhmGH+O3fMHLnumhq1og C9kp1hiBWNog7+TotNgmcsGHhM3N4CwuTDwIOpkuE5orkFYXbnjtEDQCHts1irrldJ ISzpJKn7C0bszrkOEGFFkF8tTE1hE7Axc9yxk07Kxkt90D7CDtkgM6O2uthIHMHaRU aIzdd7L32Q9OA== From: Drew Fustini Date: Mon, 19 Jan 2026 20:14:46 -0800 Subject: [PATCH RFC 09/19] RISC-V: QoS: expose implementation to resctrl 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-9-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=1087; i=fustini@kernel.org; h=from:subject:message-id; bh=SXrtFbN0ix7KxT0GqeIs7HkzT3FdlhgaF3gCwM+F2Mc=; b=owGbwMvMwCV2+43O4ZsaG3kYT6slMWTmMwZF1c69f1YjasXrHwXVb9bd+FXizcnw+PAc2dmcu Zary9hedJSyMIhxMciKKbJs+pB3YYlX6NcF819sg5nDygQyhIGLUwAm8tqQ4Q9n1dv7n26Uf7Rl yRPlVYi+mRxfMc1G6Ezjx2WJM20EpXQZGZa1S74S4VUOkdFhtf87VyE3LbL7jFacEi+rbaKKT/U fNgA= X-Developer-Key: i=fustini@kernel.org; a=openpgp; fpr=1B6F948213EA489734F3997035D5CD577C1E6010 The generic resctrl header include/linux/resctrl.h includes linux/riscv_qos.h when CONFIG_ARCH_HAS_CPU_RESCTRL is set. Co-developed-by: Adrien Ricciardi Signed-off-by: Adrien Ricciardi Signed-off-by: Drew Fustini --- MAINTAINERS | 1 + arch/riscv/include/asm/resctrl.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 31e536304972..96ead357a634 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -22510,6 +22510,7 @@ M: Drew Fustini L: linux-riscv@lists.infradead.org S: Supported F: arch/riscv/include/asm/qos.h +F: arch/riscv/include/asm/resctrl.h F: arch/riscv/kernel/qos/ F: include/linux/riscv_qos.h =20 diff --git a/arch/riscv/include/asm/resctrl.h b/arch/riscv/include/asm/resc= trl.h new file mode 100644 index 000000000000..7d247d87dab9 --- /dev/null +++ b/arch/riscv/include/asm/resctrl.h @@ -0,0 +1,2 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#include --=20 2.43.0