Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1017667pxu; Sat, 5 Dec 2020 01:13:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOyAKh8C7elt0WFM0uhhG+fMLQWCV0Ast7RJRYqQ/irVYu9ffZYptUNyfujc4bgRIxpmu2 X-Received: by 2002:a17:906:60c8:: with SMTP id f8mr10639580ejk.14.1607159580690; Sat, 05 Dec 2020 01:13:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607159580; cv=none; d=google.com; s=arc-20160816; b=ek9qvPQ5J/m8MTjatrMVtrV+zKvdGOuaRVCGWSNNGRwviQrB3EPbSZCWHmny2u6wSt t2I4QpoyFP72xA8nL3rgZBimThN5vVnRunR1KPXHJq0apCgvgZPcBy2RLUXfFKTuUUYY EBqAEu9mqcUErKm85VaSXjJpDZY2T3MFQ77KuYMTBGaAPkN7SwrwETVC6usDj5LnGwFX QgwXz7KoND6cmAkkDjtGeblNpN4WKANkQeCJdKmkJq/amGReqZOKnmI9H/sdH9mVeRMJ j5+FP749Jtk39/nPP53w6S2VdmPZW47EWsG8uamQQgtnmV6zFomLZPxkDZn7BVmX2FyA uk7g== 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=asZLPXwrwgPGtbCNhgzqBQirm95HxRviA53IxGO/KkI=; b=jKpTtKWq+7oMSLqxKJBOS9SbD6/a+9fPFNsZfmA73zUBrQJpK7I7HdPietMT67qCuu oStS+vfyiqMxogoFnMZ1dzJhhuTW+Q4lQUBABOJm4VcIptJ46t5iLgTrukQFKlnoPC4v 3NYfEiWPSGppHvviEsuZEvgzRGjdfDQiSEZ/OEF+YMU/7Iia00yTIDrhRJG6iHhJgUlf PxjuJnZA01LbSZb2VQbzrA5t4PIB/2/xD1CXuxjM+rjo1hvknvdRZEOkUjoPBLUzzyAK oROfXMffjjgu92KnhNSKQs59GpbE9jEGGiu7ijGPomUSkUE1l+ONK0wg4P4peddQn5x8 BPgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ThqA6ZHs; 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 n11si3163296ejg.660.2020.12.05.01.12.37; Sat, 05 Dec 2020 01:13:00 -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=ThqA6ZHs; 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 S1728704AbgLEJG7 (ORCPT + 99 others); Sat, 5 Dec 2020 04:06:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:60238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728683AbgLEJFO (ORCPT ); Sat, 5 Dec 2020 04:05:14 -0500 Date: Sat, 5 Dec 2020 10:02:57 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1607158981; bh=T5Cy5S4whTm2De325zOYyTTOScgEl0eEOxiRme4fAt4=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=ThqA6ZHs93cJhMXVhm6lP/UVNH1bEFBeiauWQWCLZDHo+ztT2v6xyko9bTObCSj9L tFQhFd9SHvy+zEKSTHRPdE/Di18QjTlnhPhtfMnPDV44l4I309A3OUVGmK0Qwe+Yoh tpPIepcKOSD37oM42KwfNC4MpJu5Kt78/VAc/x54= From: Greg KH To: Ranjani Sridharan Cc: Leon Romanovsky , Pierre-Louis Bossart , alsa-devel@alsa-project.org, Kiran Patil , linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Martin Habets , lgirdwood@gmail.com, Fred Oh , broonie@kernel.org, jgg@nvidia.com, Dave Ertman , kuba@kernel.org, Dan Williams , Shiraz Saleem , davem@davemloft.net, linux-kernel@vger.kernel.org, Parav Pandit Subject: Re: [resend/standalone PATCH v4] Add auxiliary bus support Message-ID: References: <160695681289.505290.8978295443574440604.stgit@dwillia2-desk3.amr.corp.intel.com> <20201204123207.GH16543@unreal> 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, Dec 04, 2020 at 09:10:34AM -0800, Ranjani Sridharan wrote: > On Fri, 2020-12-04 at 13:59 +0100, Greg KH wrote: > > On Fri, Dec 04, 2020 at 02:32:07PM +0200, Leon Romanovsky wrote: > > > On Fri, Dec 04, 2020 at 12:42:46PM +0100, Greg KH wrote: > > > > 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 < > > > > > ranjani.sridharan@linux.intel.com> > > > > > Co-developed-by: Fred Oh > > > > > Co-developed-by: Leon Romanovsky > > > > > Signed-off-by: Kiran Patil > > > > > Signed-off-by: Ranjani Sridharan < > > > > > ranjani.sridharan@linux.intel.com> > > > > > Signed-off-by: Fred Oh > > > > > Signed-off-by: Leon Romanovsky > > > > > Signed-off-by: Dave Ertman > > > > > Reviewed-by: Pierre-Louis Bossart < > > > > > pierre-louis.bossart@linux.intel.com> > > > > > 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. > > > > > > > > > > For example implementations incorporating this patch, see Dave > > > > > Ertman's > > > > > SOF series: > > > > > > > > > > https://lore.kernel.org/r/20201113161859.1775473-2-david.m.ertman@intel.com > > > > > > > > > > ...and Leon's mlx5 series: > > > > > > > > > > http://lore.kernel.org/r/20201026111849.1035786-1-leon@kernel.org > > > > > > > > > > PS: Greg I know I promised some review on newcomer patches to > > > > > help with > > > > > your queue, unfortunately Intel-internal review is keeping my > > > > > plate > > > > > full. Again, I do not want other stakeholder to be waiting on > > > > > me to > > > > > resolve that backlog. > > > > > > > > Ok, I spent some hours today playing around with this. I wrote > > > > up a > > > > small test-patch for this (how did anyone test this thing???). > > > > > > We are running all verifications tests that we have over our > > > mlx5 driver. It includes devices reloads, power failures, FW > > > reconfiguration to emulate different devices with and without error > > > injections and many more. Up till now, no new bugs that are not > > > known > > > to us were found. > > > > Yes, sorry, I was implying that the authors here had to create _some_ > > code to test this with, it would have been nice to include that as > > well > > here. We are collecting more and more in-kernel tests, having one > > for > > this code would be nice to also have so we make sure not to break any > > functionality in the future. > > Hi Greg, > > Thanks for your patience with this series. The v4 version submitted by > Dave included the SOF usage code to demonstrate the usage. We have run > all tests for device registration, module reload, PM etc and have not > observed any regressions in the SOF audio driver. Yes, that works great if you have that specific hardware to test with. If you don't, then it's kind of impossible to test this code :( thanks, greg k-h