linux-mainline/drivers/firmware/arm_scmi
Sibi Sankar c3638b851b firmware: arm_scmi: Fixup perf power-cost/microwatt support
The perf power scale value would currently be reported as bogowatts if the
platform firmware supports microwatt power scale and meets the perf major
version requirements. Fix this by populating version information in the
driver private data before the call to protocol attributes is made.

CC: Chandra Sekhar Lingutla <quic_lingutla@quicinc.com>
Fixes: 3630cd8130 ("firmware: arm_scmi: Add SCMI v3.1 perf power-cost in microwatts")
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20230811204818.30928-1-quic_sibis@quicinc.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2023-09-11 10:34:05 +01:00
..
base.c
bus.c
clock.c
common.h
driver.c firmware: Explicitly include correct DT includes 2023-08-12 10:31:01 +02:00
Kconfig
mailbox.c firmware: arm_scmi: Drop OF node reference in the transport channel setup 2023-07-19 18:25:21 +01:00
Makefile
msg.c
notify.c
notify.h
optee.c
perf.c firmware: arm_scmi: Fixup perf power-cost/microwatt support 2023-09-11 10:34:05 +01:00
power.c
powercap.c firmware: arm_scmi: Add Powercap protocol enable support 2023-06-06 14:04:01 +01:00
protocols.h
raw_mode.c firmware: arm_scmi: Fix signed error return values handling 2023-07-18 10:50:57 +01:00
raw_mode.h
reset.c
scmi_pm_domain.c
scmi_power_control.c
sensors.c
shmem.c
smc.c firmware: arm_scmi: Fix chan_free cleanup on SMC 2023-07-20 13:31:58 +01:00
system.c
virtio.c
voltage.c