From nobody Tue Dec 16 14:57:42 2025 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C70030101D for ; Fri, 5 Dec 2025 22:01:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764972089; cv=none; b=pS7DeQhRggMqDamtVoWCcoNukWsh43gfRYK0uVJZL4UGl+lfHiz5H9zn6j8Yrmed8ZINBv3WJRfnqzhdL4lHSfgpH70qINqLjxE6mtTQZtWXfEchfUHl7+ChGVP+YcVNeljcsQCpMKgKDKKXlW1oo0Qd0LfmSCbFoPOH0IiVYnQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764972089; c=relaxed/simple; bh=eAeF504e3BviUydtNpSeiu5E/8YveG3BvyLoTnNkFlI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TpI83Q4Jw1Hpnz40caljIxNoBNxK503NDSna2nm3ohEqgekplK8UuheJnSU1LYE0c9NyWV9ETviJis8chtoW0ZmI8mx68ojrObLBd3btFYYphTQFqylI0gEH+p/lDwWmJJshpRjkxyFzob/v79/CV/DWUKfURGlyXrBXEEbCaEQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0251F1BB2; Fri, 5 Dec 2025 14:01:19 -0800 (PST) Received: from merodach.members.linode.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 868D13F740; Fri, 5 Dec 2025 14:01:22 -0800 (PST) From: James Morse To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: James Morse , D Scott Phillips OS , carl@os.amperecomputing.com, lcherian@marvell.com, bobo.shaobowang@huawei.com, tan.shaopeng@fujitsu.com, baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , peternewman@google.com, dfustini@baylibre.com, amitsinght@marvell.com, David Hildenbrand , Dave Martin , Koba Ko , Shanker Donthineni , fenghuay@nvidia.com, baisheng.gao@unisoc.com, Jonathan Cameron , Gavin Shan , Ben Horgan , rohit.mathew@arm.com, reinette.chatre@intel.com, Punit Agrawal Subject: [RFC PATCH 29/38] arm_mpam: resctrl: Call resctrl_init() on platforms that can support resctrl Date: Fri, 5 Dec 2025 21:58:52 +0000 Message-Id: <20251205215901.17772-30-james.morse@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20251205215901.17772-1-james.morse@arm.com> References: <20251205215901.17772-1-james.morse@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Now that MPAM links against resctrl, call resctrl_init() to register the filesystem and setup resctrl's strutures. Signed-off-by: James Morse --- drivers/resctrl/mpam_resctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/resctrl/mpam_resctrl.c b/drivers/resctrl/mpam_resctrl.c index 00455de3efe9..eb3caee45470 100644 --- a/drivers/resctrl/mpam_resctrl.c +++ b/drivers/resctrl/mpam_resctrl.c @@ -1768,7 +1768,7 @@ int mpam_resctrl_setup(void) pr_warn("Number of PMG is not a power of 2! resctrl may misbehave"); } =20 - /* TODO: call resctrl_init() */ + err =3D resctrl_init(); } =20 return err; --=20 2.39.5