diff options
| author | Kiryl Shutsemau (Meta) <kas@kernel.org> | 2026-06-29 16:07:15 +0100 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-08-02 09:21:05 +0000 |
| commit | 5686f2bed02d98d03e3f38f4b5569804510fba31 (patch) | |
| tree | f51469d41d58257ce86dc9b4dd85f605185b6dc3 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | a13c140cc289c0b7b3770bce5b3ad42ab35074aa (diff) | |
firmware: arm_sdei: add sdei_is_present()
invoke_sdei_fn() returns -EIO when no SDEI conduit was probed, and the
core warns ("Failed to create event ...") on any registration that hits
that. An optional consumer that registers an event from an unconditional
initcall would therefore make every boot on a non-SDEI system emit that
warning for what is simply absent firmware.
Expose whether SDEI firmware is present so such a consumer can skip
registration -- and the warning -- when there is nothing to talk to.
Signed-off-by: Kiryl Shutsemau (Meta) <kas@kernel.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Yin Fengwei <fengwei_yin@linux.alibaba.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
