diff options
author | Jun Liang Tan <junliang.tan@linux.starfivetech.com> | 2022-04-28 12:45:02 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-05-07 07:07:42 +0300 |
commit | e576b3e620675b48a34cc2e9c6a589df3ceaf4cf (patch) | |
tree | bd8d09a7853e13814a1369fcb2fb3dd694e07896 /include | |
parent | 474a9d45551ab8c7df511a6620de2427a732351f (diff) | |
download | opensbi-e576b3e620675b48a34cc2e9c6a589df3ceaf4cf.tar.xz |
include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sbi/sbi_pmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi/sbi_pmu.h b/include/sbi/sbi_pmu.h index 6a1c62c..f5e3dbd 100644 --- a/include/sbi/sbi_pmu.h +++ b/include/sbi/sbi_pmu.h @@ -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 |