Update v6.1 patches

Changes:
 - Update IPTS
   - Remove usages of C11 for compatibility with older (Android) kernels
   - Remove sensor reset during shutdown
   - Fix compiling resources.c on Android-x86 kernel
   - Split out HID behaviour for different EDS versions into different
     files
   - Fix kernel-doc comments
   - Add missing docs for members of the device info struct
   - Drop Intel copyright
   - Rename doorbell mode to poll mode
   - Disable the HID interface when the hardware is shutting down
   See https://github.com/linux-surface/kernel/pull/142 for details
 - Rebase onto v6.1.39

Links:
 - kernel: c3c93f10b2
 - IPTS: 56765da3f8
This commit is contained in:
Maximilian Luz 2023-07-21 20:42:59 +02:00
parent bd88c82807
commit 26897a2bb7
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
14 changed files with 1304 additions and 49 deletions

View file

@ -1,4 +1,4 @@
From cb0b2a6ca381cf822c5b9f2b0560fb727110a37e Mon Sep 17 00:00:00 2001
From ad7d754bbad7249436869686ab22a4fd3fb969ff Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Sun, 18 Oct 2020 16:42:44 +0900
Subject: [PATCH] (surface3-oemb) add DMI matches for Surface 3 with broken DMI

View file

@ -1,4 +1,4 @@
From 4f67daf187ec659e53e2b7280a182bd0c8330bd6 Mon Sep 17 00:00:00 2001
From 768db3f72da53f37ca081ac5054683d613f30107 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 3 Nov 2020 13:28:04 +0100
Subject: [PATCH] mwifiex: Add quirk resetting the PCI bridge on MS Surface
@ -165,7 +165,7 @@ index d6ff964aec5b..5d30ae39d65e 100644
--
2.41.0
From e60b07ce034ee3a78c89941736cb66ab36dba544 Mon Sep 17 00:00:00 2001
From 0c587da4e0905ce3ef387582d2fbf4d52915a6d1 Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Sun, 4 Oct 2020 00:11:49 +0900
Subject: [PATCH] mwifiex: pcie: disable bridge_d3 for Surface gen4+
@ -320,7 +320,7 @@ index 5d30ae39d65e..c14eb56eb911 100644
--
2.41.0
From 21f8dda328cc2088c294d17af70fe0e404e93800 Mon Sep 17 00:00:00 2001
From 3a15683fd9b27ae45e843f0057d072728d69c10a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Thu, 25 Mar 2021 11:33:02 +0100
Subject: [PATCH] Bluetooth: btusb: Lower passive lescan interval on Marvell

View file

@ -1,4 +1,4 @@
From ebff70d98972c3dc4c56e90a9b8a1e6697df12a9 Mon Sep 17 00:00:00 2001
From c28b29f1bfc17394be89ac062d5c9d23291b0fca Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 27 Feb 2021 00:45:52 +0100
Subject: [PATCH] ath10k: Add module parameters to override board files
@ -20,7 +20,7 @@ Patchset: ath10k
1 file changed, 58 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index 5eb131ab916f..67f074a126d1 100644
index 6cdb225b7eac..19c036751fb1 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -38,6 +38,9 @@ static bool fw_diag_log;

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
From fd1fe8fe71b5faad00dced22388064a9579ec5ee Mon Sep 17 00:00:00 2001
From 8f8b6c34d91d107ade81b67f1cd63086aeeff3b3 Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Sun, 11 Dec 2022 12:03:38 +0100
Subject: [PATCH] iommu: intel: Disable source id verification for ITHC
@ -39,7 +39,7 @@ index 5962bb5027d0..86fa129d10d4 100644
--
2.41.0
From 94f87e32f911488c398c8383dfc73417a5e79581 Mon Sep 17 00:00:00 2001
From 58d4192dab391bc663de0b3a23e612081a528201 Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Sun, 11 Dec 2022 12:10:54 +0100
Subject: [PATCH] hid: Add support for Intel Touch Host Controller
@ -72,7 +72,7 @@ Patchset: ithc
create mode 100644 drivers/hid/ithc/ithc.h
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 1523ccdf73b5..b7030071ac0c 100644
index af7ab503de74..178e051edb30 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -1292,4 +1292,6 @@ source "drivers/hid/surface-hid/Kconfig"

View file

@ -1,4 +1,4 @@
From 51f685ca15246c04c2a4fc35f936b3110aa51990 Mon Sep 17 00:00:00 2001
From 3bc86ffc0ee10f4d51f4c24de8e996292d0f9ec3 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:20 +0100
Subject: [PATCH] platform/surface: aggregator: Improve documentation and
@ -289,7 +289,7 @@ index 45501b6e54e8..5c4ae1a26183 100644
--
2.41.0
From cc3d857c8eac4e7472464ce29ae702f42919d334 Mon Sep 17 00:00:00 2001
From 5da56c9917db655cc6545655165df7e64e037f89 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:21 +0100
Subject: [PATCH] platform/surface: aggregator: Add target and source IDs to
@ -486,7 +486,7 @@ index 2a2c17771d01..55cc61bba1da 100644
--
2.41.0
From 39d833052dcbdf815e5ea57bece39dd7ff035758 Mon Sep 17 00:00:00 2001
From f5a2edfbd03206cb827470f749ff527c9b61a840 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:22 +0100
Subject: [PATCH] platform/surface: aggregator_hub: Use target-ID enum instead
@ -529,7 +529,7 @@ index 43061514be38..62f27cdb6ca8 100644
--
2.41.0
From da2058ccb30d3c9151c56feebbe8348f85b19719 Mon Sep 17 00:00:00 2001
From 3265681c29a49ebbe5c882eddd4dffded8b435d1 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:23 +0100
Subject: [PATCH] platform/surface: aggregator_tabletsw: Use target-ID enum
@ -581,7 +581,7 @@ index af8b547cffdc..c8ecbdbb516c 100644
--
2.41.0
From a2805a00d5f3fb81ee4c4a6949b2d451810b8583 Mon Sep 17 00:00:00 2001
From d85b9eae02f9370afa8195cd989b23600ccecf45 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:24 +0100
Subject: [PATCH] platform/surface: dtx: Use target-ID enum instead of
@ -679,7 +679,7 @@ index ed36944467f9..0de76a784a35 100644
--
2.41.0
From a8c5d2b863e5e1f9a83b76925b8ef255572829ed Mon Sep 17 00:00:00 2001
From 2008e11821e205d90cb9d6bde0ab80680136754a Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:25 +0100
Subject: [PATCH] HID: surface-hid: Use target-ID enum instead of hard-coding
@ -713,7 +713,7 @@ index 0635341bc517..42933bf3e925 100644
--
2.41.0
From 5df35e4ea48aceacdf5456af7719c3f38ba86e0c Mon Sep 17 00:00:00 2001
From 08c449b24788dcad6ce5c262adb305eea255537c Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:26 +0100
Subject: [PATCH] platform/surface: aggregator: Enforce use of target-ID enum
@ -949,7 +949,7 @@ index 46c45d1b6368..4da20b7a0ee5 100644
--
2.41.0
From 2571e49cb7ec50ea462e8bde8d881bf839d85834 Mon Sep 17 00:00:00 2001
From 75d2753ab7199e36c4551adb7b212f04a03aaa71 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 2 Dec 2022 23:33:27 +0100
Subject: [PATCH] platform/surface: aggregator_registry: Fix target-ID of
@ -1004,7 +1004,7 @@ index 023f126121d7..296f72d52e6a 100644
--
2.41.0
From 4c78a90f99f33416ebe0bc11e22b7bfb5f6d6c33 Mon Sep 17 00:00:00 2001
From dfd62e288c1af34b7faa4c71e1f82cf07f01262a Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 20 Dec 2022 18:56:08 +0100
Subject: [PATCH] platform/surface: aggregator: Rename top-level request
@ -1551,7 +1551,7 @@ index 4da20b7a0ee5..1545e5567b15 100644
--
2.41.0
From b63fe3cb5067037e17935dfa47931216aaaa0961 Mon Sep 17 00:00:00 2001
From 3ebbc28744079afe39890f9636062f8f8fd10b7d Mon Sep 17 00:00:00 2001
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Wed, 18 Jan 2023 11:38:23 +0200
Subject: [PATCH] platform/surface: Switch to use acpi_evaluate_dsm_typed()
@ -1607,7 +1607,7 @@ index f004a2495201..7b6d887dccdb 100644
--
2.41.0
From 3417b7076c52e3802cd1d9f2e7833a9f9aa23efd Mon Sep 17 00:00:00 2001
From b2e67047d26cd57ff279349c145f1b24ae337331 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 4 Mar 2023 20:09:36 +0100
Subject: [PATCH] platform/surface: aggregator_tabletsw: Properly handle
@ -1915,7 +1915,7 @@ index a18e9fc7896b..f9a58db6afde 100644
--
2.41.0
From 8917c24f65bf5528b597721511e6c2deb1c925f2 Mon Sep 17 00:00:00 2001
From 005e7073102ce89bb5cc4eed3cbc58ee295437aa Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 19 Feb 2023 23:33:43 +0100
Subject: [PATCH] platform/surface: aggregator_tabletsw: Add support for
@ -2032,7 +2032,7 @@ index f9a58db6afde..4a029f5db20a 100644
--
2.41.0
From 9c3e07742d2b7685ce48dcbab7e7ab6c39ba99f6 Mon Sep 17 00:00:00 2001
From b1e9a73d1d5e9510262caaa60d430c4d91615f6f Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 19 Feb 2023 23:41:18 +0100
Subject: [PATCH] platform/surface: aggregator_registry: Add support for
@ -2063,7 +2063,7 @@ index 296f72d52e6a..0fe5be539652 100644
--
2.41.0
From 6db814f771605cec3488dabe69f2dbde5ef831a9 Mon Sep 17 00:00:00 2001
From ae340147ffe9d7cecdded8d71828d7399da4669a Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 18 May 2023 22:57:17 +0200
Subject: [PATCH] platform/surface: aggregator_tabletsw: Add support for book

View file

@ -1,4 +1,4 @@
From 76449808e85a0e7aacb9563d22bd13cd9e01d44f Mon Sep 17 00:00:00 2001
From eafd513873f7d4a05c71017d6cd7bfe82c9f7fa4 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 25 Jul 2020 17:19:53 +0200
Subject: [PATCH] i2c: acpi: Implement RawBytes read access
@ -110,7 +110,7 @@ index 4dd777cc0c89..b2338618163a 100644
--
2.41.0
From 8eb031740262efa10ffa10e4aa8d99791c65f65d Mon Sep 17 00:00:00 2001
From 125a51453cd8b4e36ceb3cdcff6ff297beeda26b Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 13 Feb 2021 16:41:18 +0100
Subject: [PATCH] platform/surface: Add driver for Surface Book 1 dGPU switch

View file

@ -1,4 +1,4 @@
From f76cdcc98da8a11c5f013ac78893ac2aef2152dd Mon Sep 17 00:00:00 2001
From 31b3d6c9e393fa470854a63f4c95102f0f883334 Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
Date: Tue, 5 Oct 2021 00:05:09 +1100
Subject: [PATCH] Input: soc_button_array - support AMD variant Surface devices
@ -75,7 +75,7 @@ index e79f5497948b..2bddbe6e9ea4 100644
--
2.41.0
From db6513169eaff8741565f3d01c9a3f8832e153b1 Mon Sep 17 00:00:00 2001
From 35b103c6593b3aff39a0ff80ed9a048c6cd3eded Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
Date: Tue, 5 Oct 2021 00:22:57 +1100
Subject: [PATCH] platform/surface: surfacepro3_button: don't load on amd

View file

@ -1,4 +1,4 @@
From b6784a370e71be072ebf3229c00a60af26c5a5d8 Mon Sep 17 00:00:00 2001
From 7479968b2ab2a37a7a59ed1cecbf8a4846ac48d2 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 18 Feb 2023 01:02:49 +0100
Subject: [PATCH] USB: quirks: Add USB_QUIRK_DELAY_INIT for Surface Go 3
@ -39,7 +39,7 @@ index 934b3d997702..2c6604c6e8e1 100644
--
2.41.0
From a5845e062cd243086ab456feddf10386e887be84 Mon Sep 17 00:00:00 2001
From b6c5c03edbc84c501fc40904b4c8e96900f85caa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Thu, 5 Nov 2020 13:09:45 +0100
Subject: [PATCH] hid/multitouch: Turn off Type Cover keyboard backlight when
@ -272,7 +272,7 @@ index e31be0cb8b85..63fd042aba6b 100644
--
2.41.0
From 6581831e9cc156a52004d38b090c22594a6281ef Mon Sep 17 00:00:00 2001
From e2296fec59641988bf19be20c68a51d67526ca46 Mon Sep 17 00:00:00 2001
From: PJungkamp <p.jungkamp@gmail.com>
Date: Fri, 25 Feb 2022 12:04:25 +0100
Subject: [PATCH] hid/multitouch: Add support for surface pro type cover tablet

View file

@ -1,4 +1,4 @@
From 92d48e902b0bb630c63b61977f5a4b9b444156da Mon Sep 17 00:00:00 2001
From 9636c2ce9321d075cf58f6c8e5d6f2d19cfa6c02 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 19 Feb 2023 22:12:24 +0100
Subject: [PATCH] PCI: Add quirk to prevent calling shutdown mehtod
@ -81,7 +81,7 @@ index ccc90656130a..e74ec9370ac2 100644
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x466d, quirk_no_shutdown); // Thunderbolt 4 NHI
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x46a8, quirk_no_shutdown); // GPU
diff --git a/include/linux/pci.h b/include/linux/pci.h
index d20695184e0b..e0d4ff7f154a 100644
index 9f617ffdb863..ca7dbe7937ae 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -462,6 +462,7 @@ struct pci_dev {

View file

@ -1,4 +1,4 @@
From 94dc5df2568ca4f8988ac05538f89c0b9da773cc Mon Sep 17 00:00:00 2001
From 748f3b37e78a00f45a3c6ce16dc5502cf650cbfb Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 12 Mar 2023 01:41:57 +0100
Subject: [PATCH] platform/surface: gpe: Add support for Surface Pro 9

View file

@ -1,4 +1,4 @@
From 24c31035af26dff751a9db6db2433edb4eb47428 Mon Sep 17 00:00:00 2001
From 282ef58ae2ac98bb008e33cd8e32a41fc4e271b8 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:56:57 +0200
Subject: [PATCH] ACPI: delay enumeration of devices with a _DEP pointing to an
@ -74,7 +74,7 @@ index dbfa58e799e2..ccbd3f8b523e 100644
--
2.41.0
From 56ce4ffffbeadea4b261f33e65a89a2d294661b7 Mon Sep 17 00:00:00 2001
From e0c3a5937b6373d339d04a7efcf459376f8202db Mon Sep 17 00:00:00 2001
From: zouxiaoh <xiaohong.zou@intel.com>
Date: Fri, 25 Jun 2021 08:52:59 +0800
Subject: [PATCH] iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs
@ -191,7 +191,7 @@ index 3965979c7bd4..509cfb9f6695 100644
--
2.41.0
From 766e2f5f9cce2fa906f6695972211d2e3da4c58b Mon Sep 17 00:00:00 2001
From 1ce02aecb40faf7bee26f1fe7032df16e0d18037 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 10 Oct 2021 20:57:02 +0200
Subject: [PATCH] platform/x86: int3472: Enable I2c daisy chain
@ -228,7 +228,7 @@ index 5b8d1a9620a5..6a0ff035cf20 100644
--
2.41.0
From 398581ab76e140f4e86de5e0e78ec86d7c9d3220 Mon Sep 17 00:00:00 2001
From cef4df4c5f839c567d837bbf662f6d6aa17d4b89 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 28 Oct 2021 21:55:16 +0100
Subject: [PATCH] media: i2c: Add driver for DW9719 VCM
@ -732,7 +732,7 @@ index 000000000000..180b04d2a6b3
--
2.41.0
From 8742e7ec9084a47c59e4d4aaacb34b10dc13a8ef Mon Sep 17 00:00:00 2001
From 04cbceb722d9e6ec7e8b715f1a3b17a6ab5d727b Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 4 May 2022 23:21:45 +0100
Subject: [PATCH] media: ipu3-cio2: Move functionality from .complete() to
@ -847,7 +847,7 @@ index 3b76a9d0383a..38f9f4da1922 100644
--
2.41.0
From e9d9e858fb588ac60cb00ec149c9f563bc3063d6 Mon Sep 17 00:00:00 2001
From 37e2500b286aa773d635673cd535a0154b7dbbee Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 2 Jun 2022 22:15:56 +0100
Subject: [PATCH] media: ipu3-cio2: Re-add .complete() to ipu3-cio2
@ -890,7 +890,7 @@ index 38f9f4da1922..82681df7d794 100644
--
2.41.0
From c1de8e80e08057cc1b0c7c19371dbef93f01989b Mon Sep 17 00:00:00 2001
From 7a0c67fdf7297789ab2d599eb9c3a6319df1c74e Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 15 Jul 2022 23:48:00 +0200
Subject: [PATCH] drivers/media/i2c: Fix DW9719 dependencies
@ -919,7 +919,7 @@ index 98d081efeef7..c67966cafe10 100644
--
2.41.0
From c6e57f9af3f26197f532865a8134dc11164ce6ea Mon Sep 17 00:00:00 2001
From b437542014310005c4b8344fa4cf8ff900289715 Mon Sep 17 00:00:00 2001
From: Daniel Scally <dan.scally@ideasonboard.com>
Date: Thu, 2 Mar 2023 12:59:39 +0000
Subject: [PATCH] platform/x86: int3472: Remap reset GPIO for INT347E

View file

@ -1,4 +1,4 @@
From c51aa845500465df525dd2119faf78e36803b7a9 Mon Sep 17 00:00:00 2001
From fc83ee5839b47a5a85d439cd7fe10dcb9367a6b2 Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
Date: Sat, 29 May 2021 17:47:38 +1000
Subject: [PATCH] ACPI: Add quirk for Surface Laptop 4 AMD missing irq 7
@ -65,7 +65,7 @@ index 0f762070a5e1..6362dd452233 100644
--
2.41.0
From 3f92b70f994c491eece179a8d2c2ab3bd6621fa9 Mon Sep 17 00:00:00 2001
From 9ee0c485581ac1292f43c3d663a3bacb5db4ef62 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 3 Jun 2021 14:04:26 +0200
Subject: [PATCH] ACPI: Add AMD 13" Surface Laptop 4 model to irq 7 override

View file

@ -1,4 +1,4 @@
From 9c90e7d9c8885448b70ad8f9b3e0b89b6b99717a Mon Sep 17 00:00:00 2001
From 04c1330f1197369d71c3e46f31351d32c1e10bbe Mon Sep 17 00:00:00 2001
From: "Bart Groeneveld | GPX Solutions B.V" <bart@gpxbv.nl>
Date: Mon, 5 Dec 2022 16:08:46 +0100
Subject: [PATCH] acpi: allow usage of acpi_tad on HW-reduced platforms