From 2bec665f464b1c211eac594b333656b1dfa4b3da Mon Sep 17 00:00:00 2001 From: Boyan Karatotev Date: Thu, 27 Feb 2025 10:44:44 +0000 Subject: [PATCH] fix(smccc): register PMUv3p5 and PMUv3p7 bits with the FEATURE_AVAILABILITY call These bits were missed with the original implementation. They are set if supported, so we need to ignore them. Change-Id: I3a94017bacdc54bfc14f0add972240148da3b41d Signed-off-by: Boyan Karatotev --- include/services/arm_arch_svc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/services/arm_arch_svc.h b/include/services/arm_arch_svc.h index ed9bc9518..eab4b60fa 100644 --- a/include/services/arm_arch_svc.h +++ b/include/services/arm_arch_svc.h @@ -298,6 +298,8 @@ CASSERT((CPTR_EL3_FLIPPED & CPTR_EL3_FEATS) == CPTR_EL3_FLIPPED, cptr_flipped_no MDCR_MTPME_BIT | \ MDCR_NSTBE_BIT | \ MDCR_NSTB(2UL) | \ + MDCR_MCCD_BIT | \ + MDCR_SCCD_BIT | \ MDCR_SDD_BIT | \ MDCR_SPD32(3UL) | \ MDCR_NSPB(2UL) | \