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=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 B403CC4727E for ; Thu, 1 Oct 2020 18:17:26 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 796B920754 for ; Thu, 1 Oct 2020 18:17:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="ghlnOxAL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="PkhR8lZx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 796B920754 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D1D2B1942; Thu, 1 Oct 2020 20:16:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D1D2B1942 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1601576243; bh=HgR7GnnRFXuXacaQ2FQM+ZbnRVZc1nqrFcbWeiSNw8g=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ghlnOxALwJ1vWKn35+LH0rxCfpFC22kKuyKvcoG/AAr3iUMCtSmvCGuEjdvZt/AK3 il8Kiak3mi72a+hTkFqqvC+T4emzk2PNf8X6uGpOw9FSKEDVQIya5MuSulrR17b8wS v3R/HK6W5PM9aLnKkXgfYSarCkLcnijhBKa5TvZI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 52DFFF801DB; Thu, 1 Oct 2020 20:16:33 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EF0D0F801F5; Thu, 1 Oct 2020 20:16:31 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 23AE6F801D8 for ; Thu, 1 Oct 2020 20:16:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 23AE6F801D8 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="PkhR8lZx" Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5D5C2206B2; Thu, 1 Oct 2020 18:16:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601576184; bh=HgR7GnnRFXuXacaQ2FQM+ZbnRVZc1nqrFcbWeiSNw8g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PkhR8lZxFytSvTocmjz/r24O62H8cQjjdoZ98Uwy2H/quDobG9JBfaBJ9b2GdcjsS RTXKXncBXVgpSpkFaIhLyClW6bzYmMoohcHktv+oH/PR4aQOnB1oS/Xg33cm+ZqC86 VdDBtk/mPaW6nWreSvRSu/iLaDrpEhaegaHwKtM4= Date: Thu, 1 Oct 2020 20:16:24 +0200 From: Greg KH To: Mark Brown Subject: Re: [PATCH 0/6] Ancillary bus implementation and SOF multi-client support Message-ID: <20201001181624.GC3598943@kroah.com> References: <20200930225051.889607-1-david.m.ertman@intel.com> <20201001125038.GC6715@sirena.org.uk> <20201001131252.GA2382269@kroah.com> <20201001144019.GJ6715@sirena.org.uk> <20201001153207.GA2414635@kroah.com> <20201001160316.GL6715@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201001160316.GL6715@sirena.org.uk> Cc: alsa-devel@alsa-project.org, tiwai@suse.de, ranjani.sridharan@intel.com, pierre-louis.bossart@linux.intel.com, parav@nvidia.com, jgg@nvidia.com, Dave Ertman X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, Oct 01, 2020 at 05:03:16PM +0100, Mark Brown wrote: > On Thu, Oct 01, 2020 at 05:32:07PM +0200, Greg KH wrote: > > On Thu, Oct 01, 2020 at 03:40:19PM +0100, Mark Brown wrote: > > > > Right, so my concern is that as soon as we decide we want to pass some > > > resources or platform data through to one of the subdevices it needs to > > > move over into being a platform device and vice versa. That feels like > > > something that's going to add to the mess for some of the uses. > > > There shouldn't be a need for resources or platform data to be passed > > that way as they are all "owned" by the parent device that creates > > these. > > > I don't want to see platform devices become children of real devices > > (like PCI and USB and others), which is the goal here. platform devices > > are overloaded and abused enough as it is, let's not make it worse. > > How does this interact with the situation where someone makes a PCI > device that's basically a bunch of IPs glued together in a PCI memory > region (or similarly for other buses)? The IPs all have distinct > memory regions and other resources like interrupt lines which makes them > unsuitable for auxilliary devices as proposed, especially in cases where > there's more than one copy of the IP instantiated. There's a bunch of > PCI MFDs in tree already of admittedly varying degrees of taste, and > MFDs on other buses also use the resource passing stuff. I would like to move those PCI MFDs away from that, and into this bus instead. If there needs to have a way to pass/share resources, great, let's add it, there's no objection from me. thanks, greg k-h