From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8440E1DC9A7; Wed, 19 Mar 2025 14:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742395102; cv=none; b=aYU3//UdVwi6qtBZrW/AAbvSJT1U6F5p5NU3GtsTjDnWQlS0PbjapAi7uHowbjUwaqFGW9YvkEf08Jh8/qdB5jXEGP6aJ/cm4tFjhTVYyKJPn42mVAnE7cylKpLLNUpX0+Faj6pjn1oo6DhwqXmPEld2BfehHs/3cJAGMF06qPs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742395102; c=relaxed/simple; bh=T4hlngTb5Eo0pSiMJfuCFdBkw7/hrkncRfAhGbZj8rA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=E1X6wJD6YTdMFYYUTWjraqdDr3ImadcPCTPMQL5JDVuGjhKGLq7pbWrYBbER1/xm90F1UzNoiK2+/iz7K8CW79Oef6A2ekmB5PB1fWYuByavv/U/+3bPhRboU9LcLJGN+9gF/i8kuESRIcF46MWa/hVNyXBFsveN61583cPvaP8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FK/UX0tl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FK/UX0tl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58302C4CEE4; Wed, 19 Mar 2025 14:38:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1742395102; bh=T4hlngTb5Eo0pSiMJfuCFdBkw7/hrkncRfAhGbZj8rA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FK/UX0tl7LKioes5BEJwIWD1JMoelyOI8zlFpjjP6+eIjBQyy5MA1wecfiWJ/V6vJ 9Ht36iIQE73PMsQUhjboUOVD21F6a/TwRejuAH/SNAoPH83SmgmToB2eIeUAKmANL5 k+izNd9uhID90O//wceAzziT13YsDhYvR5U16vpw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Werner Sembach , Dmitry Torokhov Subject: [PATCH 6.12 154/231] Input: i8042 - swap old quirk combination with new quirk for NHxxRZQ Date: Wed, 19 Mar 2025 07:30:47 -0700 Message-ID: <20250319143030.640217393@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250319143026.865956961@linuxfoundation.org> References: <20250319143026.865956961@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Werner Sembach commit 729d163232971672d0f41b93c02092fb91f0e758 upstream. Some older Clevo barebones have problems like no or laggy keyboard after resume or boot which can be fixed with the SERIO_QUIRK_FORCENORESTORE quirk. With the old i8042 quirks this devices keyboard is sometimes laggy after resume. With the new quirk this issue doesn't happen. Cc: stable@vger.kernel.org Signed-off-by: Werner Sembach Link: https://lore.kernel.org/r/20250221230137.70292-1-wse@tuxedocomputers.com Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/serio/i8042-acpipnpio.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) --- a/drivers/input/serio/i8042-acpipnpio.h +++ b/drivers/input/serio/i8042-acpipnpio.h @@ -1209,18 +1209,10 @@ static const struct dmi_system_id i8042_ SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) }, { - /* - * Setting SERIO_QUIRK_NOMUX or SERIO_QUIRK_RESET_ALWAYS makes - * the keyboard very laggy for ~5 seconds after boot and - * sometimes also after resume. - * However both are required for the keyboard to not fail - * completely sometimes after boot or resume. - */ .matches = { DMI_MATCH(DMI_BOARD_NAME, "NHxxRZQ"), }, - .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS | - SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) + .driver_data = (void *)(SERIO_QUIRK_FORCENORESTORE) }, { .matches = {