linux/drivers/firmware/arm_scmi
Cristian Marussi 72a5eb9d9c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header
Event reports are used to convey information describing events to the
registered user-callbacks: they are necessarily derived from the underlying
raw SCMI events' messages but they are not meant to expose or directly
mirror any of those messages data layout, which belong to the protocol
layer.

Using fixed size types for report fields, mirroring messages structure,
is at odd with this: get rid of them using more generic, equivalent,
typing.

Substitute scmi_event_header fixed size fields with generic types too and
shuffle around fields definitions to minimize implicit padding while
adapting involved functions.

Link: https://lore.kernel.org/r/20200710133919.39792-3-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2020-07-13 09:40:21 +01:00
..
base.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
bus.c firmware: arm_scmi: Skip protocol initialisation for additional devices 2019-12-24 11:36:26 +00:00
clock.c firmware: arm_scmi: Keep the discrete clock rates sorted 2020-07-10 12:06:27 +01:00
common.h firmware: arm_scmi: Add notification protocol-registration 2020-07-01 17:07:25 +01:00
driver.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
mailbox.c firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
Makefile firmware: arm_scmi: Add notification protocol-registration 2020-07-01 17:07:25 +01:00
notify.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
notify.h firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
perf.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
power.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
reset.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
scmi_pm_domain.c firmware: arm_scmi: Fix SCMI genpd domain probing 2020-06-30 14:08:18 +01:00
sensors.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
shmem.c firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
smc.c firmware: arm_scmi: Provide a missing function param description 2020-07-13 09:40:21 +01:00