Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1237965rwr; Wed, 3 May 2023 12:04:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6VgY8pBG8ZIHdz0+Xh8dnVE8G8nbAz4jWv2ycOmo7wA2FEAGGkNJ96AUltS1Rl/R8qR3kA X-Received: by 2002:a17:902:ec8f:b0:1a9:9ace:3e74 with SMTP id x15-20020a170902ec8f00b001a99ace3e74mr1058176plg.65.1683140656581; Wed, 03 May 2023 12:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683140656; cv=none; d=google.com; s=arc-20160816; b=AVw6Q2b6d0RDhDt7jLNi+oTSfPWUJnPqo1bMBGmvGhAcJtLoxAKHy4ZG+F2DDj4kl2 GzYTfuf3r+h2ugWC9yetjD9lqSL0Rv3B3oOvhavcv3lA976vPGyXIT4w5XvwQ0scUDyv fcQEoRKgPxDqbqyWRMBmAtjO1nFypttMHCvIWTmHjGg7RhwizdG1WYX1bQPdQLaFqkvL UOsw492bmURTxjVMX8QroYJpY666gFpsFT4KoiZG3hjGo6JLKgLNXQYJrtyfy1WRdcOo pkBjiXZnGTXNVBBMGR29TCEj+vxq7iDu8rWQ17Hn9WgQAYFaxuyVUFhZ380D/SP7nJM+ C5bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TixecA9/pAM4HarsIzbsqo9aEePqi7NlMoMwpBqZ4sg=; b=kYE9J1SuooZk5XNphlAWF/3NcCQ/DA0/pdE14shgegl5TKWy2r56YuE22xnHbVmX2l bUh0NF5pr9pV5L1RomsdmTYN6zF79Myqhe0LEgZKiz2xPKzHjKr2des5ZS2DU0tRLbqU 7ph9bOEdeyxlSLFuEjjMfB3jAXR7He+VRqNo8lWUkCxpiPQeqqJnOdk9xrCXYdAOk4yI 7ArbxOq3i5JBV5+lraP1P+9i4N26LNC4oSVjt+N/vfzDEvHF4ASdYUmmEpHR2TuNWkhQ WVFDu0xE3+aWoeNc7CYD93bbMUNaVp4cq+Fv5qHWJBekpSfrgEGExj0fNrDy9UftuMlV HWrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=nj0vJNwd; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j15-20020a170902758f00b001ab03aca06csi5498117pll.643.2023.05.03.12.04.02; Wed, 03 May 2023 12:04:16 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=nj0vJNwd; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230048AbjECTAo (ORCPT + 99 others); Wed, 3 May 2023 15:00:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbjECTAm (ORCPT ); Wed, 3 May 2023 15:00:42 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26ABD7690; Wed, 3 May 2023 12:00:41 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1ab14cb3aaeso15705555ad.2; Wed, 03 May 2023 12:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683140440; x=1685732440; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=TixecA9/pAM4HarsIzbsqo9aEePqi7NlMoMwpBqZ4sg=; b=nj0vJNwdVVt0leIQqG7LNcDsn0HBv/2LB5bpwahmUCsC/miRMRioHYtWRmIyKRa4q7 /LerloBVswHzbFX9CCyUDnpxP/IQ/6PnLLqQpfWnc1NbH+CLoy/qomCuLXbQ/hm7GXbY 9K1llkLMVIzXH+9erLCPKYeKOCMjPHTi+/CtZTNMV7mXRuC6JsIf5ggN/rnrAz1NhNXa eh05/yDdnx52+JINCk6ZeL/o57hnKkS0hVq+XSd3MGLHBk2Mi4AWCPwwxseywCc+V8EF Yaorgf1eIpLSqB3Zpcj6GvY7Tq1yLUSj/1p4qXhmSy1aAY4pRffG6YTjpr/A2bnDbK8l sQJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683140440; x=1685732440; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TixecA9/pAM4HarsIzbsqo9aEePqi7NlMoMwpBqZ4sg=; b=TaHG4aqH+Cm/jBDGmbBFWxrdk3YZv4kNhts8Ldj6s/L39kekVmjZagdKJi3c5anOuD Fy69eLqJ99M8n7IzuFOLg9F8xFliZoDRhTgR/1RDtbXevKQi9VIK+QfG7Z+gTY5abCZ0 6eIGB2LKsT814hkTtoV+YW+46QV954QRVbd4FOeU6H5CkASLWNXYQWLckgOTLe+nyPyz dD/AoNYObQUTCYeTBixSeDz9N5zsROw2ozDoxEksM+Mtt50S2EVk43h3uMx8EbWyv7m8 nkom+fcIBi+pxDr10qZJ9Sto3WX5TwC77sR+jvixS7eUWgkfajKNVhIiOt2T2JdOHRk1 3d+Q== X-Gm-Message-State: AC+VfDxHGIesQO5eCdecst7EbwfRWyiu1d/oMt/6Q3M/a32ojk1GG1M4 q0w4+1rI6z7CK+YFhFszZ9o= X-Received: by 2002:a17:902:b198:b0:1a1:b174:836c with SMTP id s24-20020a170902b19800b001a1b174836cmr1001919plr.16.1683140440270; Wed, 03 May 2023 12:00:40 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:9390:e396:49ef:54dc]) by smtp.gmail.com with ESMTPSA id be12-20020a170902aa0c00b001a6a53c3b04sm21958039plb.306.2023.05.03.12.00.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 12:00:39 -0700 (PDT) Date: Wed, 3 May 2023 12:00:36 -0700 From: Dmitry Torokhov To: "Limonciello, Mario" Cc: Linux regressions mailing list , Chuanhong Guo , linux-input@vger.kernel.org, Mario Limonciello , "Rafael J. Wysocki" , ACPI Devel Maling List , LKML Subject: Re: [regression] Bug 217394 - IRQ override skipping breaks the Aya Neo Air Plus 6800U keyboard buttons Message-ID: References: <01ea5c8e-ed2f-7568-f6ed-896329e7b673@leemhuis.info> <68d017d9-d815-01d4-23c1-49c0aaf5f20b@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <68d017d9-d815-01d4-23c1-49c0aaf5f20b@amd.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Wed, May 03, 2023 at 11:11:33AM -0500, Limonciello, Mario wrote: > +linux-input > > On 5/3/2023 7:58 AM, Linux regression tracking (Thorsten Leemhuis) wrote: > > Hi, Thorsten here, the Linux kernel's regression tracker. > > > > 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. > > > > 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? Thanks. -- Dmitry