mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 14:23:49 +01:00
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 <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Reported-by: Carol L Soto <[email protected]> Closes: https://lore.kernel.org/all/[email protected] Reported-by: Maxi Saparov <[email protected]> Closes: https://lore.kernel.org/all/[email protected] Link: https://patch.msgid.link/[email protected] Tested-by: Carol L Soto <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>