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 67F561DE2D8; Wed, 19 Mar 2025 14:36:06 +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=1742394966; cv=none; b=GfTmKkHc5jv8PFx9DX5AhYEIrX89NfK4WeEhgXdxw+ydHZWAx4W4bibP/Ds00zZqOjA1La/yeIN484jj/C0v1RFtmHu/r+BdbLPcxN7svOYAayOSpJNTxJ3TVfSDKtNgFgt2noyKm/AyqQdgnpDlVTgFCgGWfxLQDWmqgBnqfnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742394966; c=relaxed/simple; bh=tZo9tbZ/pIwiIdl9lDezi1AsGhRGWue4CaasuoxxbF8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Sgf9XDUN1yxbg4fTtc+XLGI6PYnrYxcEgRAFS8AsbXcjtj6r7jYbJaHZxiFBxLJ3DjMxIs0k8S/hotCiek1L7moImdOeYlN6QlU9U3YBO6RuxZ7DTLyulbhwTtxSSTmfMiSvL7EcjYEBTQNIp+x0o683n2S8uJuTQCgKKZBx7wM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZA6DOtMq; 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="ZA6DOtMq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DE2BC4CEE4; Wed, 19 Mar 2025 14:36:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1742394966; bh=tZo9tbZ/pIwiIdl9lDezi1AsGhRGWue4CaasuoxxbF8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZA6DOtMqEp4JemLOiQejl6HVs0UeUyTfl1Ts4OIQYNF932XPaLWbja8wJ4YHkrhaw KBLCFBRvHzBsNGjN0KNaNqT8tyQcBbFDMyXkfLnP0LDgIyWb4bOA8gzlIXWBytSH5I ivD6gF8xVUR1WMRBVZWC+KWbB0VJwfezPA4QckdQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Werner Sembach , Dmitry Torokhov Subject: [PATCH 6.13 158/241] Input: i8042 - swap old quirk combination with new quirk for NHxxRZQ Date: Wed, 19 Mar 2025 07:30:28 -0700 Message-ID: <20250319143031.633604968@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250319143027.685727358@linuxfoundation.org> References: <20250319143027.685727358@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.13-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 = {