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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1544FC6379F for ; Wed, 15 Feb 2023 10:17:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233885AbjBOKRm (ORCPT ); Wed, 15 Feb 2023 05:17:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229578AbjBOKRj (ORCPT ); Wed, 15 Feb 2023 05:17:39 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BF9CF22A34; Wed, 15 Feb 2023 02:17:37 -0800 (PST) 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 D0C981042; Wed, 15 Feb 2023 02:18:19 -0800 (PST) Received: from bogus (unknown [10.57.10.143]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2CECC3F663; Wed, 15 Feb 2023 02:17:36 -0800 (PST) Date: Wed, 15 Feb 2023 10:17:32 +0000 From: Sudeep Holla To: Elliot Berman Cc: Jassi Brar , linux-kernel@vger.kernel.org, Sudeep Holla , linux-acpi@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH 0/3] mailbox: Allow direct registration to a channel Message-ID: <20230215101732.pbpom3ub3yh75n4w@bogus> References: <20230213232537.2040976-1-quic_eberman@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230213232537.2040976-1-quic_eberman@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 13, 2023 at 03:25:34PM -0800, Elliot Berman wrote: > Two mailbox controllers have channel/client binding mechanisms that are > controller-specific and not using the devicetree binding mechanisms. Mailbox > channel/client is conceptually done in two steps: selecting the channel > and binding the selected to channel to a client. Channel selection is sometimes > controller specific (pcc and omap are examples). The channel/client binding > code is all the same. > > This small series de-duplicates and refactors the channel/client binding > into a common framework function: "mbox_bind_client" which all of the > channel selection mechanisms can use. > > I found this duplicate code while working on the support for Gunyah hypervisor > message queues [1]. I've only been able to compile-test omap-maiblox and pcc, > however it is a straightforward conversion here. > > [1]: https://lore.kernel.org/all/20230120224627.4053418-9-quic_eberman@quicinc.com/ > > Elliot Berman (3): > mailbox: Allow direct registration to a channel I am unable to find the above patch either in my inbox or in lore[1]. Can you please repost the same ? I would like to test/review w.r.t PCC driver. -- Regards, Sudeep [1] https://lore.kernel.org/all/20230213232537.2040976-1-quic_eberman@quicinc.com/