firmware: arm_ffa: Align RxTx buffer size before mapping
Sudeep Holla
sudeep.holla at kernel.org
Mon Jun 1 02:41:49 PDT 2026
On Mon, Jun 01, 2026 at 09:29:18AM +0000, Gyokhan Kochmarla wrote:
> From: Sudeep Holla <sudeep.holla at kernel.org>
>
> commit 0399e3f872ca3d78044bb715a73ea645806d2c7b upstream.
>
> Commit 83210251fd70 ("firmware: arm_ffa: Use the correct buffer size during
> RXTX_MAP") advertises PAGE_ALIGN(rxtx_bufsz) to firmware when mapping the
> buffers but the driver continues to stores the minimum FF-A buffer size
> in drv_info->rxtx_bufsz which is used elsewhere in the driver.
>
> Align the size before storing it so that the allocation, validation and
> FFA_RXTX_MAP all use the same buffer size.
>
> Fixes: 83210251fd70 ("firmware: arm_ffa: Use the correct buffer size during RXTX_MAP")
Because of the fixes tag, it was already backported/queued to v7.0, v6.18
and v6.12. May I ask what was the intention of posting ?
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list