From nobody Sat Apr 11 12:21:33 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF0483CFF59 for ; Fri, 13 Mar 2026 17:45:50 +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=1773423952; cv=none; b=HfCWhjPREtROw3SqD7yNd5G/f9cqtl6d0P5RzEKz0EI1eaoSVbj9YDAGD0MM9NxZo53YwlZNncdHFwnsNKRrn36LgIopBPZgzEfg0QpJzvUAeYcOn4J/qm3hYocqVLWHr4rL+4xdXV5S0/Hp+/4cRNy1HSZhTxvhG+s7pL5GbkQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773423952; c=relaxed/simple; bh=rzmTg/kGfhSeIQdfvRyMGXVSdK56H706Ex87WY/Bpoo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=N0Dvb3D4AKiMhWg5kdJicK1NN9Kd5fKR1tjPL6Kq2DexFxZ6ueLM8RVo3Kz9HZ8ixkEoFguH2j298icy37Rali+WrSmEEQy5kDHsjXUWybZEbsRFmvplyLDVwoUujoXHAVpa2FDMXpEyzr4RSIvMjpQx0/P0eqoYsZSzBVhAoR4= 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 40B491C00; Fri, 13 Mar 2026 10:45:44 -0700 (PDT) Received: from e134344.cambridge.arm.com (e134344.arm.com [10.1.196.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 423643F694; Fri, 13 Mar 2026 10:45:48 -0700 (PDT) From: Ben Horgan To: linux-kernel@vger.kernel.org Cc: tony.luck@intel.com, reinette.chatre@intel.com, Dave.Martin@arm.com, james.morse@arm.com, babu.moger@amd.com, tglx@kernel.org, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, ben.horgan@arm.com, fenghuay@nvidia.com, tan.shaopeng@fujitsu.com Subject: [PATCH v2 6/6] arm_mpam: resctrl: Adapt to new or changed resctrl arch functions Date: Fri, 13 Mar 2026 17:45:24 +0000 Message-ID: <20260313174524.3482767-7-ben.horgan@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260313174524.3482767-1-ben.horgan@arm.com> References: <20260313174524.3482767-1-ben.horgan@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" Fix MPAM build after change to new version of resctrl_arch_is_evt_configurable() and introduction of resctrl_arch_mbm_cntr_assign_fixed(). Signed-off-by: Ben Horgan --- drivers/resctrl/mpam_resctrl.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/resctrl/mpam_resctrl.c b/drivers/resctrl/mpam_resctrl.c index a7691c66553a..86e899b89b58 100644 --- a/drivers/resctrl/mpam_resctrl.c +++ b/drivers/resctrl/mpam_resctrl.c @@ -97,7 +97,7 @@ bool resctrl_arch_mon_capable(void) return l3->mon_capable; } =20 -bool resctrl_arch_is_evt_configurable(enum resctrl_event_id evt) +bool resctrl_arch_is_evt_configurable(enum resctrl_event_id evt, bool assi= gnable) { return false; } @@ -148,6 +148,11 @@ int resctrl_arch_mbm_cntr_assign_set(struct rdt_resour= ce *r, bool enable) return -EINVAL; } =20 +bool resctrl_arch_mbm_cntr_assign_fixed(struct rdt_resource *r) +{ + return true; +} + int resctrl_arch_io_alloc_enable(struct rdt_resource *r, bool enable) { return -EOPNOTSUPP; --=20 2.43.0