Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp2054547lqp; Tue, 16 Apr 2024 06:18:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWmFTNJQh++uTN5YjcJQRcQOha4kcH0WjUEIeNr/UvuciKqRe+O3CFHzCXIwcTrkugU7ruwF3PsT3rXdy8peiWlnevG6e5A6l3twPm3w== X-Google-Smtp-Source: AGHT+IFMWziUVF1aPOp9f4LAm6KZVj5KSvMGxtOO0u78vJWUc8DSNCF5daavuc849kBEkL5nszF+ X-Received: by 2002:a17:90a:5145:b0:2a4:9441:13d3 with SMTP id k5-20020a17090a514500b002a4944113d3mr9875587pjm.12.1713273526157; Tue, 16 Apr 2024 06:18:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713273526; cv=pass; d=google.com; s=arc-20160816; b=y7lAVHcm9XygjFu/y/ExJwO45QZ0MFRuVG8cUybH+MFOk2W0umXJTqPOIokN6mBz9o qslRq8Jchx9MevyHrml4FZS2iDicN/2CY1fl2BcpJpS6r4lihbXh0XecfpKbCihmXk7U ofBkFJ9ib+ahVfHf1wwwjBQ3H2ZbpV7pg9gK1TgqQzulzlP3ukWJaBo6qowY/MAx7Hxv NK0aaDCfRQTz/jM2uVlodWF5E3EDoQ8o0cOtpXurKY6Y5ti5/2t3m3j74LMWu3XZXkuY OkfOQu/yeBV+bYTOC/6YzMWvcvi/ZzIkwXypPsa1vryc0TgeKa8kP8P9xD7Um3Jr+1op q56Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=2rRi+a570k2gXZY/Z9bqBuUlFLxcqlsFnWC5E5S0Qjk=; fh=oK4zkB6F9BsL+tH4anSBTIjfCraqLJF9pEW0ggjjSTQ=; b=YF2evgAh3x1ZnWsOrqSy+VU1p0e84Dl82UNtKjiQ417hihu+RzOME0PfHxuZ1l3nGf l4ag7eXMO1JaEtV2lDBjllOZwFFo7IAbIU8B2UqemAbSB0dZBQbCmY3W0U3rVPK5EsJU tbNa4ZUik9VmGWf0EJHGo/LhUhoym+iyiIuuNUvl/wE8sspLkeBQ+hPfZavGAi+BxpFL gWdT/9z3HlqAuOIqeCHht+f5nfNWpn96dnhopliGQaWaw9RXbCQop38C5HtTPc4PA1Xi v6bgdZwZe2RjD5K2kTHZce6OosiWYCps1MIEOLJsk12x5VeIyuMCcmoLEW2Jii/v+PgW w57Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-146862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146862-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id on11-20020a17090b1d0b00b002a5debb6badsi10283956pjb.36.2024.04.16.06.18.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 06:18:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-146862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146862-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C5126281AAA for ; Tue, 16 Apr 2024 13:18:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 060DE12C46F; Tue, 16 Apr 2024 13:18:40 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A006E12BF1D for ; Tue, 16 Apr 2024 13:18:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713273519; cv=none; b=UbJVgSmeOc1xb3hsDbyCU3BnXp4dJDQgTQAIArPoUOEmnIDxYCsvvKtlWVHnfjSrQY9a/43qDDFpOAXosIfjq5WZQuCm4xti0PGb+nTgZhQ+RlW/UpcXxDWtjhYhYx3WyoRwhGqL7rm5daVAAPIr72mEwjIs3MxdF9tPUXQ3wJs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713273519; c=relaxed/simple; bh=u3r3BNHWn0VNuX0IDcCiM+gYMJzoSCvGaQ+eZeZOnUI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HdLort/uM6+h7UAfC2c2Zq3cs1Yk+QoJmca93KF2cRpLWL9c3MqbkZKyEK+CGEGcIXhPf6lngNhBeEU9jzamfh3Evu7yONhQxVFjS43lyigq+1JtA5B3n0yMy0krbbOc1BuyuVBwiSdWwQ8r0TymldvfJAosG0KEQxH6K9lqz1U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rwihY-0005sO-EE; Tue, 16 Apr 2024 15:18:20 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rwihX-00CcPG-Ut; Tue, 16 Apr 2024 15:18:19 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rwihX-002BWp-2p; Tue, 16 Apr 2024 15:18:19 +0200 Date: Tue, 16 Apr 2024 15:18:19 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Lee Jones Cc: Linux regressions mailing list , linux-leds@vger.kernel.org, linux-pwm@vger.kernel.org, LKML Subject: Re: [regression] stm32mp1xx based targets stopped entering suspend if pwm-leds exist Message-ID: References: <5da6cf8a-4250-42f6-8b39-13bff7fcdd9c@leemhuis.info> <2vbwacjy25z5vekylle3ehwi3be4urm6bssrbg6bxobtdlekt4@mazicwtgf4qb> <256e3d3c-d43f-4bd6-9a7b-50fc870e75e4@leemhuis.info> <20240416121519.GS2399047@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mgrsmbcc7mtyc46w" Content-Disposition: inline In-Reply-To: <20240416121519.GS2399047@google.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --mgrsmbcc7mtyc46w Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Lee, On Tue, Apr 16, 2024 at 01:15:19PM +0100, Lee Jones wrote: > On Tue, 16 Apr 2024, Linux regression tracking (Thorsten Leemhuis) wrote: >=20 > > On 06.03.24 09:18, Uwe Kleine-K=F6nig wrote: > > > On Wed, Mar 06, 2024 at 08:05:15AM +0100, Linux regression tracking (= Thorsten Leemhuis) wrote: > > > > [...] > >=20 > > Jakob confirmed it helped in the bugzilla ticket. But the patch since > > then didn't make any progress afaics -- or did it and I just missed it > > in my search? >=20 > [...]=20 >=20 > > > ---->8---- > > > From: Uwe Kleine-K=F6nig > > > Subject: [PATCH] leds: pwm: Disable PWM when going to suspend > > >=20 > > > On stm32mp1xx based machines (and others) a PWM consumer has to disab= le > > > the PWM because an enabled PWM refuses to suspend. So check the > > > LED_SUSPENDED flag and depending on that set the .enabled property. > > >=20 > > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=3D218559 > > > Fixes: 76fe464c8e64 ("leds: pwm: Don't disable the PWM when the LED s= hould be off") > > > Signed-off-by: Uwe Kleine-K=F6nig > > > --- > > > [...] > > > ---->8---- >=20 > Did you submit this? I don't see it in LORE or in my inbox. Yeah sure, apply it using: curl -s https://lore.kernel.org/all/2vbwacjy25z5vekylle3ehwi3be4urm6bssrbg= 6bxobtdlekt4@mazicwtgf4qb/raw | git am --scissors -s :-) If you don't consider that suitable, I can create a patch that is easier to pick up. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --mgrsmbcc7mtyc46w Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYeepoACgkQj4D7WH0S /k5gugf/bpVGAeUjhxmd3eLjzH0HtU2qSxWQG4LFIRegk08Ex4wJNhpopT1kQOhN SMdNDgjcgSxvo9tqfH9cBTltJF0Baedv3dWGb4G/pJEfJRmUrk0+mkC/ZIoL/fTE VT0zY6pg3+zAXij2/W73VzFMGIf04A1CWrbOdxaODWlNVX/hb/MlS7TbbATp2PSZ DDDZhQe8kYQ9FPVvqM3HJRlZH5BJA/uLLHz+EK2H8QiMzqL6V/tCaY/ewjv+ZoO1 20RPRH45JQA5LEALCkdAJ8+0OCHjxuQd14SHagxVW85U+vwA8CmTdDOwZFFnUTfw 82MlSpgXg2z+D+tOpuqNd/HVKvO7sA== =NwBy -----END PGP SIGNATURE----- --mgrsmbcc7mtyc46w--