diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2024-02-12 15:32:23 +0300 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2024-02-20 09:35:55 +0300 |
commit | 8733e86a80f5a7abb7b4b6ca3f417b32c3eb68e3 (patch) | |
tree | ccfe7fc97fd5c5a0d629c75bf206fab2591abf6c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 961745b2c42eb562a6b4433dc5f8fbd974ce4137 (diff) | |
download | linux-8733e86a80f5a7abb7b4b6ca3f417b32c3eb68e3.tar.xz |
firmware: arm_scmi: Check for notification support
When registering protocol events, use the optional .is_notify_supported
callback provided by the protocol to check if that specific notification
type is available for that particular resource on the running system,
marking it as unsupported otherwise.
Then, when a notification enable request is received, return an error if
it was previously marked as unsuppported, so avoiding to send a needless
notification enable command and check the returned value for failure.
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240212123233.1230090-2-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions