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 61611C2BD09 for ; Mon, 1 Jul 2024 13:40:40 +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=jR5upTwi3ScfYd15ZDXZ0HheP5SLWq9cTOaibWFLWAg=; b=MVYKUlOfl02ttIzNT8f/6j6TnD IAcQOP5vF/t67ZSa+H973KPoscC1e95PTNbRJzpHp715Gxg9Vwx8tHJg1Cphmg4CgdCROLSxqyYF6 pgwv0j2IZV2DvCO2gZ0TMkMk54vSDcKNTZEu5w3LYjuGedth7t/RTsnGyrHuMd0MULEeGPyhPrd7O HUowAvDsAQIlUv03q25/fLElZ2Tod+IDGTp9I7fBmDENt4kryQg1yf9+laydQapT8tLZUOiC9VCER FazfZ8IoCM1ElAQ/VzJffCrxxjiS8eMormbqGy7Nc2X+OkN9EeA3EjENSvJdRSCorFczMopMVHgit W+M8Oo1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOHGc-00000003X6Y-1zaB; Mon, 01 Jul 2024 13:40:26 +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 1sOHGR-00000003X4a-19rI for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 13:40:16 +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 8C1BA339; Mon, 1 Jul 2024 06:40:37 -0700 (PDT) Received: from pluto (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 961B83F766; Mon, 1 Jul 2024 06:40:11 -0700 (PDT) Date: Mon, 1 Jul 2024 14:40:09 +0100 From: Cristian Marussi To: "Peng Fan (OSS)" Cc: sudeep.holla@arm.com, cristian.marussi@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arm-scmi@vger.kernel.org, Peng Fan Subject: Re: [PATCH] firmware: arm_scmi: introduce setup_shmem_iomap Message-ID: References: <20240701030143.2327844-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240701030143.2327844-1-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_064015_385930_C808282D X-CRM114-Status: UNSURE ( 9.16 ) 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 Mon, Jul 01, 2024 at 11:01:43AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > To get the address of shmem could be generalized by introducing > setup_shmem_iomap. Then the duplicated code in mailbox.c and optee.c > could be dropped. > Hi Peng, thanks for doing this cleanup, it is certainly needed. Since I am in the middle of a rework/reshape of the whole SCMI stack at the transport layer, I will pick up this patch of yours and integrate in my transports-rework related series in order to avoid clashes with all of my refactoring ... O_o (hopefully later this week I will post something...) Thanks, Cristian