lib: sbi: fix PMU SSE event handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lib: sbi: sse: Return a value from the register callbackinclude/ lib/ | +15 | 2 replies | |
| 1/3 | lib: sbi: sse: Return a value from the register callback | +0 | 0 replies | |
| 1/3 | lib: sbi: sse: Return a value from the register callback | +0 | 0 replies | |
| 2/3 | lib: sbi: sse: Disable injection if callbacks are setlib/ | +3 | 2 replies | |
| 2/3 | lib: sbi: sse: Disable injection if callbacks are set | +0 | 0 replies | |
| 2/3 | lib: sbi: sse: Disable injection if callbacks are set | +0 | 0 replies | |
| 3/3 | lib: sbi: pmu: Set a SSE register_cb() for event availabilitylib/ | +11 | 2 replies | |
| 3/3 | lib: sbi: pmu: Set a SSE register_cb() for event availability | +0 | 0 replies |
Reviews trailers per patch
5 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Atish Patra | Samuel Holland |
|---|---|---|
| 1/3 | R-b | R-b |
| 1/3 | R-b | R-b |
| 1/3 | R-b | R-b |
| 2/3 | ||
| 2/3 | ||
| 2/3 | ||
| 3/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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