Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp334033lqh; Thu, 28 Mar 2024 03:40:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHS7tTUwb9huL+/IhIca+FCSGgEHOnJ7LfUXPMaaJ16JM3dX6U8NoYPCpyjA/IFXf1rPWR5jEAZexMnOuXIgkuKS4rzf4Ju8AS5f7GDg== X-Google-Smtp-Source: AGHT+IEY3BawIKS5aO/QDxZEL/2gX6BKwCDjdvfDc+MuoAcGEY+7PgqiwgyeHKWHQLarBjHISENB X-Received: by 2002:a17:907:1b1c:b0:a4e:2608:691e with SMTP id mp28-20020a1709071b1c00b00a4e2608691emr780473ejc.4.1711622449103; Thu, 28 Mar 2024 03:40:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711622449; cv=pass; d=google.com; s=arc-20160816; b=FE90gs1Unp/tvPelNFfDzRmk3+69qBRs3GZZJAtRISMfiWOSQKtnFe0fjiKm8G6v5P /CeA/r2UXsJeDWFkXPF7W0FiZuz1AT8BGOcVAIzHvb/KvVWpW8LCQuMTwD+o2ra423o5 vtejPtqhUKykEZ/03l4AyIxeO9EhLn5V2HCI8K5Nlkg2mHid24IwuPhDQRTjEDD7QFzn 1/6SDp40DiDUgMazzlA7eTaIUD6A+Z1uUOZDHByuSicCcZmgydLia8i2yloEoBtbMo8I 9C0wjH+rDWNs3IiTf/IU9au5ayTmjW+sU8N6kS4OgIiSUwm1LdrDu0Zwrnf8XqOHa1Cs FfNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=EzkNAErZrzth5zb/rud93Wef/bqy0IQMxwIQTBrt0zs=; fh=etqnaBQMgyqfXRXKl4NLc86yMt5MhBDWwSZ5Rye1PGU=; b=cx81lkZawrajme9vgCKeMaeqIkWjMqTTq3Br5rSE4QFgmaBMWa6fW+XthEss0WU8XU q9m03YwqHwzkKgjBjEy9rbRS1fQevUIBp+FE5ApKZ12hU0KSfZlfY+mdJGXZIqpv/JOM tBWRcqZizU0zSpw1LFd9lW5JHKKGJ2Du9vfoC3YR8QZoeYPZ4oiEDwufz4x+yzWgzj+s SLnHrY3EOdcdg8YzMtgz4J7+Sl2dAOI72DdAzLf9eMkNmOLw3CkapHHfU5z95TqwkUeg Jr+Po4ERMJDZsEZMHnlS3ayCQ43D2EN/Lrl+hyTCn1ckRk9s/zRSnf4wKPl+GUByP6dE OlNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-122788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122788-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j14-20020a1709062a0e00b00a474d617e43si585227eje.869.2024.03.28.03.40.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 03:40:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-122788-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122788-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=denx.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D1B061F256DA for ; Thu, 28 Mar 2024 10:40:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABA737D071; Thu, 28 Mar 2024 10:40:30 +0000 (UTC) Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F05C7C6D5; Thu, 28 Mar 2024 10:40:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.255.230.98 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711622430; cv=none; b=VIhT+gJD9HUfSlnxFmNZ1+ltPyZr51CXmVsSzg+p5KamZqBum3O1jsEAFhWLi/EENJclyaDlE4F1RSCzaw0u1D+lO1Pt6W8npjQF+xz0Qdjknv02gru1QjL1cRBDONiE7BtzhL5qSmBmjc9XmQ/Kak9DxXwEafzE7w9vubWYsT8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711622430; c=relaxed/simple; bh=dw2qE9ljhz6X/z7yDJs6sMEP5mr/rY/P6qXHuiQ6/iE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZtMac9h90wRqRM03GxeyKnyj140+xkQasSW7FTE6ORZbwZzvX8eirVWjo3+dZ+BKVSSntNrKhqZ1+TQTyTfaxcnujFt7tnkxaVEJdvE/RT2zcNmiqmWxX9136XBPxOYV2ALHSS9p1+vKZC1cd4bdhKbpBixyuqqjcAXFox9siuc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=denx.de; spf=fail smtp.mailfrom=denx.de; arc=none smtp.client-ip=46.255.230.98 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=denx.de Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id BD9181C0081; Thu, 28 Mar 2024 11:40:26 +0100 (CET) Date: Thu, 28 Mar 2024 11:40:26 +0100 From: Pavel Machek To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Mikhail Khvainitski , Jiri Kosina Subject: Re: [PATCH 5.10 127/238] HID: lenovo: Add middleclick_workaround sysfs knob for cptkbd Message-ID: References: <20240324234027.1354210-1-sashal@kernel.org> <20240324234027.1354210-128-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+xPubCJWfEMGwzQ2" Content-Disposition: inline In-Reply-To: <20240324234027.1354210-128-sashal@kernel.org> --+xPubCJWfEMGwzQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Mikhail Khvainitski >=20 > [ Upstream commit 2814646f76f8518326964f12ff20aaee70ba154d ] >=20 > Previous attempt to autodetect well-behaving patched firmware > introduced in commit 46a0a2c96f0f ("HID: lenovo: Detect quirk-free fw > on cptkbd and stop applying workaround") has shown that there are > false-positives on original firmware (on both 1st gen and 2nd gen > keyboards) which causes the middle button click workaround to be > mistakenly disabled. >=20 > This commit adds explicit parameter to sysfs to control this > workaround. Should this go to stable? We have stream of lenovo workarounds, maybe -stable should wait for upstream to solve this. Plus it should really have documentation. Oh and we normally solve this stuff with module parameters, so that it can be fixed during bootup. Best regards, Pavel > Fixes: 46a0a2c96f0f ("HID: lenovo: Detect quirk-free fw on cptkbd and sto= p applying workaround") > Fixes: 43527a0094c1 ("HID: lenovo: Restrict detection of patched firmware= only to USB cptkbd") > Signed-off-by: Mikhail Khvainitski > Signed-off-by: Jiri Kosina > Signed-off-by: Sasha Levin --=20 DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --+xPubCJWfEMGwzQ2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZgVJGgAKCRAw5/Bqldv6 8jCuAJ91l5476iPTU59SHkJjNcGTxb6i8gCgoecaRojX1warU2+YBOQIBk9uESY= =vVWE -----END PGP SIGNATURE----- --+xPubCJWfEMGwzQ2--