[PATCH v2 0/4] Miscellaneous PMU fixes
Atish Patra
atishp at rivosinc.com
Tue Jul 19 15:46:11 PDT 2022
This series have a set of smaller PMU related fixes/improvements.
Most of the fixes are around possible buffer overrun errors in case of
corrupt supervisor software.
Changes from v1->v2:
1. Split patch 1 to two patches with further improvements.
2. Added a fix for the issue pointed by Andrew.
Atish Patra (4):
lib: sbi: Fix counter index sanity check
lib: sbi: Add the bound check for events during config match
lib: sbi: Fix possible buffer overrun in counter validation
lib: sbi: Fix fw_event_map initialization
lib/sbi/sbi_pmu.c | 80 ++++++++++++++++++++++++++++++++++-------------
1 file changed, 58 insertions(+), 22 deletions(-)
--
2.25.1
More information about the opensbi
mailing list