Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp130253imm; Tue, 9 Oct 2018 15:07:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV62ZtSr/XFF/n7yEm0mEV2ekILfiShm2K/qrLsxvhhRbiahosTLNSRXAW7X8WBGEo9N0lUXj X-Received: by 2002:a62:5d0c:: with SMTP id r12-v6mr32256284pfb.123.1539122822582; Tue, 09 Oct 2018 15:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539122822; cv=none; d=google.com; s=arc-20160816; b=Fwj8edwJLg+46VECsoGL/geqEpXC3HeCt/XM1GgxTgh+iovsTXUQ/JWEtlUWupcCY3 lXC8c6GYS4jk8TW7AcphhDRb+jZuB0KHp3tHuKgDJG710smdiqzfgnoaMqntJ3j6Plkf RITIExnep7R2a463XcGzt8VCmSxAS+8XTd8FVXRYeSkBzFBK5KaE6Fr8YKjJWkO1C/CJ 8AyHlRftOt/3gheJLJ58FtqFIq6LwUbLwZr0N3xVsceizwzjHr470EFBVEZUKU065SuU 1aSimzV/Stgrz8y1cO22GQpABBa/siT2LLPb83mMdXOTwUUyclLhmlY/wHKhBh5zxuLR 6ZSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Jbs2gZchJ/KmK602bqsC4jaHuMlIs0fZ9Knt/FA/3sA=; b=kf2PPQKlpI05rwBVMXEKIpBMephwnYHszcElc+2MCsPOrRg9m4GCwHBQATdSlDMbFt 689wxZzcQLxL4AuDHpZjkXNVH/67L8b+B3ZJJEpjry3h9+6xkw7LOg1SDFJqvC58e/oT csKuMGtcvsSsZGjsvo1b/MuSNHDm/td4wS8ILKTvpDCcD1J8QnH9apZ4r+HgUQBuuwKo JMSdUEO1y0TJykpAyyh9yo/r+AucCGTtbpfv7rgLgZprRakbPI1hnbXFBSoPx6W4aXtk 0cvdYz2v1vDrwhzfXKkqUEr0arRoV7Kgv5QP2q/EVYXvVsjQRCNqu9su0kyM7ibNTJa4 UXGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BJiz2CQX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n10-v6si22305685pgr.291.2018.10.09.15.06.47; Tue, 09 Oct 2018 15:07:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BJiz2CQX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727724AbeJJFZE (ORCPT + 99 others); Wed, 10 Oct 2018 01:25:04 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:40472 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbeJJFZE (ORCPT ); Wed, 10 Oct 2018 01:25:04 -0400 Received: by mail-pf1-f193.google.com with SMTP id s5-v6so1539543pfj.7; Tue, 09 Oct 2018 15:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=Jbs2gZchJ/KmK602bqsC4jaHuMlIs0fZ9Knt/FA/3sA=; b=BJiz2CQXGlFOz7+OJXyRZ65+Y/BUjqaTcqqqGHA1wIsqat2CTl8PvFB27206KIFAaY 3Q/OplGlYt04B43CTQIk9Y9KIOP02oJm8Dx48Yr9bFD5A9sjOWU+8F1KsPVZXeBff2ks Cz25K1tjTILLW+yvoR9ydYR4X/ZtopUB7ZQPs6HwKKCpm4jGQ/d/1E8fsEqeVkfIIMjG z77n11lomvJ/peLE9MjGXzi2PjgnxvrdROuGE26VHM6dpThrMYYgIHsjyqqs9YY9zgUu 58Y45x/QazFEtZ3pVuPF7gpBYpZIrbu6K2gmfPdboeDoXF6UR7hiN46b/pnHK58yy1AY 0awA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Jbs2gZchJ/KmK602bqsC4jaHuMlIs0fZ9Knt/FA/3sA=; b=hCXbrsaIlvAe0ZW+ZtN4Cm1yqiqa0dq+wD7uYoMoxGcsXq9JYQW2wIZPH2G2ITBVI4 CJvcPWzvuTEEl/J/HeWk4yX5DczEcAfIV+QwCUpn2kd4sRp9W9PsWali4xR7sQvzdRlU mys/2PnJh2866p4eCmW/QvYyPwvBNWczTQOXnWq/Urh0b0ZCrbtSSOK4BiJSHnxjvIMq m+rvivm76yBMeobbMgSUy5jaZLhnU17lk9wGjpubnICmw2Xe/Iw9EznsbYu8HsQfwcBZ iORMtpU28LWOnSaRttW2evMiG+A34LcWDLPASHV8HkCgKMvRMMGfNWeMTcHsyfYF+sE+ pSug== X-Gm-Message-State: ABuFfoh1AEPv1gSRuqKAGoqQaTWkDmebewqQTVcg/ind54KjmYC++YmM 4t3L1NoP7YB+5rMo/xYV5HQ= X-Received: by 2002:a62:c08b:: with SMTP id g11-v6mr32020325pfk.72.1539122761762; Tue, 09 Oct 2018 15:06:01 -0700 (PDT) Received: from ?IPv6:2001:df0:0:200c:5423:3ce7:4c4e:7bce? ([2001:df0:0:200c:5423:3ce7:4c4e:7bce]) by smtp.gmail.com with ESMTPSA id n80-v6sm33862287pfh.166.2018.10.09.15.05.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 15:06:01 -0700 (PDT) Subject: Re: [PATCH AUTOSEL 4.18 24/58] Input: atakbd - fix Atari CapsLock behaviour To: Dmitry Torokhov Cc: sashal@kernel.org, "3.8+" , lkml , Andreas Schwab , alexander.levin@microsoft.com References: <20181008152523.70705-1-sashal@kernel.org> <20181008152523.70705-24-sashal@kernel.org> From: Michael Schmitz Message-ID: <1cbc87c6-7920-1f53-879b-79de87d685fc@gmail.com> Date: Wed, 10 Oct 2018 11:05:56 +1300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dmitry, I agree the bug is neither subtle nor recent, not security relevant and will affect only a handful of users at best. If you're worried about weakening the rules around stable releases, by all means go ahead and veto the inclusion of these patches in the next stable release. Cheers,     Michael On 09/10/18 08:20, Dmitry Torokhov wrote: > Hi Michael, > > On Mon, Oct 8, 2018 at 12:09 PM Michael Schmitz wrote: >> Dmitry, >> >> someone on debian-68k reported the bug, which (to me) indicates that the >> code is not just used by me. >> >> Whether or not a functioning Capslock is essential to have? You be the >> judge of that. If you are OK with applying the keymap patch, why not >> this one? > I have exactly the same concerns about the keymap patch. This all has > not been working correctly for many many years (and it was not broken > in a subtly way as far as I understand, but rather quite obvious). > Thus I do not understand why this belongs to stable release. It is not > a [recent] regression, nor secutiry bug, nor even enabling of new > hardware, that is why I myself did not mark it as stable. > > I still maintain that we pick up for stable too many patches for no > clear benefit. This is similar to the patch for Atmel controllers that > was picked to stable and I asked why, as it is not clear how many > users might be affected (or if the problem the patch was solving was > purely theoretical, or only affecting hardware that is not in > circulation yet). > >> Debian will carry stable patches without explicit action on behalf of >> the maintainer. Unstable patches are a little harder to get accepted. >> >> Cheers, >> >> Michael >> >> >> >> On 09/10/18 06:11, Dmitry Torokhov wrote: >>> On Mon, Oct 8, 2018 at 8:25 AM Sasha Levin wrote: >>>> From: Michael Schmitz >>>> >>>> [ Upstream commit 52d2c7bf7c90217fbe875d2d76f310979c48eb83 ] >>>> >>>> The CapsLock key on Atari keyboards is not a toggle, it does send the >>>> normal make and break scancodes. >>>> >>>> Drop the CapsLock toggle handling code, which did cause the CapsLock >>>> key to merely act as a Shift key. >>> This has been broken for 10+ years. Does it really make sense to >>> promote it to stable? >>> >>>> Tested-by: Michael Schmitz >>>> Signed-off-by: Michael Schmitz >>>> Signed-off-by: Andreas Schwab >>>> Signed-off-by: Dmitry Torokhov >>>> Signed-off-by: Sasha Levin >>>> --- >>>> drivers/input/keyboard/atakbd.c | 10 ++-------- >>>> 1 file changed, 2 insertions(+), 8 deletions(-) >>>> >>>> diff --git a/drivers/input/keyboard/atakbd.c b/drivers/input/keyboard/atakbd.c >>>> index 524a72bee55a..fdeda0b0fbd6 100644 >>>> --- a/drivers/input/keyboard/atakbd.c >>>> +++ b/drivers/input/keyboard/atakbd.c >>>> @@ -189,14 +189,8 @@ static void atakbd_interrupt(unsigned char scancode, char down) >>>> >>>> scancode = atakbd_keycode[scancode]; >>>> >>>> - if (scancode == KEY_CAPSLOCK) { /* CapsLock is a toggle switch key on Amiga */ >>>> - input_report_key(atakbd_dev, scancode, 1); >>>> - input_report_key(atakbd_dev, scancode, 0); >>>> - input_sync(atakbd_dev); >>>> - } else { >>>> - input_report_key(atakbd_dev, scancode, down); >>>> - input_sync(atakbd_dev); >>>> - } >>>> + input_report_key(atakbd_dev, scancode, down); >>>> + input_sync(atakbd_dev); >>>> } else /* scancodes >= 0xf3 are mouse data, most likely */ >>>> printk(KERN_INFO "atakbd: unhandled scancode %x\n", scancode); >>>> >>>> -- >>>> 2.17.1 >>>> > Thanks. >