Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8097249rwd; Tue, 20 Jun 2023 10:05:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7nsLuKRPONV8jF66CzdE/jwlU9hAyV0jvz872Q8jVE8wpsKzzHXWDXeEXjc5ze9Gc14eE0 X-Received: by 2002:a05:6a20:8e08:b0:11f:64ec:694d with SMTP id y8-20020a056a208e0800b0011f64ec694dmr10445343pzj.11.1687280743720; Tue, 20 Jun 2023 10:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687280743; cv=none; d=google.com; s=arc-20160816; b=GsbYQhK9i6avkYZwrD6nf1rFDjHXaILJ3/Yf6PQhfrMSeRzz8HDBVFYxyAmT8niWpR sPcMfiiZ7gXHWI8GtkdYkvB9i88wQ2Snf7S9/Vp/cBot3OtV67AmssLGynWIfggJE64I kM9E40c3f4wSAQQMXBCKuTjv4/QYhK/ggUZ6NYqWq3ASvbuO0TrahM5e5/IqdboSTN7O 2HYnYIB6Zojlsm4hzhpOSy4nTMLBIIzoqCQlvhjA2dAurXKALzzke1DAkOg303bqUy5Z fLfN/QeLVr3+eOGy/YBMvzmbg6r/+Ot2T2KtTIlfLhP0NbHWC1EDp1tSFhJ2B7p5eI60 4KJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=ZKHwci86BtaF1Dk/8Me7BfuZ+Xgy8cQKNTv94BMFxn4=; b=BRCtG4rKsovOf+A7+HBNbUYG1j8gK37AV9KHpxCFsq2wTf2KhNm6jH5RZhuy1W+6rr Uo6EG1ZkM5IOtG1D430hAoLvgOpr+mWw9NdmU8XFw8jMRgeK1OnQ76C3CzZJskK1ISGw mcTx/s1Fd8wcmKDWwRFvY0pngTbhd/dQbjLbB0+DP1yMzD3d6t1csNuDxw3ksh9ANScn Ujstt2rL48mSSoiwRGh0wA5rLt913DNcPhrdYlmi2wqOsluQepCI3V8c5Qr8gWP4a2E+ HCtlKmPVJyNzIibsBNl9xShQTeaOT9bitFMTDqMsNp3rs8krcH+RZLuDUx4VFb0nzxMY PGag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a170902ec8200b001aaeed1a0e3si2684986plg.487.2023.06.20.10.05.29; Tue, 20 Jun 2023 10:05:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230407AbjFTQaG (ORCPT + 99 others); Tue, 20 Jun 2023 12:30:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbjFTQaE (ORCPT ); Tue, 20 Jun 2023 12:30:04 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 679B61708; Tue, 20 Jun 2023 09:30:02 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qBeEy-00008N-Jz; Tue, 20 Jun 2023 18:30:00 +0200 Message-ID: <7344a720-76c9-33b1-b4fa-81f600895f07@leemhuis.info> Date: Tue, 20 Jun 2023 18:30:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: PWM regression causing failures with the pwm-atmel driver Content-Language: en-US, de-DE To: Peter Rosin , LKML , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , linux-pwm@vger.kernel.org Cc: Thierry Reding , Conor Dooley , Claudiu Beznea References: <7e2cfb55-e39f-2e5c-7f43-e1d275428bb5@axentia.se> <6c622fd7-d79b-b7f2-50ee-00a0ec95a11b@leemhuis.info> From: "Linux regression tracking #update (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1687278602;41ec27f2; X-HE-SMSGID: 1qBeEy-00008N-Jz X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.06.23 17:43, Peter Rosin wrote: > > 2023-06-20 at 16:24, Thorsten Leemhuis wrote: >> On 22.05.23 17:19, Peter Rosin wrote: >>> >>> I have a device with a "sound card" that has an amplifier that needs >>> an extra boost when high amplification is requested. This extra >>> boost is controlled with a pwm-regulator. >>> >>> As of commit c73a3107624d ("pwm: Handle .get_state() failures") this >>> device no longer works. I have tracked the problem to an unfortunate >>> interaction between the underlying PWM driver and the PWM core. >>> [...]> >>> Approach 1. will maybe clobber the saved pwm->state such that >>> it no longer works to get the period/duty_cycle if/when the >>> PWM is disabled? Maybe only for some corner case? But that might >>> be a significant corner case? >>> >>> Approach 2. will maybe mess up some unrelated functionality? >>> >>> Approach 3. is ugly, intrusive and is in all likelihood >>> incomplete. It also needs a rebase from the culprit commit. >>> >>> #regzbot introduced c73a3107624d >> >> What happened to this? There was quite a bit of discussion, but then >> nothing happened anymore. > > I was seriously confused by another regression that caused my > user space to fail similarly (The sound driver didn't behave, but > for vastly different reasons). My bad, I should have made more > thorough checks before crying wolf. Happens, no worries. > So, this regression had already been fixed when I reported it. > For the curious, the other regression has also been fixed, merged > and picked up by stable. For the really curious, 2a6c7e8cc74e > ("dmaengine: at_hdmac: Repair bitfield macros for peripheral ID > handling") > > All in all, please close this one. Okydo, thx for the update! #regzbot resolve: "this regression had already been fixed when I reported it" Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.