[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201013105043.GB7040@bogus>
Date: Tue, 13 Oct 2020 11:50:43 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: linux-kernel@...r.kernel.org
Cc: linux-arm-kernel@...ts.infradead.org,
Etienne Carriere <etienne.carriere@...aro.org>,
Cristian Marussi <cristian.marussi@....com>,
Sudeep Holla <sudeep.holla@....com>,
vincent.guittot@...aro.org, Souvik.Chakravarty@....com
Subject: Re: [PATCH] firmware: arm_scmi: Add missing Rx size re-initialisation
On Mon, Oct 12, 2020 at 03:17:46PM +0100, Sudeep Holla wrote:
> Few commands provide the list of description partially and require
> to be called consecutively until all the descriptors are fetched
> completely. In such cases, we don't release the buffers and reuse
> them for consecutive transmits.
>
> However, currently we don't reset the Rx size which will be set as
> per the response for the last transmit. This may result in incorrect
> response size being interpretted as the firmware may repond with size
> greater than the one set but we read only upto the size set by previous
> response.
>
> Let us reset the receive buffer size to max possible in such cases as
> we don't know the exact size of the response.
>
Applied to sudeep.holla/linux (for-next/scmi), thanks!
[PATCH] firmware: arm_scmi: Add missing Rx size re-initialisation
https://git.kernel.org/sudeep.holla/c/9724722fde
--
Regards,
Sudeep
Powered by blists - more mailing lists