Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1860799rwr; Fri, 5 May 2023 23:50:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ktJLdqdGwkGS0clFlwTPl+OeJwAlCVfBkMl3tKipgHa98ldeKjbAZdAH8K8QTZfE1vYJB X-Received: by 2002:a05:6a20:3ca5:b0:f5:5232:4bc9 with SMTP id b37-20020a056a203ca500b000f552324bc9mr5270911pzj.23.1683355854471; Fri, 05 May 2023 23:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683355854; cv=none; d=google.com; s=arc-20160816; b=VwAqy6M2U3l4r4UC23bUMImMIxdGRgzGoXxpsr6m6Z5ObUCpOhOoGHz5J65NfFFs1t qKyz3OSrLisF28vVswMmUJb410r+ABkGx5gn2dKrTEl7DEZNVKtepLy4r9sNagq5vsFz Hmu4k1rmXHbyYOpDoQxf/0hUXif3D5kv02WX0MUCq9eSiDMIvqkk3e1PvlMNd8B6dShJ PB3BwmclVr9hrHe57KjP+Z6tN+Ha88yor04JBFM34C6N10UHY1gkalweow+EjAVbXKh/ auAB7eG1irpr1hp6xJudRHlrcTck0JoFj6yafjNhSdUTLCZ51z3mAb7ImhMGZF5tQI1Q go5Q== 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:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id; bh=px9xmPAxHtXQqSaHtkkw/bm1qdDi+ivqWCp1l4E+pJs=; b=ptIbCxqS4jc4+kc0bTpP4sd/pR1EitWIOrjOYLFBZ7vR1jIYgbuS0lBhxCbjs+qDTL og9bOuKAd7CD5QWL7EmW5r0dKyhEXqrjPqvcqoDdaC6CPCvn/2UJzNnrgSgTM79agBrx 2PrvokFfQH7OLcVI/g3LYREnbx5ZIfCXnMbIejkWlCt9PbqJaavmUQ8s1/si1AIKqmlq tgTiCCIi/2qPGGlEhGS74cj/Fj0vTZ/CBcKpsyw7r91PI1JpR7vbc7ysF7gU+FpaqLKG b+Lco+6ZZy3nQ66A9fFeZ8ypI+Rk8El1pwO2nyHBw5CSn9ExNn2Dppr8It74FC5kL5YF 4WNQ== 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 z28-20020aa7959c000000b0063d23db693asi3717091pfj.234.2023.05.05.23.50.41; Fri, 05 May 2023 23:50:54 -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 S230471AbjEFGrp (ORCPT + 99 others); Sat, 6 May 2023 02:47:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229889AbjEFGro (ORCPT ); Sat, 6 May 2023 02:47:44 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9011DA5C1; Fri, 5 May 2023 23:47:40 -0700 (PDT) Received: from [185.238.219.2] (helo=[192.168.44.27]); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1pvBhh-0001It-5W; Sat, 06 May 2023 08:47:37 +0200 Message-ID: <5df240d4-03f1-31cd-03e1-a6cfddd5cc1d@leemhuis.info> Date: Sat, 6 May 2023 08:47:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US, de-DE To: Dmitry Torokhov , "Limonciello, Mario" Cc: Linux regressions mailing list , Chuanhong Guo , linux-input@vger.kernel.org, Mario Limonciello , "Rafael J. Wysocki" , ACPI Devel Maling List , LKML References: <01ea5c8e-ed2f-7568-f6ed-896329e7b673@leemhuis.info> <68d017d9-d815-01d4-23c1-49c0aaf5f20b@amd.com> From: Thorsten Leemhuis Subject: Re: [regression] Bug 217394 - IRQ override skipping breaks the Aya Neo Air Plus 6800U keyboard buttons In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1683355660;c3ee3033; X-HE-SMSGID: 1pvBhh-0001It-5W X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 03.05.23 21:00, Dmitry Torokhov wrote: > On Wed, May 03, 2023 at 11:11:33AM -0500, Limonciello, Mario wrote: >> On 5/3/2023 7:58 AM, Linux regression tracking (Thorsten Leemhuis) wrote: >>> >>> I noticed a regression report in bugzilla.kernel.org. As many (most?) >>> kernel developers don't keep an eye on it, I decided to forward it by mail. >>> >>> Chuanhong Guo, apparently it's cause by a change of yours. BTW, there is another report caused by the change: https://bugzilla.kernel.org/show_bug.cgi?id=217406 ``` I have an HP Pavilion Aero 13 laptop that comes with an AMD Ryzen 7735U CPU and an up-to-date BIOS. Using any kernel version that is strictly greater than 5.19.9 on it is causing the typing with the integrated keyboard to be extremely slow. "Slow" is subjective but let's say [...]" ``` /me wonders how many machines out there show problems we never hear about Anyway: >>> Note, you have to use bugzilla to reach the reporter, as I sadly[1] can >>> not CCed them in mails like this. >>> >>> Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=217394 : >>> >>>> Matthew 2023-05-03 02:28:33 UTC >>>> >>>> Reverting the changes found in this patch fixes the issue: >>>>> https://lore.kernel.org/all/20220712020058.90374-1-gch981213@gmail.com/ >>>> With that patch the AT Translated Set 2 Keyboard doesn't show up with the evtest and is not usable. >>>> >>>> Hardware: >>>> >>>> Aya Neo Air Plus >>>> AMD Ryzen 7 6800U >>> See the ticket for more details. >>> >>> BTW: there apparently is another IRQ override needed for a different >>> machine. See https://bugzilla.kernel.org/show_bug.cgi?id=216804#c8 for >>> details (ignore the comments before that, the quirk entry for that >>> machine was merged; comment 8 and all related to it really should have a >>> separate bug; that's also why this partly fall through the cracks here >>> :-/ ). The user is currently trying to create a patch. >>> >> Something I'm wondering about is if it's possible for i8042 to detect the >> polarity is incorrect when it probes and >> to try to correct it. >> >> If we could do that we can probably drop 9946e39fe8d0 ("ACPI: resource: skip >> IRQ override on AMD Zen platforms") >> to fix this issue along with all the other quirks that have collected over >> time on i8042 polarity issues. > > 8042 is shared between multiple platforms and is quite fragile as it is. > If there are issues in AMD firmware and you know the polarity that is > needed for 8042 on these platforms you should add a proper fixup for > override. Maybe you should only skip override for IRQ 1? Stupid question from the peanut gallery: does anyone know what Windows is doing on those machines? I wonder if this is one of those situation where we just must follow suite to make things work reliably long term for users, even if that might mean 8042 needs to be modified. Or is the problem likely to go away with new hardware? Ciao, Thorsten P.S.: BTW: #regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=217406