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=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 31CFEC2D0CF for ; Tue, 24 Dec 2019 14:35:35 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 042FB20706 for ; Tue, 24 Dec 2019 14:35:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KuA790bK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 042FB20706 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rPOUJS6o6rA/BqtHQdN3fR9bWeVgNsWooJi4HSu+9TU=; b=KuA790bKQjcvSRD1oDhZufJiLy lA3EtqiYWkP258fa+cj8jvvVYyQh6XrHgj9MGtTS5+LwitT+tcNe0P6U9dWQFNclJYk4RtVVRY5rP cLVueUV/sZXC3XYxbH+xr4BvFp0p0s6aQL8QUhf0xEdEoVH4XzihAjp5T3jU/JNzDtf3mKaNyEJyU je3CaavsYJPpeN0hiun1ut8j3eE4vFs4V0Rdw96qCtR3aqRG9YCLtKiauVWCX07KVOPnsipFs3hnQ rZpKED2wTeK2zAUYKeoBWtSM7yL5QhrdEbPkDTEiE5dmc7PD+oA3pKeTnQiyvIt90kDqCbh2KuWF/ Zzgc0JdQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijlHZ-00011D-QV; Tue, 24 Dec 2019 14:35:33 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijlHX-00010r-0s for linux-arm-kernel@lists.infradead.org; Tue, 24 Dec 2019 14:35:32 +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 C4B3F1FB; Tue, 24 Dec 2019 06:35:28 -0800 (PST) Received: from [10.1.197.50] (e120937-lin.cambridge.arm.com [10.1.197.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 53CF43F534; Tue, 24 Dec 2019 06:35:28 -0800 (PST) Subject: Re: [PATCH v2 07/11] firmware: arm_scmi: Skip protocol initialisation for additional devices To: Sudeep Holla , linux-arm , open list References: <20191218111742.29731-1-sudeep.holla@arm.com> <20191218111742.29731-8-sudeep.holla@arm.com> From: Cristian Marussi Message-ID: <4113a9cf-650c-e086-fcd9-b126da1597eb@arm.com> Date: Tue, 24 Dec 2019 14:35:27 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191224_063531_108311_E7A1CB1E X-CRM114-Status: GOOD ( 11.23 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi On 24/12/2019 14:33, Sudeep Holla wrote: > On Wed, Dec 18, 2019 at 11:19 AM Sudeep Holla wrote: >> >> The scmi bus now supports adding multiple devices per protocol, >> and since scmi_protocol_init is called for each scmi device created, >> we must avoid allocating protocol private data and initialising the >> protocol itself if it is already initialised. >> >> In order to achieve the same, we can simple replace the idr pointer >> from protocol initialisation function to a dummy function. >> >> Suggested-by: Cristian Marussi > > > Hi Cristian, > > Are you fine with this approach ? If yes, I plan to apply this series. > Yes sure...forgot this was pending. Reviewed-by: Cristian Marussi Cristian > -- > Regards, > Sudeep > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel