Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@kernel.org>
To: Gyokhan Kochmarla <gyokhan@amazon.de>
Cc: stable@vger.kernel.org, gregkh@linuxfoundation.org,
	Sudeep Holla <sudeep.holla@kernel.org>,
	sebastianene@google.com, linux-arm-kernel@lists.infradead.org
Subject: Re: firmware: arm_ffa: Align RxTx buffer size before mapping
Date: Mon, 1 Jun 2026 10:41:49 +0100	[thread overview]
Message-ID: <20260601-spicy-weightless-chachalaca-a2aceb@sudeepholla> (raw)
In-Reply-To: <20260601092918.11031-1-gyokhan@amazon.de>

On Mon, Jun 01, 2026 at 09:29:18AM +0000, Gyokhan Kochmarla wrote:
> From: Sudeep Holla <sudeep.holla@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


      reply	other threads:[~2026-06-01  9:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-01  9:29 firmware: arm_ffa: Align RxTx buffer size before mapping Gyokhan Kochmarla
2026-06-01  9:41 ` Sudeep Holla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260601-spicy-weightless-chachalaca-a2aceb@sudeepholla \
    --to=sudeep.holla@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=gyokhan@amazon.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=sebastianene@google.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox