include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256
authorJun Liang Tan <junliang.tan@linux.starfivetech.com>
Thu, 28 Apr 2022 09:45:02 +0000 (17:45 +0800)
committerAnup Patel <anup@brainfault.org>
Sat, 7 May 2022 04:07:42 +0000 (09:37 +0530)
Increase maximum number of PMU hardware events that can be mapped
by OpenSBI to 256

Signed-off-by: Jun Liang Tan <junliang.tan@linux.starfivetech.com>
Signed-off-by: Wei Liang Lim <weiliang.lim@linux.starfivetech.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
include/sbi/sbi_pmu.h

index 6a1c62c..f5e3dbd 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Event related macros */
 /* Maximum number of hardware events that can mapped by OpenSBI */
-#define SBI_PMU_HW_EVENT_MAX 64
+#define SBI_PMU_HW_EVENT_MAX 256
 
 /* Maximum number of firmware events that can mapped by OpenSBI */
 #define SBI_PMU_FW_EVENT_MAX 32