Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1480005rwb; Tue, 4 Oct 2022 23:33:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Xb/dbbGHSZuj06mUPNbnYsh33tg/hCSkcP986d/rZIE64ljaHObKdkSHWdsY2iDloHVVT X-Received: by 2002:a05:6a00:99f:b0:543:198b:f995 with SMTP id u31-20020a056a00099f00b00543198bf995mr31008464pfg.45.1664951584305; Tue, 04 Oct 2022 23:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664951584; cv=none; d=google.com; s=arc-20160816; b=CMBm42Eb5Cev6vIV5I3ZPwoviVwd5tV+lLcsuLb0Fwmt5tatbPiu/h4jTQfbJLgFbb l/z89FedOrGkodOT04eKqCyOmVRo9qkA1xCjO+fBbG51tHkPthrl6hd7R1s2nwdO8GBr QiWGJOcCm/Ug1xmwC2hPOugoqKEdvPHJPcD+7sa5Ebu2PFN4BxSUCJwfYXqoFZhuvB6R 8Ze6jvkUy/XeUoBIgopC+zkMhME51NhQHgswLEoQB2DBs33fOh3uF6xphEC7w2ZoQzRC Av6DJFAQSWFmzGK2Xq2aE6HdU+adDHHTgwDsaodQaaQdqramDb+Cs1Rut809lkVSimRf Z1fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yjMQQCGVRBCdOIFlBryspl5Nk8p0xZKY/Q65G42F1sk=; b=e4JB3a3GnOOZ15LfpbJzng0NMn1LnC0jzExryzoaOU790+PaP939USFRNx2nbQ/RV0 xvPCZYTqzRmuv76OKO5gq8Lw3pSQx/gKDB3JXvnCucTo3LHCd82qBm0LBWVtJ4scr5mU 1Zjc6tVF5AMWzoTbIii328BQ44E8cRxlEby11VBddfVCv5wEUgI2OfSa2L+npEU42IGH xrJrFeAdtrPTMIZ0OA8ixM3rtgXIjEanC9z02OTFRJItyf+eA129yDp/cPUsutnMvxb+ x550We4+H2GV7j73NIeowtKfddKWAQW8qyJpTBenUzKADBLjc8q7wa4KoY6ETlvPppc5 l6iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=og9RHtmP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a170903228f00b0017829a3e7dcsi11671472plh.572.2022.10.04.23.32.47; Tue, 04 Oct 2022 23:33:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=og9RHtmP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229623AbiJEGVU (ORCPT + 99 others); Wed, 5 Oct 2022 02:21:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiJEGVS (ORCPT ); Wed, 5 Oct 2022 02:21:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFA7E53D30; Tue, 4 Oct 2022 23:21:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 90761B81C77; Wed, 5 Oct 2022 06:21:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3169C433D6; Wed, 5 Oct 2022 06:21:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664950875; bh=Kq4gcz5R4LOlRKyPItd/K64WIZHUieGWE3R5FkDlrGg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=og9RHtmP5t3S1cEYgFdc1xyqBNaV93o+0U+YJvmhFVZ1ogFpv5WIotSMFPI2uqkcg zFdUD6fNJ/FLRDM7XsFAfPn2SJczVszTDdl0BHGZ21VObYguokTEx9Mm2cv93cMGim 8BCE9bImULVzqHLV0+5ad/lH7tHBvwxVJ4YZ9LQo= Date: Wed, 5 Oct 2022 08:21:55 +0200 From: Greg Kroah-Hartman To: Elliot Berman Cc: Bjorn Andersson , Murali Nalajala , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Andy Gross , Dmitry Baryshkov , Jassi Brar , linux-arm-kernel@lists.infradead.org, Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , Will Deacon , Catalin Marinas , Arnd Bergmann , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 13/14] gunyah: rsc_mgr: Add auxiliary devices for console Message-ID: References: <20220928195633.2348848-1-quic_eberman@quicinc.com> <20220928195633.2348848-14-quic_eberman@quicinc.com> <1db27cda-356e-bae2-3c6a-b7916123a269@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1db27cda-356e-bae2-3c6a-b7916123a269@quicinc.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 04, 2022 at 04:49:27PM -0700, Elliot Berman wrote: > On 9/30/2022 5:19 AM, Greg Kroah-Hartman wrote: > > On Wed, Sep 28, 2022 at 12:56:32PM -0700, Elliot Berman wrote: > > > Gunyah resource manager exposes a concrete functionalities which > > > complicate a single resource manager driver. > > > > I am sorry, but I do not understand this sentance. What is so > > complicated about individual devices being created? Where are they > > created? What bus? > > There's no complexity here with using individual devices, that's why I > wanted to create secondary (auxiliary devices). > > IOW -- "I have a platform device that does a lot of different things. Split > up the different functionalities of that device into sub devices using the > auxiliary bus." Why not just have multiple platform devices? You control them, don't make it more complex than it should be. And why are these platform devices at all? As you say: > A key requirement for utilizing the auxiliary bus is that there is no > dependency on a physical bus, device, register accesses or regmap support. > These individual devices split from the core cannot live on the platform bus > as they are not physical devices that are controlled by DT/ACPI. These are not in the DT. So just make your own bus for them instead of using a platform device. Don't abuse a platform device please. thanks, greg k-h