Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E454C7618B for ; Sat, 18 Mar 2023 15:55:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229892AbjCRPzF (ORCPT ); Sat, 18 Mar 2023 11:55:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbjCRPzD (ORCPT ); Sat, 18 Mar 2023 11:55:03 -0400 Received: from hyperium.qtmlabs.xyz (hyperium.qtmlabs.xyz [IPv6:2a02:c206:2066:3319::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E5C21E9CF; Sat, 18 Mar 2023 08:55:00 -0700 (PDT) Received: from dong.kernal.eu (unknown [222.254.17.84]) by hyperium.qtmlabs.xyz (Postfix) with ESMTPSA id 4FC72820059; Sat, 18 Mar 2023 16:54:58 +0100 (CET) Received: from [172.20.10.3] (unknown [171.255.115.39]) by dong.kernal.eu (Postfix) with ESMTPSA id 4997D44496AC; Sat, 18 Mar 2023 22:54:54 +0700 (+07) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qtmlabs.xyz; s=syka; t=1679154894; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9JK4rr15uOw6b9JjKviiCer/t/jD/hPLNzsfBAMZPF0=; b=ce1E3Y7qyOBlK90jWJkLKvcv/QgrE+R9fprQrZMHXRYByu06BgxHNluCyRNJCfN3uPWT34 LpbiOSR7i+cyAyFOV8JXjv5QvDKgkHaingzVze5/d14bXBFiQPfbVDmE+e9we+vtbTJB78 hDqaAeMDJk+inOFo/G0elnfhlbtmCnaBRT4BCWR+nLNaIsgtIfyI61KE7c0j3Ro2DJhcaE rOGmrWQwVW3L4TQGQUul0YxJuwBhkuBEyZRma43KhbJNZWg25BiV4yUDuNqTVhY9+chzHK tLAYJqTZ9JmiKMg6HoTMxBaimlO05WudZuWRkVY/fhkwViDh0dmYBRLiNB5/WA== Message-ID: Date: Sat, 18 Mar 2023 22:54:48 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [regression] focaltech touchpad driver misbehaves due to "kbuild: treat char as always unsigned" Content-Language: en-US To: Linux regressions mailing list , "Jason A. Donenfeld" , Dmitry Torokhov Cc: LKML , "open list:HID CORE LAYER" , barry@messagefor.me.uk References: From: msizanoen In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms090208080409020500090509" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a cryptographically signed message in MIME format. --------------ms090208080409020500090509 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Seems like the AlpsPS/2 driver also got hit with the exact same issue: https://gitlab.freedesktop.org/libinput/libinput/-/issues/871#note_1829296 I submitted a patch for that: https://lore.kernel.org/linux-input/20230318144206.14309-1-msizanoen@qtmlabs.xyz/ On 3/18/23 19:08, Linux regression tracking (Thorsten Leemhuis) wrote: > Hi, Thorsten here, the Linux kernel's regression tracker. > > I noticed a regression report in bugzilla.kernel.org. Jason, apparently > it's caused by a change of yours (3bc753c06dd0 ("kbuild: treat char as > always unsigned")), which apparently caused a problem in > drivers/input/mouse/focaltech.c to surface. Someone provided a patch > already to fix it here: https://bugs.archlinux.org/task/77733?getfile=22498 > > Back to the bug. As many (most?) kernel developer don't keep an eye on > bugzilla, I decided to forward it by mail. Quoting from > https://bugzilla.kernel.org/show_bug.cgi?id=217211 : > >> Barry 2023-03-17 13:51:10 UTC >> >> Created attachment 303972 [details] Kernel bisect result >> >> O/S: Archlinux. >> >> On any kernel release from 6.2 onwards I have found that the touchpad >> doesn't respond to multi finger touches properly. The pad works fine for >> single finger movement and single finger tap to click. If I click and >> hold the pad button and then use another finger to move such as for text >> selection, drag and drop, moving or resizing a window etc. Or if I try >> to use 2 finger scrolling then the mouse pointer jumps to the top or >> right or into the top right of the screen. All of this functionality >> worked as expected up to kernel 6.1.19. >> >> I have bisected the kernel and got the attached result. >> >> >> I have checked out kernel 6.2.6 and removed the `-funsigned-char` from >> the Makefile. Kernel 6.2.6 built with the modified Makefile restores the >> correct functionality. I believe the touchpad uses the psmouse driver so >> maybe the new build option has broken this driver.> >> I have bisected the kernel and got the attached result. >> >> >> I have checked out kernel 6.2.6 and removed the `-funsigned-char` >> from the Makefile. Kernel 6.2.6 built with the modified Makefile >> restores the correct functionality. I believe the touchpad uses the >> psmouse driver so maybe the new build option has broken this driver. >> >> [...] >> >> barry@messagefor.me.uk 2023-03-18 11:49:27 UTC >> >> Hi. If you check this link which is my report of the same bug on the >> arch bug tracker there is a patch attached which fixes the issue. >> >> https://bugs.archlinux.org/task/77733#comment216336 > See the ticket for more details. > > > [TLDR for the rest of this mail: I'm adding this report to the list of > tracked Linux kernel regressions; the text you find below is based on a > few templates paragraphs you might have encountered already in similar > form.] > > BTW, let me use this mail to also add the report to the list of tracked > regressions to ensure it's doesn't fall through the cracks: > > #regzbot introduced: 3bc753c06dd0 > https://bugzilla.kernel.org/show_bug.cgi?id=217211 > #regzbot title: kbuild/input: focaltech touchpad driver misbehaves due > to a checke how to treat char > #regzbot ignore-activity > > This isn't a regression? This issue or a fix for it are already > discussed somewhere else? It was fixed already? You want to clarify when > the regression started to happen? Or point out I got the title or > something else totally wrong? Then just reply and tell me -- ideally > while also telling regzbot about it, as explained by the page listed in > the footer of this mail. > > Developers: When fixing the issue, remember to add 'Link:' tags pointing > to the report (e.g. the buzgzilla ticket and maybe this mail as well, if > this thread sees some discussion). See page linked in footer for details. > > 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. > --------------ms090208080409020500090509 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC DVkwggXkMIIDzKADAgECAhAU0NdE7cMDeXsUr2BzYHN+MA0GCSqGSIb3DQEBCwUAMIGBMQsw CQYDVQQGEwJJVDEQMA4GA1UECAwHQmVyZ2FtbzEZMBcGA1UEBwwQUG9udGUgU2FuIFBpZXRy bzEXMBUGA1UECgwOQWN0YWxpcyBTLnAuQS4xLDAqBgNVBAMMI0FjdGFsaXMgQ2xpZW50IEF1 dGhlbnRpY2F0aW9uIENBIEczMB4XDTIzMDIyMjE2MTUxN1oXDTI0MDIyMjE2MTUxN1owIDEe MBwGA1UEAwwVbXNpemFub2VuQHF0bWxhYnMueHl6MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A MIIBCgKCAQEAr625uiw0aJ33M9NAWnPBGC0yTcnay7OelqiLV5zxgKLEHG4rc/RESJImudlf smCsdXvj79SfUpmpF0Vy7cU1mImEq6U/pRHtv2MzQxCJyjVPUgQH6ksCyqA1NV4kWdDigV5p Idls6PHvB6yWXhEow/33NZKg5ATxSR2BFsor9L0efFRFGm/Y2f32sIj6LdTiwemRxKnw9ZXQ P087hCNy84YQZaJPExM3KHACYZWEYcwklXS9IkWLoDhHiQJwSyUnjebJ//WzZGaawo8cS46o xt8suj6Q7Al19w93YI8roIiBRRQOAUhr1V++KkahALSKtkVv2ikmC/QMeo4xmZkBTwIDAQAB o4IBtjCCAbIwDAYDVR0TAQH/BAIwADAfBgNVHSMEGDAWgBS+l6mqhL+AvxBTfQky+eEuMhvP dzB+BggrBgEFBQcBAQRyMHAwOw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