Skip to content

lib: sbi: fix PMU SSE event handling

Clément Léger opensbi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib: sbi: sse: Return a value from the register callbackinclude/sbi/sbi_sse.h lib/sbi/sbi_sse.c+15 -32 replies
1/3lib: sbi: sse: Return a value from the register callback+0 -00 replies
1/3lib: sbi: sse: Return a value from the register callback+0 -00 replies
2/3lib: sbi: sse: Disable injection if callbacks are setlib/sbi/sbi_sse.c+3 -02 replies
2/3lib: sbi: sse: Disable injection if callbacks are set+0 -00 replies
2/3lib: sbi: sse: Disable injection if callbacks are set+0 -00 replies
3/3lib: sbi: pmu: Set a SSE register_cb() for event availabilitylib/sbi/sbi_pmu.c+11 -02 replies
3/3lib: sbi: pmu: Set a SSE register_cb() for event availability+0 -00 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchAtish PatraSamuel Holland
1/3R-b R-b
1/3R-b R-b
1/3R-b R-b
2/3
2/3
2/3
3/3R-b R-b
3/3R-b R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] lib: sbi: fix PMU SSE event handling

While reworking the Linux SSE support, it appears that the PMU event should not be available if the SSCOFPMF extension is not available since there would be no IRQ. The specification isn't really clear on that point so this is more like a RFC to check that. Ideally, the sse register call should allow to refuse registering an event if the dependencies are not satisfied but does not allow this yet.

Cl?ment L?ger (3):
lib: sbi: sse: Return a value from the register callback
lib: sbi: sse: Disable injection if callbacks are set
lib: sbi: pmu: Set a SSE register_cb() for event availability

 include/sbi/sbi_sse.h |  2 +-
 lib/sbi/sbi_pmu.c     | 11 +++++++++++
 lib/sbi/sbi_sse.c     | 19 +++++++++++++++++--
 3 files changed, 29 insertions(+), 3 deletions(-)
Signature · 1 line
2.45.2