[PATCH 3/8] firmware: arm_ffa: Align RxTx buffer size before mapping
Sudeep Holla
sudeep.holla at kernel.org
Mon Apr 27 05:42:16 PDT 2026
On Mon, Apr 27, 2026 at 09:30:17AM +0000, Sebastian Ene wrote:
> On Thu, Apr 23, 2026 at 06:22:53PM +0100, Sudeep Holla wrote:
> > 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.
>
> Hello Sudeep,
>
> >
> > Align the size before storing it so that the allocation, validation and
> > FFA_RXTX_MAP all use the same buffer size.
> >
>
> Thanks for fixing this,
It was my fault, I wasn't expecting sashiko was covering most of the lists
now, so didn't check for it in time.
> Reviewed-by: Sebastian Ene <sebastianene at google.com>.
>
Thanks!
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list