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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C538BC3DA4A for ; Tue, 20 Aug 2024 16:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Tb22dduees/8qZVbHW/1yyoCMCxgQQcl+0y4YdF4B+o=; b=IFN/FJIklZrAaMV0PABFUh75tF f+50nhi36yqTrYBalQvNyonJLnBfvcduj9rWYeqQLhiO+txld8FIj0nG5jzwpfGw2Gc9Hsoz3UQCN AogizsHKWnIiCceZzamP4+mH3amp1tWYaaVFNoU2IpUOEQWVee8C0ydfGHpuoL9TE1rfj3FKVrNeB 7EzgkNIpxkJZdF7ks6WrkgfLm8hccssEDOrGSxfDciQ7EuOc2UaweVJ5/5OIoV2VW7iqHWKpQb9eY rVRBZgtQrMd5GcAVbqcn6nJQH7nrNw+l9QwpqPzwbe23sSzT/kh596uPoowcA4iq5A7WKFsEiuciz HypzDDXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgRHh-00000005ut5-3YO8; Tue, 20 Aug 2024 16:00:37 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgQ9g-00000005dah-3VyK for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 14:48:48 +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 39577DA7; Tue, 20 Aug 2024 07:48:42 -0700 (PDT) Received: from bogus (e107155-lin.cambridge.arm.com [10.1.198.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A98113F66E; Tue, 20 Aug 2024 07:48:13 -0700 (PDT) Date: Tue, 20 Aug 2024 15:48:11 +0100 From: Sudeep Holla To: Cristian Marussi Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm-scmi@vger.kernel.org, devicetree@vger.kernel.org, james.quinlan@broadcom.com, f.fainelli@gmail.com, vincent.guittot@linaro.org, etienne.carriere@st.com, peng.fan@oss.nxp.com, michal.simek@amd.com, quic_sibis@quicinc.com, quic_nkela@quicinc.com, dan.carpenter@linaro.org, Sudeep Holla , souvik.chakravarty@arm.com, robh@kernel.org, krzk+dt@kernel.org Subject: Re: [PATCH v1 5/6] firmware: arm_scmi: Use max_msg and max_msg_size from devicetree Message-ID: References: <20240730144707.1647025-1-cristian.marussi@arm.com> <20240730144707.1647025-6-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240730144707.1647025-6-cristian.marussi@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240820_074816_957057_7310E604 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jul 30, 2024 at 03:47:06PM +0100, Cristian Marussi wrote: > Override max_msg and max_msg_size transport properties when corresponding > devicetree properties are available. > I am holding off on these changes to think how these max_msg and max_msg_size can be used without breaking any platforms allowing space for the header and the message itself which is around 28 bytes. The binding itself looks good. We may have to adjust the value passed to the core driver taking the above into consideration. -- Regards, Sudeep