All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Etienne Carriere <etienne.carriere@linaro.org>,
	Cristian Marussi <cristian.marussi@arm.com>,
	Sudeep Holla <sudeep.holla@arm.com>,
	vincent.guittot@linaro.org, Souvik.Chakravarty@arm.com
Subject: Re: [PATCH] firmware: arm_scmi: Add missing Rx size re-initialisation
Date: Tue, 13 Oct 2020 11:50:43 +0100	[thread overview]
Message-ID: <20201013105043.GB7040@bogus> (raw)
In-Reply-To: <20201012141746.32575-1-sudeep.holla@arm.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Sudeep Holla <sudeep.holla@arm.com>
To: linux-kernel@vger.kernel.org
Cc: Souvik.Chakravarty@arm.com, linux-arm-kernel@lists.infradead.org,
	Sudeep Holla <sudeep.holla@arm.com>,
	vincent.guittot@linaro.org,
	Etienne Carriere <etienne.carriere@linaro.org>,
	Cristian Marussi <cristian.marussi@arm.com>
Subject: Re: [PATCH] firmware: arm_scmi: Add missing Rx size re-initialisation
Date: Tue, 13 Oct 2020 11:50:43 +0100	[thread overview]
Message-ID: <20201013105043.GB7040@bogus> (raw)
In-Reply-To: <20201012141746.32575-1-sudeep.holla@arm.com>

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2020-10-13 10:50 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08 14:37 [PATCH 1/5] firmware: arm_scmi: always initialize protocols Etienne Carriere
2020-10-08 14:37 ` Etienne Carriere
2020-10-08 14:37 ` [PATCH 2/5] firmware: arm_scmi: fix transfer missing re-initialization Etienne Carriere
2020-10-08 14:37   ` Etienne Carriere
2020-10-08 21:18   ` Sudeep Holla
2020-10-08 21:18     ` Sudeep Holla
2020-10-09 12:38     ` Etienne Carriere
2020-10-09 12:38       ` Etienne Carriere
2020-10-09 15:20       ` Sudeep Holla
2020-10-09 15:20         ` Sudeep Holla
2020-10-12 14:17   ` [PATCH] firmware: arm_scmi: Add missing Rx size re-initialisation Sudeep Holla
2020-10-12 14:17     ` Sudeep Holla
2020-10-13  9:58     ` Etienne Carriere
2020-10-13  9:58       ` Etienne Carriere
2020-10-13 10:16       ` Sudeep Holla
2020-10-13 10:16         ` Sudeep Holla
2020-10-13 10:50     ` Sudeep Holla [this message]
2020-10-13 10:50       ` Sudeep Holla
2020-10-08 14:37 ` [PATCH 3/5] firmware: arm_scmi: add config dependency for smc transport Etienne Carriere
2020-10-08 14:37   ` Etienne Carriere
2020-10-08 21:08   ` Sudeep Holla
2020-10-08 21:08     ` Sudeep Holla
2020-10-09 12:33     ` Etienne Carriere
2020-10-09 12:33       ` Etienne Carriere
2020-10-09 15:58       ` Sudeep Holla
2020-10-09 15:58         ` Sudeep Holla
2020-10-12 10:11         ` Etienne Carriere
2020-10-12 10:11           ` Etienne Carriere
2020-10-08 14:37 ` [PATCH 4/5] firmware: arm_scmi: smc transport supports multi-message pool Etienne Carriere
2020-10-08 14:37   ` Etienne Carriere
2020-10-08 21:11   ` Sudeep Holla
2020-10-08 21:11     ` Sudeep Holla
2020-10-09 12:43     ` Etienne Carriere
2020-10-09 12:43       ` Etienne Carriere
2020-10-09 15:17       ` Sudeep Holla
2020-10-09 15:17         ` Sudeep Holla
2020-10-12  8:57         ` Sudeep Holla
2020-10-12  8:57           ` Sudeep Holla
2020-10-12  9:12           ` Etienne Carriere
2020-10-12  9:12             ` Etienne Carriere
2020-10-08 14:37 ` [PATCH 5/5] firmware: arm_scmi: fix ARCH_COLD_RESET Etienne Carriere
2020-10-08 14:37   ` Etienne Carriere
2020-10-08 21:16   ` Sudeep Holla
2020-10-08 21:16     ` Sudeep Holla
2020-10-08 19:17 ` [PATCH 1/5] firmware: arm_scmi: always initialize protocols Sudeep Holla
2020-10-08 19:17   ` Sudeep Holla
2020-10-09 12:31   ` Etienne Carriere
2020-10-09 12:31     ` Etienne Carriere
2020-10-09 16:31     ` Cristian Marussi
2020-10-09 16:31       ` Cristian Marussi
2020-10-12  9:32     ` Sudeep Holla
2020-10-12  9:32       ` Sudeep Holla
2020-10-13 10:45 ` Sudeep Holla
2020-10-13 10:45   ` Sudeep Holla

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=20201013105043.GB7040@bogus \
    --to=sudeep.holla@arm.com \
    --cc=Souvik.Chakravarty@arm.com \
    --cc=cristian.marussi@arm.com \
    --cc=etienne.carriere@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vincent.guittot@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.