Received: by 2002:a05:6520:2586:b029:fa:41f3:c225 with SMTP id u6csp450389lky; Fri, 11 Jun 2021 06:31:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5pIOqk39rDZBGqarR3s4uCZOd6LSNT3wlLoi9j/R8tuD0Vy9s9nBdPfOWx/ouP0dvjp0l X-Received: by 2002:a17:907:7b91:: with SMTP id ne17mr3891037ejc.58.1623418293423; Fri, 11 Jun 2021 06:31:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623418293; cv=none; d=google.com; s=arc-20160816; b=ngltYvdhRBSucSQwz8Vx9RxyRJejm5ITdegg5vATGqyVyhkUk1orBAx0r8JEJ3Ev8x MoFWJrJ13/3xrvKl8N/o3VVDiyGOYLd2F84DlzV76zV/7lq33RLT0hjbLYML+mlrgqyD 6+OU1h1X78NjeGPCrchYOKyizUcw+5L0QHMrMIIXYt9Ixk5y7itLfjzbCQyZaodpNxpz Ue3M0yo3ebd3HBzkrXeC/Z+b45urCiZQ6dZ1lEmnAxf1YWVqFsIyEVixR0hR0ycuJ3fx SCLU5QRz0pRaC2KUtEb0ZottXek84QrhaaCiPy55+2lDUMjJIZf2MgkTHlQOajlB+eST SoYw== 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=AdiYDFBBC15v8fIYYohkv0Z9wwmyPOwxYLV8K7B9eRA=; b=a/PyG7h85EfgRbX3nRGWrEMcOe3mJM6M3XLxxKtzZHFk28uGD6ZFP/4HFglPB2X939 1HZH0YwSs1zBEnoJ71Ntu3Hra9PD56ho4utBOtQmB5k7FfWENDSvY3DH4lBgw3D5D1ex j7Te8xTvnOAREbX0R+Ayn9iXRgC5M7VJBqw9v7fgATRK5kNLgBnN3R51ptiYOmtKEuAV iJiLjKQtv9OZgTAFzelGgSDQ2TwhzijBvFp551K//eUOqMTBtkeAptVYTIg13IzWYbEo GSnjeqzKNjAZ/iiVptNDSM/pOxTEqxYp7EdZxE9HIlfG0v6QW4+X3OtKXihWAPSbQaE4 3bpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ww7KB1r+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y18si5007621edr.488.2021.06.11.06.31.09; Fri, 11 Jun 2021 06:31:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ww7KB1r+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229908AbhFKNbZ (ORCPT + 99 others); Fri, 11 Jun 2021 09:31:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:36462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbhFKNbZ (ORCPT ); Fri, 11 Jun 2021 09:31:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68D97613FA; Fri, 11 Jun 2021 13:29:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623418167; bh=5syIn+RCk4Eumnt8SPMfARRletWX4c3GwaWbmkOsZ0U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ww7KB1r+D6dLROk8dlMYpi8iAR+fwNDQlEDSaCPbj5ILCyBZIVmxoxZuhCrKnpvKj 8IDtkwQZd5W6UKgQfJmVQrV21q17wF8pVvEaTtvilYc+1BUFqEt3ecnEdzHqeQS4TL e4fCFA5MiVakh10bIUuEx1haWK3nCHSjqgUsbvn4= Date: Fri, 11 Jun 2021 15:29:24 +0200 From: Greg KH To: Vinod Koul Cc: Jason Gunthorpe , Pierre-Louis Bossart , alsa-devel@alsa-project.org, Leon Romanovsky , linux-kernel@vger.kernel.org, Ranjani Sridharan , hui.wang@canonical.com, Dave Ertman , sanyog.r.kale@intel.com, Bard Liao , rander.wang@linux.intel.com, bard.liao@intel.com Subject: Re: [PATCH v4] soundwire: intel: move to auxiliary bus Message-ID: References: <20210511052132.28150-1-yung-chuan.liao@linux.intel.com> <21002781-0b78-3b36-952f-683482a925d7@linux.intel.com> <07dbe0a2-0abb-810b-ef39-b83511d3f3e0@linux.intel.com> <20210609151022.GF1002214@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 11, 2021 at 04:56:52PM +0530, Vinod Koul wrote: > On 09-06-21, 12:10, Jason Gunthorpe wrote: > > On Wed, Jun 09, 2021 at 09:44:08AM -0500, Pierre-Louis Bossart wrote: > > > > > The consensus for the auxiliary_device model was hard to reach, and the > > > agreement was to align on a minimal model. If you disagree with the > > > directions, you will have to convince Nvidia/Mellanox and Intel networking > > > folks who contributed the solution to do something different. > > > > The purpose of the aux devices was primarily to bind a *software* > > interface between two parts of the kernel. > > Then I dont think this example is valid... This example has a PCI device, > which represents a DSP, HDA controller, DMICs, Soundwire > links... So at least here it is hardware. Yes, and that's fine, and exactly what aux devices were created for. You divide up a single logically addressable device into differently handled portions. Not all hardware specs were as "smart" as USB was in allowing multiple drivers to bind to the same physical USB device and talk to it at the same time :) Luckily the USB spec authors learned from the mistakes of PCI... thanks, greg k-h