Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp333937pxu; Fri, 4 Dec 2020 04:37:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIKtIrf1rnu1FEb58M2IuUHN9q1xK6u1JTGr1EBeRXMLIBI56zS+AGlyrkgG4z607x06rA X-Received: by 2002:a05:6402:1d18:: with SMTP id dg24mr7140254edb.221.1607085443184; Fri, 04 Dec 2020 04:37:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607085443; cv=none; d=google.com; s=arc-20160816; b=Q1R63OhVSgVmTl7iC1/psKyFN1pJ8T4wOhVx6+T+juzrWJTmTozu26QvzaaF3zgShM D5TuzutaJKP3UmQJc87gXbUG2P+9uu0VNPU7z4zlMrXtSzZaVlrD7848We74JEZqJXkS nBdfO2rYTTNMLssEaapFA+0di7HQaE89yfNO4/tz5vgZif287BCcXzFAKeCZAky1TpY1 rbTohRlBYyIkbEA6ul3DKyONqWCAneubfHphEd5No54cZ6sYnV1A41T//kSHGuxywDlo pPN75EqineiO5o9XYK9fmZJ2Bd/NlyMUrxfdirTyZjb+uB0HSwygTv2jDOJjzeZE6zoD AiEQ== 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:dkim-signature:date; bh=76i+Gkzh/2Al3vGeSw8nkTgQ1ae8pvxmKkXBpvKqlJ0=; b=ylHskAz31BYDvqvcP5Wp8nYlIn8edANzlBahVuKb86n/GpPIlPh6WcCE/isRqjvuPd cvx4pO8uw2IXrzv2RagMMNk3P/ZGF8WBGoklvPiaSYLyuun17+7o+fNdxwk870htD+8X xDbuahEX+b6vWZefsqbejj3V9NQ0nD0KadBItTj4SyN6ZfXjbEQB/cvLkmAO+q/ewsJH 0AokLI8ltREfdtYocUG0fwyA5UUQH17EaQGIsB6osiIrrj0euv7RKa2EswFZBxTMlFQY pPONGQOmREhe4Dr4pC1IP3tGHmA6Amkilp1ojhaj/L/6lEyFlbcCCk/3tu5qkniSNnWK wLmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="EAiA0/sN"; 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 bi10si2961644edb.483.2020.12.04.04.36.57; Fri, 04 Dec 2020 04:37:23 -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=@linuxfoundation.org header.s=korg header.b="EAiA0/sN"; 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 S1729953AbgLDMea (ORCPT + 99 others); Fri, 4 Dec 2020 07:34:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:50008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725852AbgLDMe3 (ORCPT ); Fri, 4 Dec 2020 07:34:29 -0500 Date: Fri, 4 Dec 2020 13:35:05 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1607085228; bh=zmxko2CBQcTrRimzgblGXja5H1EAFSbtho5hMRphqPo=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=EAiA0/sN4gEYu8wNjWKaEjoBeLgLcEJvii/TTk5yXELcQpVmaMRZ3jjzJj+Fa394+ 4PQIHgB4q/CIwQLwNEnsVjn1OYMpq0QbndnuBw4uxM9E2NjGJC6v8XEo94sNO9N+5p bI5n+GCr5KOe1ypzoIF6T4f6BaOqnFts+L/3lVtU= From: Greg KH To: Dan Williams Cc: broonie@kernel.org, lgirdwood@gmail.com, davem@davemloft.net, kuba@kernel.org, jgg@nvidia.com, Kiran Patil , Ranjani Sridharan , Fred Oh , Leon Romanovsky , Dave Ertman , Pierre-Louis Bossart , Shiraz Saleem , Parav Pandit , Martin Habets , linux-rdma@vger.kernel.org, netdev@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [resend/standalone PATCH v4] Add auxiliary bus support Message-ID: References: <160695681289.505290.8978295443574440604.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <160695681289.505290.8978295443574440604.stgit@dwillia2-desk3.amr.corp.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 02, 2020 at 04:54:24PM -0800, Dan Williams wrote: > From: Dave Ertman > > Add support for the Auxiliary Bus, auxiliary_device and auxiliary_driver. > It enables drivers to create an auxiliary_device and bind an > auxiliary_driver to it. > > The bus supports probe/remove shutdown and suspend/resume callbacks. > Each auxiliary_device has a unique string based id; driver binds to > an auxiliary_device based on this id through the bus. > > Co-developed-by: Kiran Patil > Co-developed-by: Ranjani Sridharan > Co-developed-by: Fred Oh > Co-developed-by: Leon Romanovsky > Signed-off-by: Kiran Patil > Signed-off-by: Ranjani Sridharan > Signed-off-by: Fred Oh > Signed-off-by: Leon Romanovsky > Signed-off-by: Dave Ertman > Reviewed-by: Pierre-Louis Bossart > Reviewed-by: Shiraz Saleem > Reviewed-by: Parav Pandit > Reviewed-by: Dan Williams > Reviewed-by: Martin Habets > Link: https://lore.kernel.org/r/20201113161859.1775473-2-david.m.ertman@intel.com > Signed-off-by: Dan Williams > --- > This patch is "To:" the maintainers that have a pending backlog of > driver updates dependent on this facility, and "Cc:" Greg. Greg, I > understand you have asked for more time to fully review this and apply > it to driver-core.git, likely for v5.12, but please consider Acking it > for v5.11 instead. It looks good to me and several other stakeholders. > Namely, stakeholders that have pressure building up behind this facility > in particular Mellanox RDMA, but also SOF, Intel Ethernet, and later on > Compute Express Link. > > I will take the blame for the 2 months of silence that made this awkward > to take through driver-core.git, but at the same time I do not want to > see that communication mistake inconvenience other parties that > reasonably thought this was shaping up to land in v5.11. > > I am willing to host this version at: > > git://git.kernel.org/pub/scm/linux/kernel/git/djbw/linux tags/auxiliary-bus-for-5.11 > > ...for all the independent drivers to have a common commit baseline. It > is not there yet pending Greg's Ack. Here is now a signed tag for everyone else to pull from and build on top of, for 5.11-rc1, that includes this patch, and the 3 others I sent in this series. Please let me know if anyone has any problems with this tag. I'll keep it around until 5.11-rc1 is released, after which it doesn't make any sense to be there. thanks, greg k-h --------------- The following changes since commit f8394f232b1eab649ce2df5c5f15b0e528c92091: Linux 5.10-rc3 (2020-11-08 16:10:16 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/auxbus-5.11-rc1 for you to fetch changes up to 0d2bf11a6b3e275a526b8d42d8d4a3a6067cf953: driver core: auxiliary bus: minor coding style tweaks (2020-12-04 13:30:59 +0100) ---------------------------------------------------------------- Auxiliary Bus support tag for 5.11-rc1 This is a signed tag for other subsystems to be able to pull in the auxiliary bus support into their trees for the 5.11-rc1 merge. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Dave Ertman (1): Add auxiliary bus support Greg Kroah-Hartman (3): driver core: auxiliary bus: move slab.h from include file driver core: auxiliary bus: make remove function return void driver core: auxiliary bus: minor coding style tweaks Documentation/driver-api/auxiliary_bus.rst | 234 ++++++++++++++++++++++++ Documentation/driver-api/index.rst | 1 + drivers/base/Kconfig | 3 + drivers/base/Makefile | 1 + drivers/base/auxiliary.c | 274 +++++++++++++++++++++++++++++ include/linux/auxiliary_bus.h | 77 ++++++++ include/linux/mod_devicetable.h | 8 + scripts/mod/devicetable-offsets.c | 3 + scripts/mod/file2alias.c | 8 + 9 files changed, 609 insertions(+) create mode 100644 Documentation/driver-api/auxiliary_bus.rst create mode 100644 drivers/base/auxiliary.c create mode 100644 include/linux/auxiliary_bus.h