Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp769417pxb; Thu, 5 Nov 2020 12:30:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJwD+Nz9R98czV7YsYjxCddXr1tnhcCVsXvNtG7IYHe+JcMgR2lZrawgv6bJCcP9+AheQ9z2 X-Received: by 2002:a17:906:c312:: with SMTP id s18mr4025492ejz.185.1604608201805; Thu, 05 Nov 2020 12:30:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604608201; cv=none; d=google.com; s=arc-20160816; b=M7t5hzzPXfdtOSZUO9f+8+j/kixxqlhE/nwe5887ePDHUZgvrNAH2Mz2K2Jy3oiJfw OGKpGgD2JkVav/zxDlEslkECwEi7CdmbY+kBJCob0XOC954Bg6V/Iynvypw68ImnDKqV qTp9S1wC8p0aJKevtIPkoyy31Ty9UA48XxfsdmJnpXsz0Ys4DOZREvHpSQYVR4IhfSOK BfqMgN47+QrMP6NQNgHl/s4Xz1GGzRz/JNSSf8Gx2Q2SXBFmkj7wHZzzXCSaaiKizZVM 79z7W8JOQtxh8PCtBYI+8U18bFTBr+ktvgxmtBec9T/MqhQOXDTWQYkMIjwTwytkESFL Pjww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ElB/rrPxCKnXR5px8y5SyvZ9UfH3zJvG6zS/OQ+aa24=; b=ljE5j5w1knvzlrD/ldfXq37T+BauFWNzKG0U/wL3LHV6SvyLVGCI3bfLmC0W1LeOTr iG98lJb35lX0Z98MDqrA7nTNNPPgO9qj9SfA3T//omObDH2jaFSmx1Hp1XSe/wmV50aQ 7lLuL1gW5+AerX2pAf7gEBxYTPwqc4NL3GOY1Ugy77UH8W4aFKlf5EP4PCT2bAaiWSiK mhhOCCGEx7SMPK2WvOxs59IcjH/tK869j5H3zA2MhiE3QMhQ9VDkiObjg1JuGNlZ6h6i DAmRJkWt+ZOrJ2/kGiEhEIO5gkfKdS+onlIKzq9tWGKSXeOeUV3sfDsWUnJv9HyvTDDC qhsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=ErZLZUBe; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si2238145edi.434.2020.11.05.12.29.37; Thu, 05 Nov 2020 12:30:01 -0800 (PST) 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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=ErZLZUBe; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732175AbgKEU0P (ORCPT + 99 others); Thu, 5 Nov 2020 15:26:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbgKEU0O (ORCPT ); Thu, 5 Nov 2020 15:26:14 -0500 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 597EBC0613D2 for ; Thu, 5 Nov 2020 12:26:14 -0800 (PST) Received: by mail-ej1-x643.google.com with SMTP id k3so4513158ejj.10 for ; Thu, 05 Nov 2020 12:26:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ElB/rrPxCKnXR5px8y5SyvZ9UfH3zJvG6zS/OQ+aa24=; b=ErZLZUBe+5C6NSiNMqIo5UgF39YypMZidWcizu6bHEdkOO+DrfY6zfclQDJcK+rvLF HZDRGBB9K0Zde2XPVSCZEZ9mBa4VuYO63KCeKx0l6J/UEFamr2GHa8ZSFPaa+iJ+B7Fy XJtzsHBD3yDKVHRtOTSQ+O1IAExokiNCyI1If+tR9MXH+rn+AMxXk8Ushw91ELhDnd6K kXzJZL4I8dwisUTNONoPoQj5feVRVi84c9hmRQnT5w7szohcp1r3hU5eRBd5GN9OygRm qpo0NuFIU1irs4jDeLH8gYxr+CNm7oWBvFfY/N91TkgyAdPfmdp6D5HRcaJOope9vCVe Juag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ElB/rrPxCKnXR5px8y5SyvZ9UfH3zJvG6zS/OQ+aa24=; b=SIawXt8GpZJBrIB+8V2SkzAVRdOTlDDc3TYpiAFKdCZY8ZDHDU9qWjwH8R2a+wgIm3 NnW6NdyipRmGXc0MGdoWPpPWC+OhsXJs+/nwP0WhWIs3d0Yu//I6gH1UCbUAiYqgB4H1 3cfFx5H1AUmgjcLBjafVjfG09DO9eS73ttRDlFELsAoPwFRgJEO5LB+IkOySkodtr1g+ I8n/eGfMK5Oqt/2DA1/FNFzADNw197o9SC2u9lrB3sEAeZcyU3k/8ORTAY2bmkX8O4/0 ZQoKANqef0flxXYZq+k5jHbCnCs8SjY6pwRu2FxCRUZchewhSRlHRv0adbUsFQPEeFoM 6seg== X-Gm-Message-State: AOAM530CkY2+hegsoej6J/PI3QRztcEwyvP+LNjJsdVby+2MgpJWufH/ gml04SawTBV2cPD0lMecA/rTrEg4JFyYXYrzSg2EFw== X-Received: by 2002:a17:906:70cf:: with SMTP id g15mr4009626ejk.323.1604607973094; Thu, 05 Nov 2020 12:26:13 -0800 (PST) MIME-Version: 1.0 References: <20201023003338.1285642-1-david.m.ertman@intel.com> <20201023003338.1285642-2-david.m.ertman@intel.com> In-Reply-To: From: Dan Williams Date: Thu, 5 Nov 2020 12:26:02 -0800 Message-ID: Subject: Re: [PATCH v3 01/10] Add auxiliary bus support To: Parav Pandit Cc: "Ertman, David M" , "alsa-devel@alsa-project.org" , Takashi Iwai , Mark Brown , linux-rdma , Jason Gunthorpe , Doug Ledford , Netdev , David Miller , Jakub Kicinski , Greg KH , Ranjani Sridharan , Pierre-Louis Bossart , Fred Oh , Parav Pandit , "Saleem, Shiraz" , "Patil, Kiran" , Linux Kernel Mailing List , Leon Romanovsky Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 5, 2020 at 11:40 AM Parav Pandit wrote: > > > > > From: Ertman, David M > > Sent: Friday, November 6, 2020 12:58 AM > > Subject: RE: [PATCH v3 01/10] Add auxiliary bus support > > > > > -----Original Message----- > > > From: Dan Williams > > > Sent: Thursday, November 5, 2020 1:19 AM > > > > > [..] > > > > + > > > > +Another use case is for the PCI device to be split out into > > > > +multiple sub functions. For each sub function an auxiliary_device > > > > +will be created. A PCI sub function driver will bind to such > > > > +devices that will create its own one or more class devices. A PCI > > > > +sub function auxiliary device will likely be contained in a struct > > > > +with additional attributes such as user defined sub function number > > > > +and optional attributes such as resources and a link to > > > the > > > > +parent device. These attributes could be used by systemd/udev; and > > > hence should > > > > +be initialized before a driver binds to an auxiliary_device. > > > > > > This does not read like an explicit example like the previous 2. Did > > > you have something specific in mind? > > > > > > > This was added by request of Parav. > > > This example describes the mlx5 PCI subfunction use case. > I didn't follow your question about 'explicit example'. > What part is missing to identify it as explicit example? Specifically listing "mlx5" so if someone reading this document thinks to themselves "hey mlx5 sounds like my use case" they can go grep for that.