Received: by 10.213.65.68 with SMTP id h4csp105774imn; Mon, 12 Mar 2018 08:08:01 -0700 (PDT) X-Google-Smtp-Source: AG47ELtbcOWvMdyUpy8CzRkiCjn0WrthJT+ZiCzipoclv76JS9SGimlOea6D+xUiITIuTIwp1mAV X-Received: by 10.101.85.71 with SMTP id t7mr6892731pgr.386.1520867280949; Mon, 12 Mar 2018 08:08:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520867280; cv=none; d=google.com; s=arc-20160816; b=pBFoIulNs31F5oAU7yGmHNCgY/iyaZzIs25nlIpexbLVD5YSC/CfBBAK1oDMvZ0bIp d86HZAGg0NnVVnf8pSSVtdR4Y42ioESlaUxIyotqY6vfn8jDUBkrElXRsPgHw4iyESLG xrRh5WuTgCaBOhlqsPaBufPEYHfaDL3mYhHMRyfhn3JEZWXgB5XnZ7nbwWZpgBgMfNo1 J/KXBKic/JQJtCzHcugEdHV5g/psGVcJesmBmqvw2rmRgZHMjD05A57YfyVMpzIQr5ES +gLnSf1WOnBIEzR6cqZj5j9rtMCDfTYOycscS3ve3PalWqSRN+dGJ3JPX4dCxyEXPCYM oqFw== 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:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=h0sB14mOdt3ZAl4/HVXsiOqCm/LNMJYONMs04jgplkA=; b=O4bMIRFe9Myq3uiI0mZVAJSPd3b9PzO+aYOAnVhmvPVxObkmCth7y4s5PhQuBFcHM1 TK/g7LWA5rVh+Dd8CeQ9leV8/eMyz7JOweGT2r1AvYVI+0HVp9B56YrJQME87khdM6ph OROgByQLJiPP8RlHgmOiSx5fKduY0q6cW5iFzxM776l4XpHOgk339TG8KXNaEd2RoF1j TKrodwo7eSlVuKMgq85SSAPHf7uEUXyYz6MS4XODuf+ElKfUWjbGXv9RfKSGsNchUPaa dNQ1u5vHeE3+RzeeHkhrOcxOoKkZnnw8PiUR+twtoAyNrQCcffievubC8ogxtVPsVUDT vPkQ== 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 o129si5820317pfo.209.2018.03.12.08.07.46; Mon, 12 Mar 2018 08:08:00 -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 S1751930AbeCLPF2 (ORCPT + 99 others); Mon, 12 Mar 2018 11:05:28 -0400 Received: from orthanc.universe-factory.net ([104.238.176.138]:54466 "EHLO orthanc.universe-factory.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751483AbeCLPF0 (ORCPT ); Mon, 12 Mar 2018 11:05:26 -0400 X-Greylist: delayed 321 seconds by postgrey-1.27 at vger.kernel.org; Mon, 12 Mar 2018 11:05:25 EDT Received: from [IPv6:2001:19f0:6c01:100::2] (unknown [IPv6:2001:19f0:6c01:100::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by orthanc.universe-factory.net (Postfix) with ESMTPSA id 8321B1F4EC; Mon, 12 Mar 2018 16:00:03 +0100 (CET) Subject: Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0 To: Jacek Anaszewski , Sasha Levin , Pavel Machek Cc: Greg KH , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Matthieu CASTET , "linux-leds@vger.kernel.org" References: <20180203180015.29073-1-alexander.levin@microsoft.com> <20180203180015.29073-65-alexander.levin@microsoft.com> <20180203203525.GA5860@amd> <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> From: Matthias Schiffer Message-ID: Date: Mon, 12 Mar 2018 16:00:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <713113d8-7662-d80c-c62f-af020469d0bf@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VzJpYh3I0nuxSbH70Xnayo0eenXt5HtFM" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VzJpYh3I0nuxSbH70Xnayo0eenXt5HtFM Content-Type: multipart/mixed; boundary="jhuxeFKxzYQQngyk8N8bQRSGy9wMvbJdg"; protected-headers="v1" From: Matthias Schiffer To: Jacek Anaszewski , Sasha Levin , Pavel Machek Cc: Greg KH , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Matthieu CASTET , "linux-leds@vger.kernel.org" Message-ID: Subject: Re: [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when setting delay_off=0 References: <20180203180015.29073-1-alexander.levin@microsoft.com> <20180203180015.29073-65-alexander.levin@microsoft.com> <20180203203525.GA5860@amd> <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> In-Reply-To: <713113d8-7662-d80c-c62f-af020469d0bf@gmail.com> --jhuxeFKxzYQQngyk8N8bQRSGy9wMvbJdg Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 02/06/2018 09:44 PM, Jacek Anaszewski wrote: > On 02/06/2018 03:02 AM, Sasha Levin wrote: >> On Sun, Feb 04, 2018 at 06:17:36PM +0100, Pavel Machek wrote: >>> >>>>>>>> *** if brightness=3D0, led off >>>>>>>> *** else apply brightness if next timer <--- timer is stop, and = will never apply new setting >>>>>>>> ** otherwise set led_set_brightness_nosleep >>>>>>>> >>>>>>>> To fix that, when we delete the timer, we should clear LED_BLINK= _SW. >>>>>>> >>>>>>> Can you run the tests on the affected stable kernels? I have feel= ing >>>>>>> that the problem described might not be present there. >>>>>> >>>>>> Hm, I don't seem to have HW to test that out. Maybe someone else d= oes? >>>>> >>>>> Why are you submitting patches you have no way to test? >>>> >>>> What? This is stable tree backporting, why are you trying to make a= >>>> requirement for something that we have never had before? >>> >>> I don't think random patches should be sent to stable just because >>> they appeared in mainline. Plus, I don't think I'm making new rules: >>> >>> submit-checklist.rst: >>> >>> 13) Has been build- and runtime tested with and without ``CONFIG_SMP`= ` >>> and >>> ``CONFIG_PREEMPT.`` >>> >>> stable-kernel-rules.rst: >>> >>> Rules on what kind of patches are accepted, and which ones are not, >>> into the "-stable" tree: >>> >>> - It must be obviously correct and tested. >>> - It must fix a real bug that bothers people (not a, "This could be a= >>> problem..." type thing). >> >> So you're saying that this doesn't qualify as a bug? >> >>>> This is a backport of a patch that is already upstream. If it doesn= 't >>>> belong in a stable tree, great, let us know that, saying why it is s= o. >>> >>> See jacek.anaszewski@gmail.com 's explanation. >> >> I might be missing something, but Jacek suggested I pull another patch= >> before this one? >=20 > Just to clarify: >=20 > For 4.14 below patches are chosen correctly: >=20 > [PATCH AUTOSEL for 4.14 065/110] led: core: Fix brightness setting when= > setting delay_off=3D0 > [PATCH AUTOSEL for 4.14 094/110] leds: core: Fix regression caused by > commit 2b83ff96f51d >=20 > For 4.9 both above patches are needed preceded by: >=20 > eb1610b4c273 ("led: core: Fix blink_brightness setting race") >=20 > The issue the patch [PATCH AUTOSEL for 4.14 065/110] fixes was > introduced in 4.7, and thus it should be removed from the series > for 3.18 and 4.4. >=20 It seems only "led: core: Fix brightness setting when setting delay_off=3D= 0" was applied to 4.9. Could we get the regression fixes backported to 4.9 a= s well? Thanks, Matthias --jhuxeFKxzYQQngyk8N8bQRSGy9wMvbJdg-- --VzJpYh3I0nuxSbH70Xnayo0eenXt5HtFM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEZmTnvaa2aYgexS51Fu8/ZMsgHZwFAlqmlfEACgkQFu8/ZMsg HZxQDw/6AusA9QLwju+ge7yf6QF1nTkXvFUUQGfwRzAjQfjqNTsPYN3aRqt5+2sZ Cy97IDFxLItbNjYu/reoDEijLbgxEAaQJYJZcAUKEOZ3LZC1a+n6idRgO4MQoARK RCjs9TeYomkO2g83GyWkjYCV+5oafh01Ir3zXz9B2kfWZfSO0cwWaxAP4ecIq/VN pP3MeoRyV6dKQBq49UBgw8GvvR/rakCFz0+S2OEStakHP0vziFVEFaKp3MQEznNx j8GveFtfsEd5+z1jCtj06328Oht7XgTPXmakqIkkBBZoWfgMGc2laYM4UhUSsqEN TiBCz4Yg4cnycSzgWZiJi2GXOX5k/lfbOHi6U8Twa1PieRDqZGofPLRrzDgGK2Sx H5501US9r07maCNuTcOaMrZnHRSOED8xWNDdz/q3k1lbk5URHEUnTU4eXuS1OSPc FuYKXCg81xhEHamTRU95ljDbujE49pHzSOka9N2PYKiCkbwEqmFF8U6Et7SPD/vv 34+Ix31UarekNXjDfxK07JkfVDYn8fXt7H0UU4a8FSs/D4knI0G39+5xCjh6TRk1 AMx62WRaPvGYG6LsyucDRDQ/CzWIMMafRnek9ARON0Q4ILoYHGF6qnSBh8z5cyIW wAOtHd8hoGV/7A4RuUvI9BKZzajq+KUV9YcScxyZfRuhaAUNLU0= =Li5/ -----END PGP SIGNATURE----- --VzJpYh3I0nuxSbH70Xnayo0eenXt5HtFM--