]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.6-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Sep 2025 16:35:49 +0000 (18:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Sep 2025 16:35:49 +0000 (18:35 +0200)
added patches:
input-i8042-add-tuxedo-infinitybook-pro-gen10-amd-to-i8042-quirk-table.patch
input-iqs7222-avoid-enabling-unused-interrupts.patch

queue-6.6/input-i8042-add-tuxedo-infinitybook-pro-gen10-amd-to-i8042-quirk-table.patch [new file with mode: 0644]
queue-6.6/input-iqs7222-avoid-enabling-unused-interrupts.patch [new file with mode: 0644]
queue-6.6/series

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 (file)
index 0000000..89d8404
--- /dev/null
@@ -0,0 +1,46 @@
+From 1939a9fcb80353dd8b111aa1e79c691afbde08b4 Mon Sep 17 00:00:00 2001
+From: Christoffer Sandberg <cs@tuxedo.de>
+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 <cs@tuxedo.de>
+
+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 <cs@tuxedo.de>
+Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
+Cc: stable@vger.kernel.org
+Link: https://lore.kernel.org/r/20250826142646.13516-1-wse@tuxedocomputers.com
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ 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 (file)
index 0000000..568ddc1
--- /dev/null
@@ -0,0 +1,37 @@
+From c9ddc41cdd522f2db5d492eda3df8994d928be34 Mon Sep 17 00:00:00 2001
+From: Jeff LaBundy <jeff@labundy.com>
+Date: Sun, 17 Aug 2025 19:20:22 -0500
+Subject: Input: iqs7222 - avoid enabling unused interrupts
+
+From: Jeff LaBundy <jeff@labundy.com>
+
+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 <jeff@labundy.com>
+Link: https://lore.kernel.org/r/aKJxxgEWpNaNcUaW@nixie71
+Cc: stable@vger.kernel.org
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ 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;
index 76142e13d39a05bfd5169d60f36b9dadcd141a58..417a63cda1ae545206169977129b23ec96e6674a 100644 (file)
@@ -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