From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09C5539B949 for ; Mon, 27 Apr 2026 12:42:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777293740; cv=none; b=OSwmh54qZOzy04ctebk9CaxIGEj4Xodag4Y2BKxMnerz9+iF9i+hng+hopfIdeC7sxAtyRwcIBabG5AxButUj5noUDsxQAaVAoz/6VXBz2v/oeqmn5VhR4fJE9scrbGikDaKC/3/u3hQLjMKrzBeOWLKsKt7ocyKzSx3b4o+EkY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777293740; c=relaxed/simple; bh=E4JN3tpqXjLm9rCgx2y53pOGJUFLoml2hig5xRKFWyU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l6RQmkQfodjzF/edI5Ostr1VqrgORAcWzy2BMeyH/mozUf4xGvFs/NLbDswLuT9fNq6lxMp4eemDpPSx/+2e+SKfA0+EU7yR1kNx9Zen5jcfciMoOh23mjZdJLOKPQ1xpkWYovlk30xUNS/IWZo/O0mQzICNl6ovgMauIoLPnHE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=f0mNuntO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="f0mNuntO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2F69C19425; Mon, 27 Apr 2026 12:42:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777293739; bh=E4JN3tpqXjLm9rCgx2y53pOGJUFLoml2hig5xRKFWyU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f0mNuntOXUvsvZTC6O2mHfHb7CLmA9EtKNC1EppXeQZZh3QMv/bkTKOAog9WDGQck hpzWFXRnx0/D8wCQBokY+KEs3HlZkrjtb6HSD42W3PKSndSeH58g9eQuvGvA0A6pRI GkT2sV6Q8owz1BIobe1uV5w9Ze1e2+BffxobzMk6S26WEaaMvsbz6AS/jVb/Nca5Iw NJyKA3qj3KsX9TQTVGNXvgDHCoLIcCbh9f6N1MzL/JGbPc+4gIHQir1mZVqwiTy3mu FUYUaksyYCMBAXdbiwXM193X7X34JM97mJEpAemjLdGUps4tLjeC+jjHPT/PW2txSF bqiMLTQCK9M5g== Date: Mon, 27 Apr 2026 13:42:16 +0100 From: Sudeep Holla To: Sebastian Ene Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jens Wiklander Subject: Re: [PATCH 3/8] firmware: arm_ffa: Align RxTx buffer size before mapping Message-ID: <20260427-witty-light-hyrax-ea65d1@sudeepholla> References: <20260423-ffa_fixes-v1-0-61189661affe@kernel.org> <20260423-ffa_fixes-v1-3-61189661affe@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 . > Thanks! -- Regards, Sudeep