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=-6.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 E6CA3C4727C for ; Thu, 1 Oct 2020 13:48:00 +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 04695207F7 for ; Thu, 1 Oct 2020 13:48:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="CT0NTPx4"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="dLdnSeB2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 04695207F7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com 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 9411918CF; Thu, 1 Oct 2020 15:47:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9411918CF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1601560078; bh=3PTR5Cl17e07ofLBsEZgJk3tVo9FqSiuxjok+mOTxWE=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=CT0NTPx4t0f6x086CE7cZXiqzmva0V3KdFKs+ySbVshqAM99w3+YYJXsQDzf3ncGu 2S8jJTFHaajzBmNa98nUrdum9UdUJh68N+72cZostzR7b/yfQMFQxiNGfimqTQ6PHq +WRYxNUUz93jsRb2nbUgI9HSdq/Mf26lWytPCs3U= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 61EF5F80337; Thu, 1 Oct 2020 15:40:31 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 41A80F801ED; Thu, 1 Oct 2020 01:06:08 +0200 (CEST) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9C459F800AB for ; Thu, 1 Oct 2020 01:05:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9C459F800AB Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="dLdnSeB2" Received: from HKMAIL104.nvidia.com (Not Verified[10.18.92.77]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 01 Oct 2020 07:05:55 +0800 Received: from HKMAIL103.nvidia.com (10.18.16.12) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 30 Sep 2020 23:05:54 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 30 Sep 2020 23:05:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bz/J6LugsruFoe7t+SQ0RUGSM5UXxlp+DGX90sqot8sC1dZTaW3Qf4q6DxVUeTuKXSCIDSdX/se1nVdYyuJ/edvvzmyYUycFSmVON5d+3N3RJRHgvseuMXjyZsMg/t/qHqKobzARRrpwDVlCRj1uujHlhs8baqm6wwMuhnBkrmWCB/ny3umLWK12/nFV5OuJkXMm1aVit6xrFCecYU8mF6pBihgUOzzDh8dcegI3GvQEhT0bSkPCDbCgagtYEDyKMrZFE6GSxutCbf2du3FpUO2SSj+4EP968lONQYeIE2673J0DMErPt595g2SO53niOB8yApl23d5/FKKLBPynng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eg/LzaO98vU8dRVkCRSzVgLEsC4bs2EWN/VtPzNeveI=; b=KemyJidU2wvEoUNWiLeRVoHh+l5PzWFmN2sakKWt9A8PXNTiTBhsoRjnyVpubCyAfmhQ82qio3RpJ6QDW1kCbmzT1bEuMUl6Zk6ZclzMLXZ4ZlgK7usaFsM+rCFmIjyQLVzFAlfU5MIUvDc2G523z/KbMeIKHuHVFIlSfw1po3QgM8vjJF/qrQLEp0g+vcW1hrPMxWEDUyzNzZDxK9YX+7okFSDHzpUPy2TuKglRMYdnzkFAvv5r4X1BtSQqg6C0+TIpMcAp4upEpqZ0uD/c4vY3F0PZWIDDB2OfjXTDv5ojzJxJO4dYvEqVXTiE/+Go/BXtLySSWGxxHZbUhM3OZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM6PR12MB3834.namprd12.prod.outlook.com (2603:10b6:5:14a::12) by DM6PR12MB4009.namprd12.prod.outlook.com (2603:10b6:5:1cd::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.25; Wed, 30 Sep 2020 23:05:52 +0000 Received: from DM6PR12MB3834.namprd12.prod.outlook.com ([fe80::cdbe:f274:ad65:9a78]) by DM6PR12MB3834.namprd12.prod.outlook.com ([fe80::cdbe:f274:ad65:9a78%7]) with mapi id 15.20.3433.032; Wed, 30 Sep 2020 23:05:52 +0000 Date: Wed, 30 Sep 2020 20:05:51 -0300 From: Jason Gunthorpe To: Dave Ertman Subject: Re: [PATCH 1/6] Add ancillary bus support Message-ID: <20200930230551.GW816047@nvidia.com> References: <20200930225051.889607-1-david.m.ertman@intel.com> <20200930225051.889607-2-david.m.ertman@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200930225051.889607-2-david.m.ertman@intel.com> X-ClientProxiedBy: MN2PR20CA0003.namprd20.prod.outlook.com (2603:10b6:208:e8::16) To DM6PR12MB3834.namprd12.prod.outlook.com (2603:10b6:5:14a::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mlx.ziepe.ca (156.34.48.30) by MN2PR20CA0003.namprd20.prod.outlook.com (2603:10b6:208:e8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32 via Frontend Transport; Wed, 30 Sep 2020 23:05:52 +0000 Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1kNlAV-004Oqf-8S; Wed, 30 Sep 2020 20:05:51 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1601507155; bh=eg/LzaO98vU8dRVkCRSzVgLEsC4bs2EWN/VtPzNeveI=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Date: From:To:CC:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:X-ClientProxiedBy:MIME-Version: X-MS-Exchange-MessageSentRepresentingType; b=dLdnSeB2iwTWIvNfRFXe0Svsf3cCeh/rqyC6Jm562hKi2HbnfkE3LsqkE88jKW9cN yinJuqUijliu0g6/zQvZHI7/SOabrxlG+w+Zso+4RLTJBQzXp7XaBYf1TCCR2yKnHy oM5Tdd36kZJJCnRnaJO8+yRVQOTGUxQahv5St1JL9V+Vrz8Rx14MNfjMu5zJx7D33j e3SLz2xPqSu6VYrXx8f51eVd1a7B7x8SI1yJdoAO8GOdvVbUEW4PaH5UA1LJ1nKq/n WRd5oJIX+oTIpMGZSXv5iccnoWRrHw97xSaQiSm0ZIeKwM4nw84/6Ms4wTA8xN0yZ/ qiuXn3IghA9jA== X-Mailman-Approved-At: Thu, 01 Oct 2020 15:40:08 +0200 Cc: alsa-devel@alsa-project.org, Kiran Patil , tiwai@suse.de, gregkh@linuxfoundation.org, ranjani.sridharan@intel.com, pierre-louis.bossart@linux.intel.com, Ranjani Sridharan , Fred Oh , broonie@kernel.org, parav@nvidia.com, Dan Williams , Shiraz Saleem , Parav Pandit 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 Wed, Sep 30, 2020 at 03:50:46PM -0700, Dave Ertman wrote: > Add support for the Ancillary Bus, ancillary_device and ancillary_driver. > It enables drivers to create an ancillary_device and bind an > ancillary_driver to it. > > The bus supports probe/remove shutdown and suspend/resume callbacks. > Each ancillary_device has a unique string based id; driver binds to > an ancillary_device based on this id through the bus. > > Co-developed-by: Kiran Patil > Signed-off-by: Kiran Patil > Co-developed-by: Ranjani Sridharan > Signed-off-by: Ranjani Sridharan > Co-developed-by: Fred Oh > Signed-off-by: Fred Oh > Reviewed-by: Pierre-Louis Bossart > Reviewed-by: Shiraz Saleem > Reviewed-by: Parav Pandit > Reviewed-by: Dan Williams > Signed-off-by: Dave Ertman > --- > Documentation/driver-api/ancillary_bus.rst | 230 +++++++++++++++++++++ > Documentation/driver-api/index.rst | 1 + > drivers/bus/Kconfig | 3 + > drivers/bus/Makefile | 3 + > drivers/bus/ancillary.c | 191 +++++++++++++++++ > include/linux/ancillary_bus.h | 58 ++++++ > include/linux/mod_devicetable.h | 8 + > scripts/mod/devicetable-offsets.c | 3 + > scripts/mod/file2alias.c | 8 + > 9 files changed, 505 insertions(+) > create mode 100644 Documentation/driver-api/ancillary_bus.rst > create mode 100644 drivers/bus/ancillary.c > create mode 100644 include/linux/ancillary_bus.h I think you need to send this patch to a lot more mailing lists, netdev, rdma and linux-kernel at least The Intel IDXD team also needs this Jason