Re: [PATCH] firmware: arm_ffa: Unmap Rx/Tx buffers on shutdown

From: Sudeep Holla

Date: Wed Aug 19 2026 - 03:09:00 EST


On Tue, Aug 18, 2026 at 03:44:04PM -0700, Carol L Soto wrote:
> The FF-A core maps its Rx/Tx buffers with the firmware during probe,
> but only unmaps them from the remove and probe error paths. A kexec
> reboot runs device_shutdown() without removing the driver, leaving the
> old buffers mapped in the firmware.
>
> The next kernel can then fail to register its Rx/Tx buffers because the
> firmware still tracks the previous mapping.
>

I had posted a single line patch here[1]. The original author/reported never
got back.

--
Regards,
Sudeep

[1] https://lore.kernel.org/all/20260729-nostalgic-accurate-raccoon-ab7d7e@sudeepholla