linux-stable/drivers/firmware/arm_scmi
Cristian Marussi c0781d6898 firmware: arm_scmi: Make raw debugfs entries non-seekable
[ Upstream commit b70c7996d4 ]

SCMI raw debugfs entries are used to inject and snoop messages out of the
SCMI core and, as such, the underlying virtual files have no reason to
support seeking.

Modify the related file_operations descriptors to be non-seekable.

Fixes: 3c3d818a93 ("firmware: arm_scmi: Add core raw transmission support")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240315140324.231830-1-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-17 11:19:27 +02:00
..
Kconfig firmware: arm_scmi: Add the raw mode co-existence support 2023-01-20 11:41:31 +00:00
Makefile firmware: arm_scmi: Add core raw transmission support 2023-01-20 11:41:15 +00:00
base.c
bus.c firmware: arm_scmi: Remove duplicate include header inclusion 2023-03-06 08:42:33 +00:00
clock.c firmware: arm_scmi: Improve checks in the info_get operations 2022-08-22 18:01:45 +01:00
common.h firmware: arm_scmi: Check mailbox/SMT channel for consistency 2024-01-31 16:19:07 -08:00
driver.c firmware: Explicitly include correct DT includes 2023-08-12 10:31:01 +02:00
mailbox.c firmware: arm_scmi: Check mailbox/SMT channel for consistency 2024-01-31 16:19:07 -08:00
msg.c
notify.c
notify.h
optee.c firmware: Use of_property_present() for testing DT property presence 2023-04-04 21:51:23 +02:00
perf.c firmware: arm_scmi: Use xa_insert() to store opps 2024-01-31 16:19:12 -08:00
power.c
powercap.c firmware: arm_scmi: Add Powercap protocol enable support 2023-06-06 14:04:01 +01:00
protocols.h firmware: arm_scmi: Add per-channel raw injection support 2023-01-20 11:41:37 +00:00
raw_mode.c firmware: arm_scmi: Make raw debugfs entries non-seekable 2024-04-17 11:19:27 +02:00
raw_mode.h firmware: arm_scmi: Add per-channel raw injection support 2023-01-20 11:41:37 +00:00
reset.c firmware: arm_scmi: Fix the asynchronous reset requests 2022-08-23 12:21:37 +01:00
scmi_pm_domain.c MMC core: 2022-09-28 11:36:31 -07:00
scmi_power_control.c
sensors.c firmware: arm_scmi: Harden accesses to the sensor domains 2022-08-22 18:02:59 +01:00
shmem.c firmware: arm_scmi: Check mailbox/SMT channel for consistency 2024-01-31 16:19:07 -08:00
smc.c firmware: arm_scmi: Fix double free in SMC transport cleanup path 2024-03-26 18:19:32 -04:00
system.c
virtio.c firmware: arm_scmi: Use dedicated devices to initialize channels 2023-01-19 09:43:48 +00:00
voltage.c