include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256
PATCH 1/1 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
--- include/sbi/sbi_pmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/sbi/sbi_pmu.h +1 -1
@@ -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
Signature · 1 line
2.25.1
PATCH 1/1 include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256
+Atish
Quoted 6 lines · Jun Liang Tan
Increase maximum number of PMU hardware events that can be mapped by OpenSBI to 256
Signed-off-by Jun Liang Tan <[email protected]>Signed-off-by Wei Liang Lim <[email protected]>
Looks good to me.
@Atish, we need to find better ways to control memory used by sbi_pmu.c
Regards,
Anup
Quoted 26 lines
--- include/sbi/sbi_pmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/sbi/sbi_pmu.h +1
-2@@ -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 --2.25.1
--
opensbi mailing list
opensbi at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi
Anup Patel
AppliedPATCH 1/1 include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256
Quoted 9 lines · Anup Patel
+Atish
Quoted 4 lines · Jun Liang Tan
Increase maximum number of PMU hardware events that can be mapped by OpenSBI to 256
Quoted 8 lines
Quoted 2 lines
Signed-off-by Jun Liang Tan <[email protected]>Signed-off-by Wei Liang Lim <[email protected]>Looks good to me.
Reviewed-by Anup Patel <[email protected]>@Atish, we need to find better ways to control memory used by
sbi_pmu.c
Applied this patch to the riscv/opensbi repo
Thanks,
Anup
Quoted 30 lines
Regards,
AnupQuoted 26 lines
--- include/sbi/sbi_pmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/sbi/sbi_pmu.h +1
-2@@ -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 --2.25.1
--
opensbi mailing list
opensbi at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi