Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7914105rwd; Tue, 20 Jun 2023 07:51:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7NBdgqJxi7bnQooKyPfGGmJ3DFShVv8K21IFZEfTZEL0QFlsDniUHpYphUHQmAxv4aEkB6 X-Received: by 2002:aca:bc45:0:b0:39a:b787:1ae2 with SMTP id m66-20020acabc45000000b0039ab7871ae2mr14319198oif.52.1687272698555; Tue, 20 Jun 2023 07:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687272698; cv=none; d=google.com; s=arc-20160816; b=M1g7G++BQU6dJ3chpLkbJ+GFUNZCwmShPjAZqTd94hA7Ppo02tdjaC1Lh08eggXGEj 4ZSfKU7CNCU+mujCZtvq7jdkb/iPdu97+NGW8R0jU+yiuhJxwdfEnTsGZI3/8GXZbQPQ fpCx3SjNUHDM2ZbVin7938XvplYDHa5nU7NCkMmlr8JM+dTuGgIuy476fb79HSuALT7G hKbi/mbF008ccJthNrh2vZSz7Ek85GlGW2KUJDXZzEU55IaofigQ/CRJ5geHh0dPNmK4 iaOUHhMUJyP1YWU4HGAWMDVygvbRRMxuC1nYMJ+Ws34D84bQyWBo8UUJhBhbKMvdRdK4 QtNA== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=AGn6GQr6j/3l579+O3zLGggt1BHS12XyVg4cGxGUiNw=; b=dwUQLd0lhZA8w5gyeLqpi6jBt/Sl/VRt53L1S5ENQEFfrLzHpqbQTvEYEBbFxLlRy2 Vbhad4gfEo1HhG23pOtimYigmxL3KTUNBWUn8D2hjRwdaFqv+Gwj/K9nfNq2a4Z75+XE WhKw3L29s4Vdcm3Q+o6+ER5vPhqxB8FkoWyxxY0LWuAQoElyLkPMa8bbSq9cXoIsjvYP a+UmcuU3phbDobbZXStRhsc/9Otq/4d6Dakb8BYyB+PJptBeOzn30BlTNtPKE/cXq9T6 5w8uS8o+bogdr7mo3P9zjIvpLmyjePifMoV8PXnfKpSsZACsU6PBOY6xGGirSzZUmUp9 fGIw== 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 m17-20020a170902db1100b001ab1d1a6802si2253526plx.1.2023.06.20.07.51.22; Tue, 20 Jun 2023 07:51:38 -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 S233257AbjFTOYg (ORCPT + 99 others); Tue, 20 Jun 2023 10:24:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232063AbjFTOYe (ORCPT ); Tue, 20 Jun 2023 10:24:34 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73566B3; Tue, 20 Jun 2023 07:24:33 -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 1qBcHX-0000Ju-Nf; Tue, 20 Jun 2023 16:24:31 +0200 Message-ID: <6c622fd7-d79b-b7f2-50ee-00a0ec95a11b@leemhuis.info> Date: Tue, 20 Jun 2023 16:24:31 +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> From: Thorsten Leemhuis In-Reply-To: <7e2cfb55-e39f-2e5c-7f43-e1d275428bb5@axentia.se> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1687271073;37ae78e9; X-HE-SMSGID: 1qBcHX-0000Ju-Nf 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 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. 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. #regzbot poke