From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C208CC00A89 for ; Mon, 2 Nov 2020 22:56:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6F49821556 for ; Mon, 2 Nov 2020 22:56:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UrvleR9G" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725906AbgKBW4Z (ORCPT ); Mon, 2 Nov 2020 17:56:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbgKBW4Z (ORCPT ); Mon, 2 Nov 2020 17:56:25 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F1E4C0617A6 for ; Mon, 2 Nov 2020 14:56:25 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id 1so7616233ple.2 for ; Mon, 02 Nov 2020 14:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mqtRZlps0AFmnBWQDARp0gqOgumZWJt5mfGSNnjHUrY=; b=UrvleR9G1FY4b/8at7PjPV2ZzEJuvq7ugpvcb5Kx/n+ex3K8ZZbcMZUGPPe1nJqv3E Y2C8ChnGcnXiq63maAq0LSfpwmPtwB1i4hhVma1u1d37pExYBg0Zbhz3AHtK4+gca5YE fyFJh6metsiqVPmB65FXXP5n0Pc+/hyxYUHnE5YaydaHdWwksZMX48C5bhKNCJv3opPF dG5k7FQUKPXdfksVOZC2VtzqfibPNZKhksoyChHBgcc1/MrMIsQoSf7cDH0H5w7ZeUNA HGal4P4Ymgo//O9UocQ6jHSFh6BIT/UrAtbxKastAx3DQqqT4kMLt3aw9asfX1APdnop JEjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mqtRZlps0AFmnBWQDARp0gqOgumZWJt5mfGSNnjHUrY=; b=FUGZb4viX042bIMHFkGmuf8Ap2qhWTlTwCTxu8tSTSf5yFZjv/zEkPOPtg/pVhL81p /v54DGhCiDwKTXovnNbGMWbby8qAgSoR49PFaYpjjCyCr+EAJ5Njg/yiHup3EAK5b6C0 QX02VmPK1X5EbiSweypDwTeXLqUifaSELq5ipyf8WXjLM/0bv97zvgU2RXijJMLNiV0f PijJQfgrzWm7Ue18rE8HGcpaaWADSc/7upDKO+vYo6kFYCl5UzMOZgEe4CZgK5C3MSd0 44ign1w90FYAyByRd+85dIqr4Xkdew3bM2uqahTK3SScdbqndKNLQPOjcFbVGgF5YLVZ Hd1Q== X-Gm-Message-State: AOAM533xISKCtwUxxgUcdQ4QxATfXqIPOCY8adxqOXTWVIhrBnQyR0t+ qTq8wGxHEVJdmX/HXVwCLgA= X-Google-Smtp-Source: ABdhPJy3aEn2fLicGiYGq5ghWFgSjIBAh5KBg2aQ7vFtXuy1V0ZG09hkx6Xap9q85jCM0WQkmD7Vvw== X-Received: by 2002:a17:902:8605:b029:d5:a6dc:ad0a with SMTP id f5-20020a1709028605b02900d5a6dcad0amr23267313plo.56.1604357785123; Mon, 02 Nov 2020 14:56:25 -0800 (PST) Received: from localhost ([2001:e42:102:1532:160:16:113:140]) by smtp.gmail.com with ESMTPSA id q125sm15292114pfq.120.2020.11.02.14.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 14:56:24 -0800 (PST) From: Coiby Xu X-Google-Original-From: Coiby Xu Date: Tue, 3 Nov 2020 06:56:00 +0800 To: Andy Shevchenko Cc: Hans de Goede , Mika Westerberg , Linus Walleij , "open list:GPIO SUBSYSTEM" , wang jun , Nehal Shah , Shyam Sundar S K , linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: Any other ways to debug GPIO interrupt controller (pinctrl-amd) for broken touchpads of a new laptop model? Message-ID: <20201102225600.nngn7lahtonni3sk@Rk> References: <20201014042420.fkkyabmrkiekpmfw@Rk> <20201026225400.37almqey2wxyazkn@Rk> <86963e59-3661-c43c-4e08-a0f9b9e7ed07@redhat.com> <20201030045421.si3r5zsbeeyhkwns@Rk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Mon, Nov 02, 2020 at 09:06:23PM +0200, Andy Shevchenko wrote: >On Fri, Oct 30, 2020 at 6:54 AM Coiby Xu wrote: >> On Tue, Oct 27, 2020 at 06:09:49PM +0200, Andy Shevchenko wrote: >> >On Tue, Oct 27, 2020 at 6:01 PM Hans de Goede wrote: >> >> On 10/27/20 4:13 PM, Andy Shevchenko wrote: > >... > >> >> I see, so then the right thing to do for the bug which we are seeing >> >> on some AMD platforms would be to honor the debounce setting I guess ? >> >> >> >> Can you and/or Mika write a patch(set) for this ? >> > >> >I will look at it, but meanwhile I would postpone until having a >> >Mika's Ack on the action that my understanding and course of actions >> >is correct. > >I will soon send a support patch against ACPI GPIO library code. > >> If you don't mind, let me write this patch(set) instead:) > >I leave to you whatever AMD code. It will suit our both interests :-) Excellent! Thank you! > >> I feel itchy >> to fix this touchpad issue by myself after spending about a month of >> my internship at Linux Foundation investigating this touchpad issue. >> There are many enthusiastic Linux users waiting to get their touchpads >> fixed and I could prioritize this task since I don't have other >> obligations. I have provided a fallback solution [1] to save their >> touchpads but it seems patches on gpiolib-acpi.c and pinctrl-amd could >> reach mainline kernel much earlier. >> >> [1] https://lore.kernel.org/patchwork/patch/1323245/ > > >-- >With Best Regards, >Andy Shevchenko -- Best regards, Coiby From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3EE3C2D0A3 for ; Mon, 2 Nov 2020 22:56:28 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0E1CF20870 for ; Mon, 2 Nov 2020 22:56:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UrvleR9G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E1CF20870 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-kernel-mentees-bounces@lists.linuxfoundation.org Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 995AA86432; Mon, 2 Nov 2020 22:56:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RdHRwspxjijj; Mon, 2 Nov 2020 22:56:27 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1C34A863E1; Mon, 2 Nov 2020 22:56:27 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 02F88C088B; Mon, 2 Nov 2020 22:56:27 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 40E47C0051 for ; Mon, 2 Nov 2020 22:56:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 28596863E2 for ; Mon, 2 Nov 2020 22:56:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HV4OsaChT44w for ; Mon, 2 Nov 2020 22:56:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f196.google.com (mail-pl1-f196.google.com [209.85.214.196]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 90FA6863E1 for ; Mon, 2 Nov 2020 22:56:25 +0000 (UTC) Received: by mail-pl1-f196.google.com with SMTP id t6so7590634plq.11 for ; Mon, 02 Nov 2020 14:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mqtRZlps0AFmnBWQDARp0gqOgumZWJt5mfGSNnjHUrY=; b=UrvleR9G1FY4b/8at7PjPV2ZzEJuvq7ugpvcb5Kx/n+ex3K8ZZbcMZUGPPe1nJqv3E Y2C8ChnGcnXiq63maAq0LSfpwmPtwB1i4hhVma1u1d37pExYBg0Zbhz3AHtK4+gca5YE fyFJh6metsiqVPmB65FXXP5n0Pc+/hyxYUHnE5YaydaHdWwksZMX48C5bhKNCJv3opPF dG5k7FQUKPXdfksVOZC2VtzqfibPNZKhksoyChHBgcc1/MrMIsQoSf7cDH0H5w7ZeUNA HGal4P4Ymgo//O9UocQ6jHSFh6BIT/UrAtbxKastAx3DQqqT4kMLt3aw9asfX1APdnop JEjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mqtRZlps0AFmnBWQDARp0gqOgumZWJt5mfGSNnjHUrY=; b=N+lermAP2IT/96tBJYLOaHelw4/2hF75uzBBQD3ULMuAJXiba7ci5iQFZgUVoosNOk 9e6kZJL+4lL49k4WkGQn5F9lBukCL05J/UUDAcn0BuQCTRMmZLxkeG8jbLTd78ij5tgA fBRx7KTye/V6UVxsec/TO9H11A6eU5CC5vKBUGLnMTgl2nYfwI9K+2Q3BLaSApWY4pEd 2aw30IaOmyfsjNoe2TPEfV6spuRvB/9LcQvUH+d+FTFTTRv/JYs3y041qlpBauYrUwvE +dJmyxUC+vMpBi2sN50UtuwUygyh+teRLLC/O50mJQPd0Y2vwOjYlvN9VocrslRN+ZCN d4RA== X-Gm-Message-State: AOAM530y3n24c2zbh3jTI176fJuSfq9qFRp5kWZXMWChBwb55ToPL2gE Qvmb/aMzv6b08huZl7I7SVw= X-Google-Smtp-Source: ABdhPJy3aEn2fLicGiYGq5ghWFgSjIBAh5KBg2aQ7vFtXuy1V0ZG09hkx6Xap9q85jCM0WQkmD7Vvw== X-Received: by 2002:a17:902:8605:b029:d5:a6dc:ad0a with SMTP id f5-20020a1709028605b02900d5a6dcad0amr23267313plo.56.1604357785123; Mon, 02 Nov 2020 14:56:25 -0800 (PST) Received: from localhost ([2001:e42:102:1532:160:16:113:140]) by smtp.gmail.com with ESMTPSA id q125sm15292114pfq.120.2020.11.02.14.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 14:56:24 -0800 (PST) From: Coiby Xu X-Google-Original-From: Coiby Xu Date: Tue, 3 Nov 2020 06:56:00 +0800 To: Andy Shevchenko Message-ID: <20201102225600.nngn7lahtonni3sk@Rk> References: <20201014042420.fkkyabmrkiekpmfw@Rk> <20201026225400.37almqey2wxyazkn@Rk> <86963e59-3661-c43c-4e08-a0f9b9e7ed07@redhat.com> <20201030045421.si3r5zsbeeyhkwns@Rk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: Shyam Sundar S K , "open list:GPIO SUBSYSTEM" , linux-kernel-mentees@lists.linuxfoundation.org, Linus Walleij , wang jun , Hans de Goede , Mika Westerberg , Nehal Shah Subject: Re: [Linux-kernel-mentees] Any other ways to debug GPIO interrupt controller (pinctrl-amd) for broken touchpads of a new laptop model? X-BeenThere: linux-kernel-mentees@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-kernel-mentees-bounces@lists.linuxfoundation.org Sender: "Linux-kernel-mentees" On Mon, Nov 02, 2020 at 09:06:23PM +0200, Andy Shevchenko wrote: >On Fri, Oct 30, 2020 at 6:54 AM Coiby Xu wrote: >> On Tue, Oct 27, 2020 at 06:09:49PM +0200, Andy Shevchenko wrote: >> >On Tue, Oct 27, 2020 at 6:01 PM Hans de Goede wrote: >> >> On 10/27/20 4:13 PM, Andy Shevchenko wrote: > >... > >> >> I see, so then the right thing to do for the bug which we are seeing >> >> on some AMD platforms would be to honor the debounce setting I guess ? >> >> >> >> Can you and/or Mika write a patch(set) for this ? >> > >> >I will look at it, but meanwhile I would postpone until having a >> >Mika's Ack on the action that my understanding and course of actions >> >is correct. > >I will soon send a support patch against ACPI GPIO library code. > >> If you don't mind, let me write this patch(set) instead:) > >I leave to you whatever AMD code. It will suit our both interests :-) Excellent! Thank you! > >> I feel itchy >> to fix this touchpad issue by myself after spending about a month of >> my internship at Linux Foundation investigating this touchpad issue. >> There are many enthusiastic Linux users waiting to get their touchpads >> fixed and I could prioritize this task since I don't have other >> obligations. I have provided a fallback solution [1] to save their >> touchpads but it seems patches on gpiolib-acpi.c and pinctrl-amd could >> reach mainline kernel much earlier. >> >> [1] https://lore.kernel.org/patchwork/patch/1323245/ > > >-- >With Best Regards, >Andy Shevchenko -- Best regards, Coiby _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees