From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51C6EC433DF for ; Tue, 13 Oct 2020 10:52:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D1D84208D5 for ; Tue, 13 Oct 2020 10:52:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qmkwlyMo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1D84208D5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qJE0yHDtkObnVP5xQcsc69+njGNK62zh6GuKzlAvTGI=; b=qmkwlyMoVm4aHtulkcB+R7JYW yXYYYGaZBdeQ0gRfQDr6+D4RPsqWrbLPrFSTCCA7ycT8KCn2hZlZn+6t01knAia9TYWDIQdy9ytjK Mcb8t08+4Eh96mFmXjsyMyJJjSjfXwaO70f6UQXxcBAPvsG0OXt6DHV5hrmMfw+pLN/ppWH85Wg6D blKFKXDkLyTUOJwg0g0dqhCpdhC8Qt9KDoioyP21NPf1Z4i9Zwkr6U7eYRIZiumZiL5TuebMoXjBD X+xIdAgViyNLnyEU0pTc+3uDDvM1eZYMAFqXgBmMdIr6ol5+2z5wg73WY8FIHdVCUX6nNHiUPrTz8 FIzFVnnpQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSHtM-0006uI-Vn; Tue, 13 Oct 2020 10:50:53 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSHtK-0006tp-Qi for linux-arm-kernel@lists.infradead.org; Tue, 13 Oct 2020 10:50:51 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 31FA631B; Tue, 13 Oct 2020 03:50:48 -0700 (PDT) Received: from bogus (unknown [10.57.16.122]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9E3A13F719; Tue, 13 Oct 2020 03:50:46 -0700 (PDT) Date: Tue, 13 Oct 2020 11:50:43 +0100 From: Sudeep Holla To: linux-kernel@vger.kernel.org Subject: Re: [PATCH] firmware: arm_scmi: Add missing Rx size re-initialisation Message-ID: <20201013105043.GB7040@bogus> References: <20201008143722.21888-2-etienne.carriere@linaro.org> <20201012141746.32575-1-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201012141746.32575-1-sudeep.holla@arm.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201013_065050_936176_52FFF6FB X-CRM114-Status: GOOD ( 14.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Souvik.Chakravarty@arm.com, linux-arm-kernel@lists.infradead.org, Sudeep Holla , vincent.guittot@linaro.org, Etienne Carriere , Cristian Marussi Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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