From 81ef84af10f3c55df77ef5ae2424794230f550a4 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 14 Sep 2025 18:35:49 +0200 Subject: [PATCH] 6.6-stable patches added patches: input-i8042-add-tuxedo-infinitybook-pro-gen10-amd-to-i8042-quirk-table.patch input-iqs7222-avoid-enabling-unused-interrupts.patch --- ...k-pro-gen10-amd-to-i8042-quirk-table.patch | 46 +++++++++++++++++++ ...222-avoid-enabling-unused-interrupts.patch | 37 +++++++++++++++ queue-6.6/series | 2 + 3 files changed, 85 insertions(+) create mode 100644 queue-6.6/input-i8042-add-tuxedo-infinitybook-pro-gen10-amd-to-i8042-quirk-table.patch create mode 100644 queue-6.6/input-iqs7222-avoid-enabling-unused-interrupts.patch diff --git a/queue-6.6/input-i8042-add-tuxedo-infinitybook-pro-gen10-amd-to-i8042-quirk-table.patch b/queue-6.6/input-i8042-add-tuxedo-infinitybook-pro-gen10-amd-to-i8042-quirk-table.patch new file mode 100644 index 0000000000..89d8404024 --- /dev/null +++ b/queue-6.6/input-i8042-add-tuxedo-infinitybook-pro-gen10-amd-to-i8042-quirk-table.patch @@ -0,0 +1,46 @@ +From 1939a9fcb80353dd8b111aa1e79c691afbde08b4 Mon Sep 17 00:00:00 2001 +From: Christoffer Sandberg +Date: Tue, 26 Aug 2025 16:26:06 +0200 +Subject: Input: i8042 - add TUXEDO InfinityBook Pro Gen10 AMD to i8042 quirk table + +From: Christoffer Sandberg + +commit 1939a9fcb80353dd8b111aa1e79c691afbde08b4 upstream. + +Occasionally wakes up from suspend with missing input on the internal +keyboard. Setting the quirks appears to fix the issue for this device as +well. + +Signed-off-by: Christoffer Sandberg +Signed-off-by: Werner Sembach +Cc: stable@vger.kernel.org +Link: https://lore.kernel.org/r/20250826142646.13516-1-wse@tuxedocomputers.com +Signed-off-by: Dmitry Torokhov +Signed-off-by: Greg Kroah-Hartman +--- + drivers/input/serio/i8042-acpipnpio.h | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +--- a/drivers/input/serio/i8042-acpipnpio.h ++++ b/drivers/input/serio/i8042-acpipnpio.h +@@ -1155,6 +1155,20 @@ static const struct dmi_system_id i8042_ + .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS | + SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) + }, ++ { ++ .matches = { ++ DMI_MATCH(DMI_BOARD_NAME, "XxHP4NAx"), ++ }, ++ .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS | ++ SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) ++ }, ++ { ++ .matches = { ++ DMI_MATCH(DMI_BOARD_NAME, "XxKK4NAx_XxSP4NAx"), ++ }, ++ .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS | ++ SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) ++ }, + /* + * A lot of modern Clevo barebones have touchpad and/or keyboard issues + * after suspend fixable with the forcenorestore quirk. diff --git a/queue-6.6/input-iqs7222-avoid-enabling-unused-interrupts.patch b/queue-6.6/input-iqs7222-avoid-enabling-unused-interrupts.patch new file mode 100644 index 0000000000..568ddc1c89 --- /dev/null +++ b/queue-6.6/input-iqs7222-avoid-enabling-unused-interrupts.patch @@ -0,0 +1,37 @@ +From c9ddc41cdd522f2db5d492eda3df8994d928be34 Mon Sep 17 00:00:00 2001 +From: Jeff LaBundy +Date: Sun, 17 Aug 2025 19:20:22 -0500 +Subject: Input: iqs7222 - avoid enabling unused interrupts + +From: Jeff LaBundy + +commit c9ddc41cdd522f2db5d492eda3df8994d928be34 upstream. + +If a proximity event node is defined so as to specify the wake-up +properties of the touch surface, the proximity event interrupt is +enabled unconditionally. This may result in unwanted interrupts. + +Solve this problem by enabling the interrupt only if the event is +mapped to a key or switch code. + +Signed-off-by: Jeff LaBundy +Link: https://lore.kernel.org/r/aKJxxgEWpNaNcUaW@nixie71 +Cc: stable@vger.kernel.org +Signed-off-by: Dmitry Torokhov +Signed-off-by: Greg Kroah-Hartman +--- + drivers/input/misc/iqs7222.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/drivers/input/misc/iqs7222.c ++++ b/drivers/input/misc/iqs7222.c +@@ -2430,6 +2430,9 @@ static int iqs7222_parse_chan(struct iqs + if (error) + return error; + ++ if (!iqs7222->kp_type[chan_index][i]) ++ continue; ++ + if (!dev_desc->event_offset) + continue; + diff --git a/queue-6.6/series b/queue-6.6/series index 76142e13d3..417a63cda1 100644 --- a/queue-6.6/series +++ b/queue-6.6/series @@ -56,3 +56,5 @@ mm-khugepaged-convert-hpage_collapse_scan_pmd-to-use-folios.patch mm-khugepaged-fix-the-address-passed-to-notifier-on-testing-young.patch cifs-fix-pagecache-leak-when-do-writepages.patch kernfs-fix-uaf-in-polling-when-open-file-is-released.patch +input-iqs7222-avoid-enabling-unused-interrupts.patch +input-i8042-add-tuxedo-infinitybook-pro-gen10-amd-to-i8042-quirk-table.patch -- 2.47.3