Update v6.1 patches

Changes:
 - Update IPTS driver:
   - Fix redefinition error on AOSP clang
   - Increase the polling frequency to reduce latency
   - Don't allocate a new buffer for every HID report
   - Always use the generic HID driver instead of forcing hid-multitouch
 - Rebase onto v6.1.26

Links:
 - kernel: 57b33dd1d3
This commit is contained in:
Maximilian Luz 2023-04-28 19:01:45 +02:00
parent 829928f78a
commit 179849da38
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
14 changed files with 278 additions and 86 deletions

View file

@ -1,4 +1,4 @@
From d7074cfd3b578b9b5fde5626c96a14681f671cff Mon Sep 17 00:00:00 2001
From e0244e32c1107af1351f51f22f1f59decc6831f1 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
@ -97,5 +97,5 @@ index 6beb00858c33f..d82d77387a0a6 100644
};
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From d200247425eff88aa2000fca6be4b9fad9c5d0d6 Mon Sep 17 00:00:00 2001
From 2722f56289b5d13c09627243a0a1fe3c4afbe57f 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
@ -163,9 +163,9 @@ index d6ff964aec5bf..5d30ae39d65ec 100644
void mwifiex_initialize_quirks(struct pcie_service_card *card);
int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev);
--
2.40.0
2.40.1
From bd19db0c0a28e307ad7cafc89d2d6b111df6a8d2 Mon Sep 17 00:00:00 2001
From 1707fbf76b401a79705c4774245b9d19c44f5671 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+
@ -318,9 +318,9 @@ index 5d30ae39d65ec..c14eb56eb9118 100644
void mwifiex_initialize_quirks(struct pcie_service_card *card);
int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev);
--
2.40.0
2.40.1
From e506514f36cd03350bbdc14da53541685a14727e Mon Sep 17 00:00:00 2001
From 316e5ab897d4478b87cb85ed5c14f756223409d8 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
@ -396,5 +396,5 @@ index 90b85dcb138df..fc356234d02a7 100644
(id->driver_info & BTUSB_MEDIATEK)) {
hdev->setup = btusb_mtk_setup;
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From 23b2454db7da466c3388f6c1d6f7d998a7528f68 Mon Sep 17 00:00:00 2001
From 74957f72b27493ddf172e7d8dcd63ec2914ea334 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
@ -117,5 +117,5 @@ index 5eb131ab916fd..67f074a126d1f 100644
ret = firmware_request_nowarn(&fw, filename, ar->dev);
ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot fw request '%s': %d\n",
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From d71356f0e8252996fda27e4a03664da90efc577f Mon Sep 17 00:00:00 2001
From 8ba654f7567c8ca06612be2e9e13cdfc411bca1b Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Thu, 30 Jul 2020 13:21:53 +0200
Subject: [PATCH] misc: mei: Add missing IPTS device IDs
@ -34,9 +34,9 @@ index 5bf0d50d55a00..c13864512229f 100644
{MEI_PCI_DEVICE(MEI_DEV_ID_TGP_LP, MEI_ME_PCH15_CFG)},
--
2.40.0
2.40.1
From 9775c66b44195a467fdaf96c5b71c5fc31391cdd Mon Sep 17 00:00:00 2001
From 2b766dc35214fb33650cf5ba0ad170dd27d69624 Mon Sep 17 00:00:00 2001
From: Liban Hannan <liban.p@gmail.com>
Date: Tue, 12 Apr 2022 23:31:12 +0100
Subject: [PATCH] iommu: ipts: use IOMMU passthrough mode for IPTS
@ -134,9 +134,9 @@ index d4b5d20bd6dda..3965979c7bd41 100644
{
if (risky_device(dev))
--
2.40.0
2.40.1
From ea88c1babdb7cc5e158f59dd95e3d4ab994f3dd5 Mon Sep 17 00:00:00 2001
From 44eddfd2fd4e7d69e3b9a8d8453e0b94ff29c787 Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Sun, 11 Dec 2022 12:00:59 +0100
Subject: [PATCH] hid: Add support for Intel Precise Touch and Stylus
@ -2984,5 +2984,197 @@ index 0000000000000..a314843599fc3
+
+#endif /* IPTS_THREAD_H */
--
2.40.0
2.40.1
From 47448c1cadd082840ccb3a7932c3fe34bd919777 Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Fri, 28 Apr 2023 15:41:12 +0200
Subject: [PATCH] Update IPTS from module repo
Changes:
* Fix redefinition error on AOSP clang
* Increase the polling frequency to reduce latency
* Don't allocate a new buffer for every HID report
* Always use the generic HID driver instead of forcing hid-multitouch
Based on https://github.com/linux-surface/intel-precise-touch/commit/a2b675d72dbde80ebe36a5b6ceaebd596c030314
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
Patchset: ipts
---
drivers/hid/ipts/hid.c | 15 +++++----------
drivers/hid/ipts/receiver.c | 2 +-
drivers/hid/ipts/resources.c | 35 +++++++++++++++++++++++++++++++----
drivers/hid/ipts/resources.h | 3 +++
4 files changed, 40 insertions(+), 15 deletions(-)
diff --git a/drivers/hid/ipts/hid.c b/drivers/hid/ipts/hid.c
index 6782394e8dde3..a2471219615bc 100644
--- a/drivers/hid/ipts/hid.c
+++ b/drivers/hid/ipts/hid.c
@@ -237,7 +237,6 @@ static struct hid_ll_driver ipts_hid_driver = {
int ipts_hid_input_data(struct ipts_context *ipts, u32 buffer)
{
- int ret = 0;
u8 *temp = NULL;
struct ipts_hid_header *frame = NULL;
struct ipts_data_header *header = NULL;
@@ -250,6 +249,9 @@ int ipts_hid_input_data(struct ipts_context *ipts, u32 buffer)
header = (struct ipts_data_header *)ipts->resources.data[buffer].address;
+ temp = ipts->resources.report.address;
+ memset(temp, 0, ipts->resources.report.size);
+
if (!header)
return -EFAULT;
@@ -273,10 +275,6 @@ int ipts_hid_input_data(struct ipts_context *ipts, u32 buffer)
if (header->size + 3 + sizeof(struct ipts_hid_header) > IPTS_HID_REPORT_DATA_SIZE)
return -ERANGE;
- temp = kzalloc(IPTS_HID_REPORT_DATA_SIZE, GFP_KERNEL);
- if (!temp)
- return -ENOMEM;
-
/*
* Synthesize a HID report matching the devices that natively send HID reports
*/
@@ -288,10 +286,7 @@ int ipts_hid_input_data(struct ipts_context *ipts, u32 buffer)
memcpy(frame->data, header->data, header->size);
- ret = hid_input_report(ipts->hid, HID_INPUT_REPORT, temp, IPTS_HID_REPORT_DATA_SIZE, 1);
- kfree(temp);
-
- return ret;
+ return hid_input_report(ipts->hid, HID_INPUT_REPORT, temp, IPTS_HID_REPORT_DATA_SIZE, 1);
}
int ipts_hid_init(struct ipts_context *ipts, struct ipts_device_info info)
@@ -318,7 +313,7 @@ int ipts_hid_init(struct ipts_context *ipts, struct ipts_device_info info)
ipts->hid->vendor = info.vendor;
ipts->hid->product = info.product;
- ipts->hid->group = HID_GROUP_MULTITOUCH;
+ ipts->hid->group = HID_GROUP_GENERIC;
snprintf(ipts->hid->name, sizeof(ipts->hid->name), "IPTS %04X:%04X", info.vendor,
info.product);
diff --git a/drivers/hid/ipts/receiver.c b/drivers/hid/ipts/receiver.c
index 77234f9e0e178..f56e9ed32d579 100644
--- a/drivers/hid/ipts/receiver.c
+++ b/drivers/hid/ipts/receiver.c
@@ -42,7 +42,7 @@ static void ipts_receiver_backoff(time64_t last, u32 n)
* n seconds, sleep longer to avoid wasting CPU cycles.
*/
if (last + n > ktime_get_seconds())
- msleep(20);
+ usleep_range(1 * USEC_PER_MSEC, 5 * USEC_PER_MSEC);
else
msleep(200);
}
diff --git a/drivers/hid/ipts/resources.c b/drivers/hid/ipts/resources.c
index 80ba5885bb55d..5e924d58c4880 100644
--- a/drivers/hid/ipts/resources.c
+++ b/drivers/hid/ipts/resources.c
@@ -9,6 +9,7 @@
#include <linux/dma-mapping.h>
#include <linux/types.h>
+#include "desc.h"
#include "resources.h"
#include "spec-device.h"
@@ -49,16 +50,22 @@ int ipts_resources_init(struct ipts_resources *res, struct device *dev, size_t d
{
int ret = 0;
+ /*
+ * Some compilers (AOSP clang) complain about a redefined
+ * variable when this is declared inside of the for loop.
+ */
+ int i = 0;
+
if (!res)
return -EFAULT;
- for (int i = 0; i < IPTS_BUFFERS; i++) {
+ for (i = 0; i < IPTS_BUFFERS; i++) {
ret = ipts_resources_alloc_buffer(&res->data[i], dev, ds);
if (ret)
goto err;
}
- for (int i = 0; i < IPTS_BUFFERS; i++) {
+ for (i = 0; i < IPTS_BUFFERS; i++) {
ret = ipts_resources_alloc_buffer(&res->feedback[i], dev, fs);
if (ret)
goto err;
@@ -80,6 +87,16 @@ int ipts_resources_init(struct ipts_resources *res, struct device *dev, size_t d
if (ret)
goto err;
+ if (!res->report.address) {
+ res->report.size = IPTS_HID_REPORT_DATA_SIZE;
+ res->report.address = kzalloc(res->report.size, GFP_KERNEL);
+
+ if (!res->report.address) {
+ ret = -ENOMEM;
+ goto err;
+ }
+ }
+
return 0;
err:
@@ -90,13 +107,19 @@ int ipts_resources_init(struct ipts_resources *res, struct device *dev, size_t d
int ipts_resources_free(struct ipts_resources *res)
{
+ /*
+ * Some compilers (AOSP clang) complain about a redefined
+ * variable when this is declared inside of the for loop.
+ */
+ int i = 0;
+
if (!res)
return -EFAULT;
- for (int i = 0; i < IPTS_BUFFERS; i++)
+ for (i = 0; i < IPTS_BUFFERS; i++)
ipts_resources_free_buffer(&res->data[i]);
- for (int i = 0; i < IPTS_BUFFERS; i++)
+ for (i = 0; i < IPTS_BUFFERS; i++)
ipts_resources_free_buffer(&res->feedback[i]);
ipts_resources_free_buffer(&res->doorbell);
@@ -104,5 +127,9 @@ int ipts_resources_free(struct ipts_resources *res)
ipts_resources_free_buffer(&res->hid2me);
ipts_resources_free_buffer(&res->descriptor);
+ kfree(res->report.address);
+ res->report.address = NULL;
+ res->report.size = 0;
+
return 0;
}
diff --git a/drivers/hid/ipts/resources.h b/drivers/hid/ipts/resources.h
index 6cbb24a8a0543..e0c400f420b93 100644
--- a/drivers/hid/ipts/resources.h
+++ b/drivers/hid/ipts/resources.h
@@ -31,6 +31,9 @@ struct ipts_resources {
struct ipts_buffer hid2me;
struct ipts_buffer descriptor;
+
+ // Buffer for synthesizing HID reports
+ struct ipts_buffer report;
};
int ipts_resources_init(struct ipts_resources *res, struct device *dev, size_t ds, size_t fs);
--
2.40.1

View file

@ -1,4 +1,4 @@
From 45884c3c0d1b57830c71cf332395bb897814d95a Mon Sep 17 00:00:00 2001
From f2f9291482092e8717e16c71abe00899a93b29b7 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
@ -37,9 +37,9 @@ index 5962bb5027d06..86fa129d10d40 100644
* DMA alias provides us with a PCI device and alias. The only case
* where the it will return an alias on a different bus than the
--
2.40.0
2.40.1
From 1000205166a5a74cb2aae7a18fcc61993447e421 Mon Sep 17 00:00:00 2001
From fe12ca41bb15bec55041cc09360642e20d6e5e40 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
@ -1429,5 +1429,5 @@ index 0000000000000..6a9b0d480bc15
+void ithc_log_regs(struct ithc *ithc);
+
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From be7c763306ec11bd69922d70fe56a068d86f39ba Mon Sep 17 00:00:00 2001
From f1e5790f35c449ef7f2d58a593c8885e1e4e7593 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
@ -287,9 +287,9 @@ index 45501b6e54e8a..5c4ae1a261831 100644
* Known SSH/EC target categories.
*
--
2.40.0
2.40.1
From 4bb65f60e7bd6dea4ac0e2dd979d8117345f54ae Mon Sep 17 00:00:00 2001
From 00be15cfa408d197fa4a67497f77b1b9a219a6ca 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
@ -484,9 +484,9 @@ index 2a2c17771d014..55cc61bba1da6 100644
ssam_show_generic_u8_field(__entry->cid),
ssam_show_generic_u8_field(__entry->iid),
--
2.40.0
2.40.1
From 80b7e2579184c039c41f88573ad34e402ca08118 Mon Sep 17 00:00:00 2001
From 52565050eff2b59ace90d991359302113b080b3a 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
@ -527,9 +527,9 @@ index 43061514be382..62f27cdb6ca8f 100644
.instance_id = 0x00,
});
--
2.40.0
2.40.1
From a8e092205ee7d316b98a3cd1d4999a33e2a2431b Mon Sep 17 00:00:00 2001
From 4ef206d30a18ce369acadc096ea1063fa84630fa 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
@ -579,9 +579,9 @@ index 27d95a6a78513..bd8cd453c393a 100644
.instance_id = 0x00,
});
--
2.40.0
2.40.1
From 6e899d46da3a05902f98da569973cf94584d3e39 Mon Sep 17 00:00:00 2001
From 1ca8947bd038449af9fdd517ef0e24581e50bc61 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
@ -677,9 +677,9 @@ index ed36944467f9f..0de76a784a35f 100644
.instance_id = 0x00,
});
--
2.40.0
2.40.1
From 83e34e987fe997407be294aff0bb952b7226a60e Mon Sep 17 00:00:00 2001
From 9e90d7de897a66212be2f1748e43ace637e18d7a 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
@ -711,9 +711,9 @@ index 0635341bc5174..42933bf3e925f 100644
shid->uid.function = 0;
--
2.40.0
2.40.1
From e3a2da543452e33ec5a0088a76b5a2af5a5fdf11 Mon Sep 17 00:00:00 2001
From c22230e331fa008cc04df609626e7ad9e5c78e52 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
@ -947,9 +947,9 @@ index 46c45d1b63682..4da20b7a0ee5e 100644
/*
* enum ssam_device_flags - Flags for SSAM client devices.
--
2.40.0
2.40.1
From 1ce313ad4fa450d52b56e7946be15638f8bfd5bd Mon Sep 17 00:00:00 2001
From c2e31f0f140b36da8bf7a357ae0d0890471dbe15 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
@ -1002,9 +1002,9 @@ index 023f126121d7d..296f72d52e6a6 100644
};
--
2.40.0
2.40.1
From 565651c3b277e3e060ba2cfe0d193d4ce3675d92 Mon Sep 17 00:00:00 2001
From 0d0eaddaa93ba99588edb9d81090b7a9f27522cb 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
@ -1549,9 +1549,9 @@ index 4da20b7a0ee5e..1545e5567b152 100644
*/
#define SSAM_DEFINE_SYNC_REQUEST_CL_WR(name, atype, rtype, spec...) \
--
2.40.0
2.40.1
From bbe92be30123673dd724efea7a2c11e2b7387fa3 Mon Sep 17 00:00:00 2001
From 57cd850cc4e731b1aef940e223316e65d611f687 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()
@ -1605,9 +1605,9 @@ index f004a24952013..7b6d887dccdbf 100644
static irqreturn_t shps_handle_irq(int irq, void *data)
--
2.40.0
2.40.1
From 840a8a1342023717503e816e7012d05dfe83f70b Mon Sep 17 00:00:00 2001
From f826bda5f17474bb8dcfb44d6728812df3259034 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
@ -1913,9 +1913,9 @@ index 9fed800c7cc09..e8682f52558f3 100644
}
--
2.40.0
2.40.1
From 5e4ad04311e4a4103bd0545a3dbd08e075633bb4 Mon Sep 17 00:00:00 2001
From 4d23c1fa6e6125a9882cae320fea417cfb43ac19 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
@ -2030,9 +2030,9 @@ index e8682f52558f3..8f52b62d1c195 100644
return ssam_pos_state_is_tablet_mode_sls(sw, state->state);
--
2.40.0
2.40.1
From aa61195058f8f0fdaef0fb384719c7d829c93e52 Mon Sep 17 00:00:00 2001
From a85b1bb1e3eeff3dafa8a6e33b9d251556220267 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
@ -2061,5 +2061,5 @@ index 296f72d52e6a6..0fe5be5396525 100644
&ssam_node_hid_kip_penstash,
&ssam_node_hid_kip_touchpad,
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From 2207fe6636cce71640b35d2ba1d7118135c0d81e Mon Sep 17 00:00:00 2001
From cab9a818777de3a58fb1ecf538a8a66e3657ddd5 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
@ -108,9 +108,9 @@ index 4dd777cc0c89f..b2338618163ad 100644
dev_warn(&adapter->dev, "protocol 0x%02x not supported for client 0x%02x\n",
accessor_type, client->addr);
--
2.40.0
2.40.1
From 34f9527cf925b831734341c100a0705b5c680830 Mon Sep 17 00:00:00 2001
From 811263c8d33534c5458018bf41c0951d7d19d782 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
@ -331,5 +331,5 @@ index 0000000000000..8b816ed8f35c6
+MODULE_DESCRIPTION("Discrete GPU Power-Switch for Surface Book 1");
+MODULE_LICENSE("GPL");
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From dfd5fca49dc08ae2a086fcd1eaaba3a3eadd9d4f Mon Sep 17 00:00:00 2001
From 0f476c2b62e3aa7b47388b4eada7e9ac1a7b50f4 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
@ -73,9 +73,9 @@ index 09489380afda7..0f02411a60f1c 100644
/*
--
2.40.0
2.40.1
From 0bd01cca9ef4648b4c109cf164a229173d7b8f60 Mon Sep 17 00:00:00 2001
From 647ccbeb672c5c07dabf6395bcc793840d0905d0 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
@ -145,5 +145,5 @@ index 242fb690dcaf7..30eea54dbb477 100644
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From b4a8da6ddda50c368ad79ed6ce08c55c7d336d40 Mon Sep 17 00:00:00 2001
From 061c60a093696a8647f6777586c6f181c380ce9a 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
@ -37,9 +37,9 @@ index 934b3d997702e..2c6604c6e8e12 100644
{ USB_DEVICE(0x046a, 0x0023), .driver_info = USB_QUIRK_RESET_RESUME },
--
2.40.0
2.40.1
From 7e8975dfa4d855ad2e7981804849a8965e31147d Mon Sep 17 00:00:00 2001
From 1a0f5e96686233433cb879efe051a9e2da47b7d5 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
@ -270,9 +270,9 @@ index e31be0cb8b850..63fd042aba6ba 100644
{ .driver_data = MT_CLS_GOOGLE,
HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY, USB_VENDOR_ID_GOOGLE,
--
2.40.0
2.40.1
From 5d5f1d3fdd5ff7b64e350f9da53958aa0e402af8 Mon Sep 17 00:00:00 2001
From 3a59920e13cfa5f2fd866ee6bd44c92d08c60071 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
@ -570,5 +570,5 @@ index 63fd042aba6ba..508a250ff4bf1 100644
unregister_pm_notifier(&td->pm_notifier);
del_timer_sync(&td->release_timer);
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From 81fa3b925176fda9337abf773469aa5f7552e244 Mon Sep 17 00:00:00 2001
From aa1edb625cb00d424e2866a6cfeda1e6630aaa6b 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
@ -93,5 +93,5 @@ index d20695184e0b9..e0d4ff7f154a9 100644
atomic_t enable_cnt; /* pci_enable_device has been called */
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From 445717822e51154f8a9e6d01ec477e8dfe1a5b9c Mon Sep 17 00:00:00 2001
From f55ce4be4e60d3ed86a63dddef4ecfa96f390170 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
@ -47,5 +47,5 @@ index c219b840d491a..69c4352e8406b 100644
.ident = "Surface Book 1",
.matches = {
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From 11d06af739f8e27c58d827eba5063c1284a3f84f Mon Sep 17 00:00:00 2001
From 473907e7cdddc7f94901cc92fcbd0c8fcf9677a7 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
@ -72,9 +72,9 @@ index dbfa58e799e28..ccbd3f8b523e8 100644
* Do not enumerate devices with enumeration_by_parent flag set as
* they will be enumerated by their respective parents.
--
2.40.0
2.40.1
From e5a9990659fa35e456e8146977ffd55ea6f3506d Mon Sep 17 00:00:00 2001
From 46898406a30304ea0a561677eddedb9acc801dc7 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
@ -189,9 +189,9 @@ index 3965979c7bd41..509cfb9f66954 100644
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x9D3E, quirk_iommu_ipts);
--
2.40.0
2.40.1
From d8839d508f578fa4ba3651f70ab7f93c1d3de220 Mon Sep 17 00:00:00 2001
From 0876d062fefef08de138a49b8541b6dc39be7fce 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
@ -226,9 +226,9 @@ index 5b8d1a9620a5d..6a0ff035cf209 100644
return 0;
--
2.40.0
2.40.1
From 5f7efd666f937de524558195af7932e55832c109 Mon Sep 17 00:00:00 2001
From d406dac3f3fe604706f7ded9e10ffae32584181f 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
@ -730,9 +730,9 @@ index 0000000000000..180b04d2a6b3a
+MODULE_DESCRIPTION("DW9719 VCM Driver");
+MODULE_LICENSE("GPL");
--
2.40.0
2.40.1
From 64005ad3498e078e1bb077f3d184ede18ea7f088 Mon Sep 17 00:00:00 2001
From 26d73355babdda2b3dfae53c25fe3ce907032157 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
@ -845,9 +845,9 @@ index 3b76a9d0383a8..38f9f4da1922e 100644
static int cio2_parse_firmware(struct cio2_device *cio2)
--
2.40.0
2.40.1
From e7afa308db9bade1a1f75a2d457e33120775734e Mon Sep 17 00:00:00 2001
From bacc0cba90a4e313703708558b28742f43badae5 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
@ -888,9 +888,9 @@ index 38f9f4da1922e..82681df7d794f 100644
static int cio2_parse_firmware(struct cio2_device *cio2)
--
2.40.0
2.40.1
From c25c6e361ca86344bd0953bd999dd6d33d16fe99 Mon Sep 17 00:00:00 2001
From c4bef8c5da1d4a1e5d2f66f95c6f047393b34081 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
@ -917,9 +917,9 @@ index 98d081efeef7f..c67966cafe109 100644
select VIDEO_V4L2_SUBDEV_API
select V4L2_ASYNC
--
2.40.0
2.40.1
From 6bea7f65a7889258ceaac23311a59fa2ffef7739 Mon Sep 17 00:00:00 2001
From 87643f14d085c5f96399a852d17f31e0056b3c21 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
@ -973,5 +973,5 @@ index c42c3faa2c32d..6f4b8e24eb56c 100644
if (!func)
return 0;
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From 46c6626c4823bb6ff2048e90af949b14ba56e568 Mon Sep 17 00:00:00 2001
From 79777b9ffd65e483db8d1d74d1b8755193f4e921 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
@ -63,9 +63,9 @@ index 0f762070a5e10..6362dd4522337 100644
mp_config_acpi_legacy_irqs();
--
2.40.0
2.40.1
From 6b9a70371cb0a3e4606b23adaef299226680f0b5 Mon Sep 17 00:00:00 2001
From 1db479ae594c3ddf7803c3afc9022e70685d3164 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
@ -105,5 +105,5 @@ index 6362dd4522337..8a092c2c6fa86 100644
};
--
2.40.0
2.40.1

View file

@ -1,4 +1,4 @@
From 7c0acc4982e75f78968dc95a55efa1c9e51600df Mon Sep 17 00:00:00 2001
From ba9be09a25245a5826c4d824ec84d10eac0aa620 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
@ -105,5 +105,5 @@ index e9b8e8305e23e..944276934e7ec 100644
ret = sysfs_create_group(&dev->kobj, &acpi_tad_dc_attr_group);
if (ret)
--
2.40.0
2.40.1