[PATCH v2 6/6] arm_mpam: resctrl: Adapt to new or changed resctrl arch functions

Ben Horgan posted 6 patches 4 weeks ago
There is a newer version of this series
[PATCH v2 6/6] arm_mpam: resctrl: Adapt to new or changed resctrl arch functions
Posted by Ben Horgan 4 weeks ago
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 <ben.horgan@arm.com>
---
 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;
 }
 
-bool resctrl_arch_is_evt_configurable(enum resctrl_event_id evt)
+bool resctrl_arch_is_evt_configurable(enum resctrl_event_id evt, bool assignable)
 {
 	return false;
 }
@@ -148,6 +148,11 @@ int resctrl_arch_mbm_cntr_assign_set(struct rdt_resource *r, bool enable)
 	return -EINVAL;
 }
 
+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;
-- 
2.43.0