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=-2.2 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 EE527C433FF for ; Wed, 31 Jul 2019 13:10:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BF46D20693 for ; Wed, 31 Jul 2019 13:10:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="objcTyxO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gs78//H7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BF46D20693 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qibIffUM549Gymr2sJAfKk9s7GE3B1EWVnwrocZ/y10=; b=objcTyxOAFp8v0 u4dINEDIV0y1ldWlJEh7NRQ/6pbI2fhjo8SuU7bjGBqunz8S9RMIuXhgUP4aJ2Fy0CzcUD1YHpz71 uddaJZn6PUAMo8HAruKUVMsLwgiif+P4IZZ+euDK1BMtGp6GIEeKeUpbfEyiV3S/gCgnY75wEg1bo 5lKr6ZZNWPmDTeQQF9Ga0/ZWD2j8ekQtR+Agt2ZuIEcya1Or6OC21Y5zVIfTHsgS7nTGaPGlvH4Ox Nwf4REVnCljmbQy7g8DI15/c2TAKO9FyTJ74FkoPIXqSsI5+fyBlFCeKgTzZwHR3m65woP5habYIO 7HDbIlAX6qpjGfmbLLOA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hsoNZ-0006dV-St; Wed, 31 Jul 2019 13:10:53 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hsoNX-0006aG-2V for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2019 13:10:52 +0000 Received: by mail-pf1-x442.google.com with SMTP id c3so8714139pfa.13 for ; Wed, 31 Jul 2019 06:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rt+guMwNhJRHRn5IfYwFQ/sgOXInz6KxTo8lw7aiy5o=; b=gs78//H7LNShCsnjSw8NmM/oTXR89tctjqExwGarNFR1HPDda39C7FVxzEan5zMHdK 6cB24JjcjAbQy8XtUkZodo4u6df686F71Mv/q7oDld/FoFf/tUwpH8Ya396ePXCTfD0o Dvgu62a6MeZYYZInpUcG3Fb+JTJxaZenxvpq3gvsy/xll4qitJKWbPeGlVPtgYnCNQLR EPlshKNhjkQhbqyB0pQFFls299RawuFj12qdOUx2n+J0Ko7JvNfb1x0RR0EIG+LYodIQ anMWP0EuZVFFnYgh1OC+Xwui/N0TFC1OY/jUToGF5CcotzxoYJGX807D8jgfAJdSfeIG A3ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rt+guMwNhJRHRn5IfYwFQ/sgOXInz6KxTo8lw7aiy5o=; b=n4FiAyRByTbHSi9XbS1j2ZE5FsorNGgMHnNH/CmDf3oV6+4domDidjZIxSE2yngLIs Z0hO4pWRjCzEUa+1Nf7+u+lX1qUY/N1AU2Nu1UqQZbELAs6LdCf7OwMgWfNR8HpvkYiQ ktymRCSbXEpmWGB+Pb1/ZqtpIZ0EF/Qjd3FW8szFqPebmhThf3E4d/PcLquVVwxezFmr 4Hva/KvMowhsciQBBg86UZSIlrjltOJg9fzG9gnnB5U1fvYB19917zJOWTm1EFkk/TGo qaf7VCuOMFgEKNbdSTWHgFLMGt1Pkf5R1NkwU0vpJOFfl9cgRACPKmXSDllyht1nn40m PdcQ== X-Gm-Message-State: APjAAAVzixdg6PQ5ASKXXU61if8EokqoNfa1pIHvNyI8xxdbMFYyoDeR 4j8hfS8CY3UuIe2wbIjlHfQ= X-Google-Smtp-Source: APXvYqw6zrs3C36FlP+BQfVYwpgNJ/uT+OXNK7FouVI0RYpGcs21O7mEWzL/gYHEOWg9kiuYl3v9Hg== X-Received: by 2002:a17:90a:b908:: with SMTP id p8mr2967626pjr.94.1564578649195; Wed, 31 Jul 2019 06:10:49 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:3adc:b08c:7acc:b325]) by smtp.gmail.com with ESMTPSA id r12sm47427239pgb.73.2019.07.31.06.10.47 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 06:10:48 -0700 (PDT) Date: Wed, 31 Jul 2019 06:10:45 -0700 From: Dmitry Torokhov To: Greg Kroah-Hartman Subject: Re: [PATCH v2 00/10] drivers, provide a way to add sysfs groups easily Message-ID: <20190731131045.GB147138@dtor-ws> References: <20190731124349.4474-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190731124349.4474-1-gregkh@linuxfoundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190731_061051_118705_A6D8F2EF X-CRM114-Status: GOOD ( 18.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: x86@kernel.org, linux-input@vger.kernel.org, linux-fbdev@vger.kernel.org, Andy Shevchenko , Bartlomiej Zolnierkiewicz , Sudeep Holla , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, 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 , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 31, 2019 at 02:43:39PM +0200, Greg Kroah-Hartman wrote: > This patch originally started out just as a way for platform drivers to > easily add a sysfs group in a race-free way, but thanks to Dmitry's > patch, this series now is for all drivers in the kernel (hey, a unified > driver model works!!!) > > I've only converted a few platform drivers here in this series to show > how it works, but other busses can be converted after the first patch > goes into the tree. > > Here's the original 00 message, for people to get an idea of what is > going on here: > > If a platform driver wants to add a sysfs group, it has to do so in a > racy way, adding it after the driver is bound. To resolve this issue, > have the platform driver core do this for the driver, making the > individual drivers logic smaller and simpler, and solving the race at > the same time. > > All of these patches depend on the first patch. I'll take the first one > through my driver-core tree, and any subsystem maintainer can either ack > their individul patch and I will be glad to also merge it, or they can > wait until after 5.4-rc1 when the core patch hits Linus's tree and then > take it, it's up to them. Maybe make an immutable branch off 5.2 with just patch 1/10 so that subsystems (and the driver core tree itself) could pull it in at their leisure into their "*-next" branches and did not have to wait till 5.4 or risk merge clashes? Thanks. -- Dmitry _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel