Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp691206lqb; Wed, 17 Apr 2024 08:10:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWX/geEcFy+b+za0diOzwYwnqrTYno1P1XFDITcO898AdHTewyuMVrb/FMWeUGxCLyTY1Q2+Z6NPvsTh/sQRr+yfU2KhDsohoWnRKtcRA== X-Google-Smtp-Source: AGHT+IHmRlZXfaumLDCdoVX6cmRPWHu+o7NDzaFuSHiP4Y5a4nm9jAuSuqX0sCb0EXlrF4WFUbFQ X-Received: by 2002:a17:90b:180a:b0:2a4:a87c:b907 with SMTP id lw10-20020a17090b180a00b002a4a87cb907mr13498660pjb.4.1713366657717; Wed, 17 Apr 2024 08:10:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713366657; cv=pass; d=google.com; s=arc-20160816; b=UI3S4C2NS4jWgYVGZ7F6l6l2XMZYsnal2sE5FPTlsfM4nYPDFQNVulA4b9TGjUEp18 oFkqh3Y0/8K4l/CcQRAezp7d2VkuwYWxfKL+YC8rZgaH4BznS8yXayHos4tN2m3drWXK ySk3aLBmjOOwY34Hi1VVkEfHomPBYgDGHyj1NoBUkMYh0n+zBS7rZFYc1iAZQafKEy76 F0vt1XM3tMvJ31zGy6MRiFw7amcOXZbhq2FP+KUzev74RbXRL/9j9ogO253uijynSBhX ZKDKvD0QIfZqlJhf7Lb6SCf2jjTWw1tjcvLiLouqSgs72nhuohdo+0s/zLZA8LVdtAYh jmzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IFpepyQUhaLTPhM3ygJNR5U/gm0vHbkgmU6AZsRx0IY=; fh=FfH4QqRQ17U5P//+zs2OeyBqGpvIAn2xXYP6CkDpfyw=; b=f4EbD5kXczX5XIOCfAifxsmtijpqBt/OCgeD3+C3R6zlj39j/WpqVWB59dzSboOJEd SoprsqynHT9iT+4VT4cyBmOdWvnDQsaNIg/aPezs5nGD7AoXDVTK94ouiM949WPMXyhE iQBYi/3kQZ2E/RSvpMeyYYeGRMoRqWh+TkfrZG51WY/wIny9gWntl/BB90Ae5zIXIHK0 jNgtexVQyjy4ZDWjQchuFl4nirwUI72wkJcVitu5z0BRGsjtWUMk6nvqxOcGFV6FrNxY 6qHUzjfMRraaVYI4rwlV9p/GB38gw6uRGZEI2QrC0feyF5nzMDXuT7+2T2DFTFeqjvrY tspQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mO/dmyZl"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u10-20020a17090abb0a00b0029c74a38c69si1431363pjr.168.2024.04.17.08.10.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 08:10:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mO/dmyZl"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6EB26B21290 for ; Wed, 17 Apr 2024 14:51:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B289F13D2AB; Wed, 17 Apr 2024 14:49:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mO/dmyZl" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CE4D16CDB7; Wed, 17 Apr 2024 14:49:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713365387; cv=none; b=UqONvl2avZHywsnRpQH4/06d5I1S9ntePs5eIrRkFHEIFLQXteOjKdXQYXEdaPRcxvMLJohJ0xkXfi1tCEEsQsc3oiwPxWAgjljFGuYpUUFSQshwMBUg6pNt/ywtzaYmas+tX7KnyFY+RrkdOzvvzrbsgmlz4y/tmycgCkPBBz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713365387; c=relaxed/simple; bh=R0aOa5afohn6PF2KyxeEWUALvw+VN/NOVHLEmXjYd7c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JvOmAAoUGvhm3+fTb+y2LCE2b184E8GVq49RRpUuaj69o7k2kYmt3GkPga5pHdJxXW6dUTx6WENQ0wjxxGoEhJ9BOIuKM05tEOXOCG391jmausW9BrYglqdkRi0PueIZBlwaj+auLFL22+vCD1AvAiIKw7gYFpn52TyYauGhBZ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mO/dmyZl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C8C6C072AA; Wed, 17 Apr 2024 14:49:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713365387; bh=R0aOa5afohn6PF2KyxeEWUALvw+VN/NOVHLEmXjYd7c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mO/dmyZlngK558z58lqzuTXZG64y9BMcfZ/nKbNC/qQWJYvZtTocZeDAw2vNExDZV opIUtKY5xG/XGbSG68CNNhvZQ00jqwrcyQTzDXkXr4Yydj2iyKS2diVWa2l2SZPItA rP4Ct3+bDBgUHqduBUbD6ZDM6tZ+EsTz/GA7fn5wMBt+Gk1kHhc07XgsxKZRlmZ7zY AR/CsRgZREQOYAMydC8hgsk/943wFVp+TO/mjOqXcaD0rhn5ADs0/C17xjmocSF4KH HgmeYmqIWbE98ooTs9Bq13bRLVXtzFUQkZ4fztwAI6sPu5igUbPuN9bNbdR46m4kIZ 10WpHcMJSovMg== Date: Wed, 17 Apr 2024 15:49:43 +0100 From: Lee Jones To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= 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: <20240417144943.GA2399047@google.com> 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: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, 16 Apr 2024, Uwe Kleine-König wrote: > 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: > > > > > On 06.03.24 09:18, Uwe Kleine-König wrote: > > > > On Wed, Mar 06, 2024 at 08:05:15AM +0100, Linux regression tracking (Thorsten Leemhuis) wrote: > > > > > [...] > > > > > > 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? > > > > [...] > > > > > > ---->8---- > > > > From: Uwe Kleine-König > > > > Subject: [PATCH] leds: pwm: Disable PWM when going to suspend > > > > > > > > On stm32mp1xx based machines (and others) a PWM consumer has to disable > > > > the PWM because an enabled PWM refuses to suspend. So check the > > > > LED_SUSPENDED flag and depending on that set the .enabled property. > > > > > > > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=218559 > > > > Fixes: 76fe464c8e64 ("leds: pwm: Don't disable the PWM when the LED should be off") > > > > Signed-off-by: Uwe Kleine-König > > > > --- > > > > [...] > > > > ---->8---- > > > > 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/2vbwacjy25z5vekylle3ehwi3be4urm6bssrbg6bxobtdlekt4@mazicwtgf4qb/raw | git am --scissors -s Nice try! > :-) > > If you don't consider that suitable, I can create a patch that is easier > to pick up. Yes, please submit it properly. -- Lee Jones [李琼斯]