Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1112813ybk; Thu, 14 May 2020 00:18:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG2vbp0XpP8eQ0LaM4pPiP8F0TiK0Kl+F4Kq9Hd9SljlwwrTnZF/EUOfkSLzIFIgPTMZX6 X-Received: by 2002:a17:906:2e4d:: with SMTP id r13mr2527129eji.379.1589440703893; Thu, 14 May 2020 00:18:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589440703; cv=none; d=google.com; s=arc-20160816; b=w/yvACVDAgZgG4plQgNnTuFy+gkXq9wQMD0k59Dj5pUndWasVs7onVWYG8HhplqRIY 9ONlW3GifPtVSihMwXXTxoPQc7yOlwBy4Ibu3oGM9EU+6miNjbR9Tu2ngSdyzq6vVtpH 4ZnDNzwzeIEEnJtCsDf89PGy5/+LIN+Ezj24mJfNtN/3/fNBDfqNuqlZY0mtiXJAzKTF UcNF03/zai1BeN8NTHLIl7c5H3q4lebvLyKbHkqc1Zl7BGoDwZCmRjDuIM7/LrDNbC2y LwKQGimqQtD0iuGjfO/fLRQq4t3oHkJYbaZYRb8aYX2IDhseLUMmtaR7onzx005l1Tom H3Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=J2UOqE2TTNBpSgorBLq84MxIy2euLBhFP+vaVhWpqVE=; b=e+Otl1aXDcwqzZBgtIwmizTy1lp/0UkkLZmMD2zs1OFTiCOdmKXgGsXii4nImkMa1r 1y2YzDqHRFMIByetxLPofK1aYPBSDHNQEWhLTWqoYL6SkYrHEXudH7l6lUirPJjwQEjn aqpJnQ9iKrQqbVe997UbO1II3FK91nlqwNQGkNwW0p3WBpfUbXGA83G52DS8HjAZ9i6u 2nbYLirspojFBE4iL28r0d63U9l5Cm0RLn6/vxbm4ygxrhBSuJ/Jrs7SVnGOdsVPUmXQ 8qsKPrCBCMCYbBar2ECoFNB1QkSqAhrtDyxPRhJliptUHZND66AlFIQu0/USdiZ9EZTB Ikrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fsVHPsSu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g24si1286362ejx.432.2020.05.14.00.18.00; Thu, 14 May 2020 00:18:23 -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=@kernel.org header.s=default header.b=fsVHPsSu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726015AbgENHQf (ORCPT + 99 others); Thu, 14 May 2020 03:16:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:45362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbgENHQe (ORCPT ); Thu, 14 May 2020 03:16:34 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 80546206B6; Thu, 14 May 2020 07:16:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589440594; bh=x6XY+w06HhJq6OnCryR2C8r+d8634pKZTzl7OEtJ84I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fsVHPsSugeuQaqh74KM3vTh5YlMixAmucxuZV15thPoJJMrucj9GTrX+4SfuldnhB 9l1LHA1eD+XBDjopMaSSsjMf2YIDC55sDJofhKonyQwyNCXX2L9+6xLEwnVOYrkmJu HPyLWUmcgMwI4jj/qfiwZg1D0JFjzHw6/eb6nNR8= Date: Thu, 14 May 2020 09:16:31 +0200 From: Greg Kroah-Hartman To: Emil Velikov Cc: Dmitry Torokhov , x86@kernel.org, linux-input@vger.kernel.org, linux-fbdev , Andy Shevchenko , Bartlomiej Zolnierkiewicz , Sudeep Holla , "Linux-Kernel@Vger. Kernel. Org" , ML dri-devel , platform-driver-x86@vger.kernel.org, Tony Prisk , Andy Shevchenko , Florian Fainelli , Borislav Petkov , "H. Peter Anvin" , Darren Hart , Thomas Gleixner , Richard Gong , Ingo Molnar , LAKML Subject: Re: [PATCH v2 00/10] drivers, provide a way to add sysfs groups easily Message-ID: <20200514071631.GA1566388@kroah.com> References: <20190731124349.4474-1-gregkh@linuxfoundation.org> <20190731131045.GB147138@dtor-ws> <20190802104633.GA14823@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 13, 2020 at 11:18:15PM +0100, Emil Velikov wrote: > Hi Greg, > > On Fri, 2 Aug 2019 at 11:46, Greg Kroah-Hartman > wrote: > > > > > I have now done this with patch 1/10. Here's the pull info if any > > subsystem maintainer wants to suck this into their tree to provide the > > ability for drivers to add/remove attribute groups easily. > > > > This is part of my driver-core tree now, and will go to Linus for > > 5.4-rc1, along with a few platform drivers that have been acked by their > > various subsystem maintainers that convert them to use this new > > functionality. > > > > If anyone has any questions about this, please let me know. > > > > thanks, > > > > greg k-h > > > > ------------------- > > > > The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: > > > > Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) > > > > are available in the Git repository at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/dev_groups_all_drivers > > > > for you to fetch changes up to 23b6904442d08b7dbed7622ed33b236d41a3aa8b: > > > > driver core: add dev_groups to all drivers (2019-08-02 12:37:53 +0200) > > > > ---------------------------------------------------------------- > > dev_groups added to struct driver > > > > Persistent tag for others to pull this branch from > > > > This is the first patch in a longer series that adds the ability for the > > driver core to create and remove a list of attribute groups > > automatically when the device is bound/unbound from a specific driver. > > > > See: > > https://lore.kernel.org/r/20190731124349.4474-2-gregkh@linuxfoundation.org > > for details on this patch, and examples of how to use it in other > > drivers. > > > > Signed-off-by: Greg Kroah-Hartman > > > > ---------------------------------------------------------------- > > Dmitry Torokhov (1): > > driver core: add dev_groups to all drivers > > > > drivers/base/dd.c | 14 ++++++++++++++ > > include/linux/device.h | 3 +++ > > 2 files changed, 17 insertions(+) > > _______________________________________________ > > Was planning to re-spin DRM a series which uses .dev_groups, although > I cannot see the core patch. > Did the it get reverted or simply fell though the cracks? Nope, it's in there: 23b6904442d0 ("driver core: add dev_groups to all drivers") which showed up in the 5.4 kernel release. Lots of other subsystems have already been converted to use this, do you not see it in your tree? thanks, greg k-h