Skip to content

Miscellaneous PMU fixes

Atish Patra opensbi 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v24 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

1. Improved patch 2.
2. Added RB tags.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib: sbi: Fix counter index sanity checklib/sbi/sbi_pmu.c+17 -161 reply
2/4lib: sbi: Add the bound check for events during config matchlib/sbi/sbi_pmu.c+44 -22 replies
3/4lib: sbi: Fix possible buffer overrun in counter validationlib/sbi/sbi_pmu.c+4 -41 reply
4/4lib: sbi: Fix fw_event_map initializationlib/sbi/sbi_pmu.c+1 -11 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndrew JonesAnup Patel
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Miscellaneous PMU fixes

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 v2->v3:
1. Improved patch 2.
2. Added RB tags.

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 | 87 +++++++++++++++++++++++++++++++++++------------

1 file changed, 65 insertions(+), 22 deletions(-)

--
2.25.1