Received: by 10.213.65.68 with SMTP id h4csp196648imn; Tue, 13 Mar 2018 00:52:01 -0700 (PDT) X-Google-Smtp-Source: AG47ELtUT6UxkRjsjZgpXgNhObBCHYJMloVkSC2SUgTxw/RoSia5hlOcfF5xctrT5toki9CVCZJE X-Received: by 10.99.116.30 with SMTP id p30mr3512330pgc.60.1520927521778; Tue, 13 Mar 2018 00:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520927521; cv=none; d=google.com; s=arc-20160816; b=Mhaw9SW4/kcB/Mjm8UAYvmpvH//yjVvWYmE2nTwq77UlecG9V75LORmOf51Oiprh/p mEZ7DR4/2SC/lgHGFC5xfngwfJ+/IXaGnmoVTd7d/DFiImUIEm9tarGh4WB9EIPt9ABV qu6jDnR6i6lR0rhfsuysDB4rJ2eiKwAQC0qKD5xh63g65Xbu3Oy6AvC3hKOrUHXxdRP7 /sT8bMLPX8EuB0aqonEYjYHd0m4lWA6EMj0fac22zQs5uEBU8yKyrxRIK3HaP7dPs2A1 XbBU+p4x+1CsQ5RhLE5UTieV+C6vDQY+wcbfvR9NXkHKaQ6fTwMzG2mPChXUECf+g2fr yZ5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=byEht+FVladAeY9b6BSVJSTVn8edQH6BPFHNRDySXLI=; b=W6IA3fpnd2FFdEY/P05yfH/J+T8Y497liyduvCWWBttSmJZg038wckNL0i0m2t0Jxu /8A1FJ0cdtJB3twDl4J4lN7tJI5T1iLxcGiYM3sjMg0dFPJoWKKJuD6SfcPPD8hXUeNa q7IcoMo8yed7m12hYF8fJBCW3lxwg2f9g0IR102bx0XZzss5wpkG9vVn6HAH0NjQF8U+ sAHL4syHUjiAPIvAnNe51H9Dk7eQMIuJb4oxMWdUSOS7brcJ0iRQCVmFE+6sTjiGPNfA Pi2lcQZgqw/z693H6SRUY0bYfl4Co0iUYLDwrM40wYvv2UrcJvvQRDgT3Bk5WqZrP2pu EoBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2-v6si7320866plm.476.2018.03.13.00.51.47; Tue, 13 Mar 2018 00:52:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752238AbeCMHu0 (ORCPT + 99 others); Tue, 13 Mar 2018 03:50:26 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:45293 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751997AbeCMHuZ (ORCPT ); Tue, 13 Mar 2018 03:50:25 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 694EB8033E; Tue, 13 Mar 2018 08:50:23 +0100 (CET) Date: Tue, 13 Mar 2018 08:50:22 +0100 From: Pavel Machek To: Jacek Anaszewski Cc: Matthias Schiffer , Greg KH , Sasha Levin , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Matthieu CASTET , "linux-leds@vger.kernel.org" Subject: Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0 Message-ID: <20180313075022.GA13394@amd> References: <20180204003029.2lkcmh6wvzpnlrls@sasha-lappy> <20180204090531.GA29468@amd> <20180204111500.GB14797@kroah.com> <20180204171736.GA1388@amd> <20180206020210.m6gl7vai4p6azb6s@sasha-lappy> <713113d8-7662-d80c-c62f-af020469d0bf@gmail.com> <20180312152811.GB16944@kroah.com> <5747831a-b237-aa2c-cb47-9773cd2b5956@universe-factory.net> <0cd72fe4-2b98-e6f7-6ae7-530524786cec@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <0cd72fe4-2b98-e6f7-6ae7-530524786cec@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > At least 7b6af2c531 ("leds: core: Fix regression caused by commit > > 2b83ff96f51d") is missing, causing visible regressions (LEDs not workin= g at > > all) on some OpenWrt devices. This was fixed in 4.4.121 by reverting the > > offending commit, but if I followed the discussion correctly, 4.9 should > > get the follow-up commit 7b6af2c531 instead (like 4.14 already did). > >=20 > > Jacek's mail I replied to mentions that eb1610b4c273 ("led: core: Fix > > blink_brightness setting race") should be included in 4.9 as well, but I > > don't know the impact of the issue it fixes. >=20 > It doesn't fix any reported issue, but is just an improvement > aiming at preventing potential races while changing blink brightness. >=20 > After taking closer look it turns out that for the patches in question > to apply cleanly we need in 4.9 also a patch which introduces atomic > bit fields for blink flags. >=20 > Effectively, here is the list of patches required in 4.9 stable: >=20 > Revert "led: core: Fix brightness setting when setting delay_off=3D0" >=20 > followed by: >=20 > a9c6ce57ec ("led: core: Use atomic bit-field for the blink-flags") > eb1610b4c2 ("led: core: Fix blink_brightness setting race") > 2b83ff96f5 ("led: core: Fix brightness setting when setting delay_off=3D0= ") > 7b6af2c531 ("leds: core: Fix regression caused by commit 2b83ff96f51d") For the record... there's no serious problem in LED subsystem in v4.9. Just leave LED subsystem alone in v4.9-stable (reverting any patches that were backported by some kind of bot that did not even test them), and things will be fine. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlqngr4ACgkQMOfwapXb+vJOAwCglQhsELLghisDZKNOd4Ql6uht SQEAnA/KmCxz/hDnc1hUasIKmbEwcXD2 =LInh -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--