linux/drivers/firmware/arm_scmi
Cristian Marussi 8c80c42ad4 firmware: arm_scmi: Add support for v3.2 NEGOTIATE_PROTOCOL_VERSION
Freshly introduced NEGOTIATE_PROTOCOL_VERSION allows the agent to ascertain
upfront if a specific protocol(usually older) version is supported by the
platform.

It is used by the agent in case the platform has advertised the support of
a newer protocol version than the latest version supported by the agent,
since backward compatibility cannot be automatically assumed.

Emit a warning about possible incompatibility when negotiation was not
possible or just print the successfully negotiated protocol.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240214183006.3403207-3-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2024-02-22 08:17:10 +00:00
..
base.c firmware: arm_scmi: Add protocol versioning checks 2023-12-01 16:46:10 +00:00
bus.c firmware: arm_scmi: Make scmi_bus_type const 2024-02-20 06:35:55 +00:00
clock.c firmware: arm_scmi: Implement is_notify_supported callback in clock protocol 2024-02-20 12:22:18 +00:00
common.h firmware: arm_scmi: Make scmi_bus_type const 2024-02-20 06:35:55 +00:00
driver.c firmware: arm_scmi: Add support for v3.2 NEGOTIATE_PROTOCOL_VERSION 2024-02-22 08:17:10 +00:00
Kconfig pmdomain: arm_scmi: Move Kconfig options to the pmdomain subsystem 2023-11-23 17:32:53 +01:00
mailbox.c firmware: arm_scmi: Check mailbox/SMT channel for consistency 2024-01-22 10:01:16 +00:00
Makefile
msg.c
notify.c firmware: arm_scmi: Check for notification support 2024-02-20 06:35:55 +00:00
notify.h firmware: arm_scmi: Check for notification support 2024-02-20 06:35:55 +00:00
optee.c firmware: arm_scmi: Fix struct kernel-doc warnings in optee transport 2024-02-22 08:17:10 +00:00
perf.c firmware: arm_scmi: Report frequencies in the perf notifications 2024-02-20 12:22:29 +00:00
power.c firmware: arm_scmi: Implement is_notify_supported callback in power protocol 2024-02-20 06:35:55 +00:00
powercap.c firmware: arm_scmi: Implement is_notify_supported callback in powercap protocol 2024-02-20 12:22:29 +00:00
protocols.h firmware: arm_scmi: Add support for v3.2 NEGOTIATE_PROTOCOL_VERSION 2024-02-22 08:17:10 +00:00
raw_mode.c firmware: arm_scmi: Use xa_insert() when saving raw queues 2024-01-22 10:01:17 +00:00
raw_mode.h
reset.c firmware: arm_scmi: Implement is_notify_supported callback in reset protocol 2024-02-20 12:22:29 +00:00
scmi_power_control.c
sensors.c firmware: arm_scmi: Implement is_notify_supported callback in sensor protocol 2024-02-20 12:22:29 +00:00
shmem.c firmware: arm_scmi: Replace asm-generic/bug.h with linux/bug.h 2024-01-22 10:01:16 +00:00
smc.c firmware: arm_scmi: Fix double free in SMC transport cleanup path 2024-02-20 06:35:54 +00:00
system.c firmware: arm_scmi: Implement is_notify_supported callback in system power protocol 2024-02-20 06:35:55 +00:00
virtio.c
voltage.c firmware: arm_scmi: Add protocol versioning checks 2023-12-01 16:46:10 +00:00