linux/drivers/firmware/arm_ffa
Sudeep Holla 3bb3e80faf firmware: arm_ffa: Tear down driver during shutdown
The platform core invokes a driver's shutdown callback, rather than its
remove callback, while preparing devices for a normal kexec. Without a
shutdown callback, the FF-A driver leaves notifications, partition devices,
and the RX/TX mapping active before the replacement kernel is booted.

Use ffa_remove() for shutdown so the existing cleanup runs before a normal
kexec and other orderly system shutdowns.

Reported-by: Nat Gurumoorthy <natg@google.com>
Closes: https://lore.kernel.org/all/20260729162731.1383875-1-natg@google.com/
Reported-by: Carol L Soto <csoto@nvidia.com>
Closes: https://lore.kernel.org/all/20260818224404.3694580-1-csoto@nvidia.com
Reported-by: Maxi Saparov <masaparov@coreweave.com>
Closes: https://lore.kernel.org/all/20260826222337.73480-1-maxi.saparov@gmail.com
Link: https://patch.msgid.link/20260901131112.3437516-1-sudeep.holla@kernel.org
Tested-by: Carol L Soto <csoto@nvidia.com>
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
2026-09-01 17:41:07 +01:00
..
bus.c firmware: arm_ffa: Set the core device as FF-A device parent 2026-05-17 12:42:37 +01:00
common.h firmware: arm_ffa: Register core as a platform driver 2026-05-17 12:42:37 +01:00
driver.c firmware: arm_ffa: Tear down driver during shutdown 2026-09-01 17:41:07 +01:00
Kconfig firmware: arm_ffa: Add support for SMCCC as transport to FFA driver 2021-05-26 22:36:46 +01:00
Makefile firmware: arm_ffa: Split bus and driver into distinct modules 2024-05-29 23:23:25 +01:00
smccc.c firmware: arm_ffa: Register core as a platform driver 2026-05-17 12:42:37 +01:00