Skip to content

Commit ed33cd1

Browse files
chore: autopublish 2025-04-20T00:53:45Z
1 parent 93efb1b commit ed33cd1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+9462
-260
lines changed

sys-kernel/surface-sources/files/6.13-fedora/0001-secureboot.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 94ade6781f154dfd06900517a4c18d20aad64c70 Mon Sep 17 00:00:00 2001
1+
From 7c9810fb3e614eba177052a3d4ed949de0c1a75e Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <luzmaximilian@gmail.com>
33
Date: Sun, 9 Jun 2024 19:48:58 +0200
44
Subject: [PATCH] Revert "efi/x86: Set the PE/COFF header's NX compat flag
@@ -33,9 +33,9 @@ index b5c79f43359b..a1bbedd989e4 100644
3333
.long 0 # SizeOfStackReserve
3434
.long 0 # SizeOfStackCommit
3535
--
36-
2.48.1
36+
2.49.0
3737

38-
From 2bb6335216913bc247e2bc41f1ea2ff0a8981a4a Mon Sep 17 00:00:00 2001
38+
From 6ff310318f3a73e852625038b146dabe81501c34 Mon Sep 17 00:00:00 2001
3939
From: "J. Eduardo" <j.eduardo@gmail.com>
4040
Date: Sun, 25 Aug 2024 14:17:45 +0200
4141
Subject: [PATCH] PM: hibernate: Add a lockdown_hibernate parameter
@@ -108,5 +108,5 @@ index 10a01af63a80..e53e4a86e4cc 100644
108108
__setup("nohibernate", nohibernate_setup);
109109
+__setup("lockdown_hibernate", lockdown_hibernate_setup);
110110
--
111-
2.48.1
111+
2.49.0
112112

sys-kernel/surface-sources/files/6.13-fedora/0002-surface3.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 5e29598180e78ed9adbe88731ce2bbc9affb0ccc Mon Sep 17 00:00:00 2001
1+
From 481ba7958a7d0ae882d6a4ccbf47fa326acde51c Mon Sep 17 00:00:00 2001
22
From: Tsuchiya Yuto <kitakar@gmail.com>
33
Date: Sun, 18 Oct 2020 16:42:44 +0900
44
Subject: [PATCH] (surface3-oemb) add DMI matches for Surface 3 with broken DMI
@@ -97,9 +97,9 @@ index e4c3492a0c28..0b930c91bccb 100644
9797
};
9898

9999
--
100-
2.48.1
100+
2.49.0
101101

102-
From cd79bb7fed2cd0269d368cc4dea3194564262883 Mon Sep 17 00:00:00 2001
102+
From 2e5a1e90796ecbf74d851f179aeebd327da00f07 Mon Sep 17 00:00:00 2001
103103
From: kitakar5525 <34676735+kitakar5525@users.noreply.github.com>
104104
Date: Fri, 6 Dec 2019 23:10:30 +0900
105105
Subject: [PATCH] surface3-spi: workaround: disable DMA mode to avoid crash by
@@ -230,5 +230,5 @@ index 6074b7730e86..6aa3e1d6f160 100644
230230
}
231231

232232
--
233-
2.48.1
233+
2.49.0
234234

sys-kernel/surface-sources/files/6.13-fedora/0003-mwifiex.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From c428669fce7eca5a597c0e7b0072e930f4895819 Mon Sep 17 00:00:00 2001
1+
From c4e6fa29a9f4a4a09a618574a8ecf7efa1e051fd Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
33
Date: Tue, 3 Nov 2020 13:28:04 +0100
44
Subject: [PATCH] mwifiex: Add quirk resetting the PCI bridge on MS Surface
@@ -163,9 +163,9 @@ index d6ff964aec5b..5d30ae39d65e 100644
163163
void mwifiex_initialize_quirks(struct pcie_service_card *card);
164164
int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev);
165165
--
166-
2.48.1
166+
2.49.0
167167

168-
From 72f5a2ee698b9d344ea097930f2a0b7b617951d7 Mon Sep 17 00:00:00 2001
168+
From 1b3a3a96870f12d3d7001335039530e93b8bac36 Mon Sep 17 00:00:00 2001
169169
From: Tsuchiya Yuto <kitakar@gmail.com>
170170
Date: Sun, 4 Oct 2020 00:11:49 +0900
171171
Subject: [PATCH] mwifiex: pcie: disable bridge_d3 for Surface gen4+
@@ -318,9 +318,9 @@ index 5d30ae39d65e..c14eb56eb911 100644
318318
void mwifiex_initialize_quirks(struct pcie_service_card *card);
319319
int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev);
320320
--
321-
2.48.1
321+
2.49.0
322322

323-
From 964b1e54a083db2d78ba2352f706d297ed8b13c4 Mon Sep 17 00:00:00 2001
323+
From 517f11111b957f8e90dc9488a6bad4faf0fcec88 Mon Sep 17 00:00:00 2001
324324
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
325325
Date: Thu, 25 Mar 2021 11:33:02 +0100
326326
Subject: [PATCH] Bluetooth: btusb: Lower passive lescan interval on Marvell
@@ -356,7 +356,7 @@ Patchset: mwifiex
356356
1 file changed, 15 insertions(+)
357357

358358
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
359-
index 72e85673b709..110c983dfd53 100644
359+
index 75dbe07e07e2..fd0f1aa5eaa9 100644
360360
--- a/drivers/bluetooth/btusb.c
361361
+++ b/drivers/bluetooth/btusb.c
362362
@@ -65,6 +65,7 @@ static struct usb_driver btusb_driver;
@@ -375,7 +375,7 @@ index 72e85673b709..110c983dfd53 100644
375375

376376
/* Intel Bluetooth devices */
377377
{ USB_DEVICE(0x8087, 0x0025), .driver_info = BTUSB_INTEL_COMBINED },
378-
@@ -3869,6 +3871,19 @@ static int btusb_probe(struct usb_interface *intf,
378+
@@ -3870,6 +3872,19 @@ static int btusb_probe(struct usb_interface *intf,
379379
if (id->driver_info & BTUSB_MARVELL)
380380
hdev->set_bdaddr = btusb_set_bdaddr_marvell;
381381

@@ -396,5 +396,5 @@ index 72e85673b709..110c983dfd53 100644
396396
(id->driver_info & BTUSB_MEDIATEK)) {
397397
hdev->setup = btusb_mtk_setup;
398398
--
399-
2.48.1
399+
2.49.0
400400

sys-kernel/surface-sources/files/6.13-fedora/0004-ath10k.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From d8bf22111250427ec82a7918528346c714d39e24 Mon Sep 17 00:00:00 2001
1+
From 139fca7bcfd8aaa876636ff7c50f319028027073 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <luzmaximilian@gmail.com>
33
Date: Sat, 27 Feb 2021 00:45:52 +0100
44
Subject: [PATCH] ath10k: Add module parameters to override board files
@@ -116,5 +116,5 @@ index b3294287bce1..2936fdae823c 100644
116116
snprintf(filename, sizeof(filename), "%s/%s/%s",
117117
dir, ar->board_name, file);
118118
--
119-
2.48.1
119+
2.49.0
120120

sys-kernel/surface-sources/files/6.13-fedora/0005-ipts.patch

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 6b36fb0eff720194a680dd6d66fee5c47acff46c Mon Sep 17 00:00:00 2001
1+
From a7b5a85b385d7beabbb4f01f8bd2bcfcfcdffb4e Mon Sep 17 00:00:00 2001
22
From: Dorian Stoll <dorian.stoll@tmsp.io>
33
Date: Thu, 30 Jul 2020 13:21:53 +0200
44
Subject: [PATCH] mei: me: Add Icelake device ID for iTouch
@@ -11,7 +11,7 @@ Patchset: ipts
1111
2 files changed, 2 insertions(+)
1212

1313
diff --git a/drivers/misc/mei/hw-me-regs.h b/drivers/misc/mei/hw-me-regs.h
14-
index c3a6657dcd4a..82eef2f4eb0a 100644
14+
index a5f88ec97df7..e379dc2373b5 100644
1515
--- a/drivers/misc/mei/hw-me-regs.h
1616
+++ b/drivers/misc/mei/hw-me-regs.h
1717
@@ -92,6 +92,7 @@
@@ -23,7 +23,7 @@ index c3a6657dcd4a..82eef2f4eb0a 100644
2323

2424
#define MEI_DEV_ID_JSP_N 0x4DE0 /* Jasper Lake Point N */
2525
diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c
26-
index 6589635f8ba3..a1df48a434e2 100644
26+
index d6ff9d82ae94..a1b714505f43 100644
2727
--- a/drivers/misc/mei/pci-me.c
2828
+++ b/drivers/misc/mei/pci-me.c
2929
@@ -97,6 +97,7 @@ static const struct pci_device_id mei_me_pci_tbl[] = {
@@ -35,9 +35,9 @@ index 6589635f8ba3..a1df48a434e2 100644
3535

3636
{MEI_PCI_DEVICE(MEI_DEV_ID_TGP_LP, MEI_ME_PCH15_CFG)},
3737
--
38-
2.48.1
38+
2.49.0
3939

40-
From 468c032c6956af12d83aa0c7d86e2fd1a47221f3 Mon Sep 17 00:00:00 2001
40+
From 139a811cea8c408bc37e58b26cd593853f3efa64 Mon Sep 17 00:00:00 2001
4141
From: Liban Hannan <liban.p@gmail.com>
4242
Date: Tue, 12 Apr 2022 23:31:12 +0100
4343
Subject: [PATCH] iommu: Use IOMMU passthrough mode for IPTS
@@ -142,9 +142,9 @@ index 9ab5371c3538..1839a831a89f 100644
142142
{
143143
if (risky_device(dev))
144144
--
145-
2.48.1
145+
2.49.0
146146

147-
From 3e0542848e2fc70847d83533e082ab9cbc46d711 Mon Sep 17 00:00:00 2001
147+
From 7e49c5f2dce59ad34df0a3a9d01d17bf2e30771f Mon Sep 17 00:00:00 2001
148148
From: Dorian Stoll <dorian.stoll@tmsp.io>
149149
Date: Sun, 11 Dec 2022 12:00:59 +0100
150150
Subject: [PATCH] hid: Add support for Intel Precise Touch and Stylus
@@ -211,21 +211,21 @@ Patchset: ipts
211211
create mode 100644 drivers/hid/ipts/thread.h
212212

213213
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
214-
index c57927529f8a..9aabcf4241c6 100644
214+
index b7e010c384ba..d36a55e58598 100644
215215
--- a/drivers/hid/Kconfig
216216
+++ b/drivers/hid/Kconfig
217-
@@ -1388,4 +1388,6 @@ source "drivers/hid/surface-hid/Kconfig"
217+
@@ -1389,4 +1389,6 @@ source "drivers/hid/surface-hid/Kconfig"
218218

219219
source "drivers/hid/intel-thc-hid/Kconfig"
220220

221221
+source "drivers/hid/ipts/Kconfig"
222222
+
223223
endif # HID_SUPPORT
224224
diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
225-
index 482b096eea28..2024681e72fb 100644
225+
index 0abfe51704a0..c86c9e80d225 100644
226226
--- a/drivers/hid/Makefile
227227
+++ b/drivers/hid/Makefile
228-
@@ -173,3 +173,5 @@ obj-$(CONFIG_AMD_SFH_HID) += amd-sfh-hid/
228+
@@ -172,3 +172,5 @@ obj-$(CONFIG_AMD_SFH_HID) += amd-sfh-hid/
229229
obj-$(CONFIG_SURFACE_HID_CORE) += surface-hid/
230230

231231
obj-$(CONFIG_INTEL_THC_HID) += intel-thc-hid/
@@ -3237,5 +3237,5 @@ index 000000000000..1f966b8b32c4
32373237
+
32383238
+#endif /* IPTS_THREAD_H */
32393239
--
3240-
2.48.1
3240+
2.49.0
32413241

sys-kernel/surface-sources/files/6.13-fedora/0006-ithc.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From acb1100081559166a23b76a7151b958f0b43a740 Mon Sep 17 00:00:00 2001
1+
From 7dbcb0c475dacbbaec0ae72c3c74c8d3087109e6 Mon Sep 17 00:00:00 2001
22
From: Dorian Stoll <dorian.stoll@tmsp.io>
33
Date: Sun, 11 Dec 2022 12:03:38 +0100
44
Subject: [PATCH] iommu: intel: Disable source id verification for ITHC
@@ -37,9 +37,9 @@ index 466c1412dd45..565686813588 100644
3737
* DMA alias provides us with a PCI device and alias. The only case
3838
* where the it will return an alias on a different bus than the
3939
--
40-
2.48.1
40+
2.49.0
4141

42-
From 860404c8e0c0789f6dcc29cb82ff913a9276bd63 Mon Sep 17 00:00:00 2001
42+
From 9af03ac81e7098a54bf697e915d5a4163fba65bd Mon Sep 17 00:00:00 2001
4343
From: quo <tuple@list.ru>
4444
Date: Sun, 11 Dec 2022 12:10:54 +0100
4545
Subject: [PATCH] hid: Add support for Intel Touch Host Controller
@@ -86,21 +86,21 @@ Patchset: ithc
8686
create mode 100644 drivers/hid/ithc/ithc.h
8787

8888
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
89-
index 9aabcf4241c6..f7ee006bff6d 100644
89+
index d36a55e58598..ff709b2cb72b 100644
9090
--- a/drivers/hid/Kconfig
9191
+++ b/drivers/hid/Kconfig
92-
@@ -1390,4 +1390,6 @@ source "drivers/hid/intel-thc-hid/Kconfig"
92+
@@ -1391,4 +1391,6 @@ source "drivers/hid/intel-thc-hid/Kconfig"
9393

9494
source "drivers/hid/ipts/Kconfig"
9595

9696
+source "drivers/hid/ithc/Kconfig"
9797
+
9898
endif # HID_SUPPORT
9999
diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
100-
index 2024681e72fb..f5dcee37fe8a 100644
100+
index c86c9e80d225..046eb5fd8017 100644
101101
--- a/drivers/hid/Makefile
102102
+++ b/drivers/hid/Makefile
103-
@@ -175,3 +175,4 @@ obj-$(CONFIG_SURFACE_HID_CORE) += surface-hid/
103+
@@ -174,3 +174,4 @@ obj-$(CONFIG_SURFACE_HID_CORE) += surface-hid/
104104
obj-$(CONFIG_INTEL_THC_HID) += intel-thc-hid/
105105

106106
obj-$(CONFIG_HID_IPTS) += ipts/
@@ -2767,5 +2767,5 @@ index 000000000000..aec320d4e945
27672767
+int ithc_reset(struct ithc *ithc);
27682768
+
27692769
--
2770-
2.48.1
2770+
2.49.0
27712771

sys-kernel/surface-sources/files/6.13-fedora/0007-surface-sam.patch

Lines changed: 30 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,4 @@
1-
From 1c5d9203a4fc782d1934187ccb6e454a6a110b9c Mon Sep 17 00:00:00 2001
2-
From: Lukas <lukas.hetzenecker@gmail.com>
3-
Date: Sat, 8 Mar 2025 22:00:46 +0100
4-
Subject: [PATCH] platform/surface: aggregator_registry: Add support for
5-
Surface Pro 11
6-
7-
Add Support for the Surface Pro 11. As the SAM clients are equivalent to
8-
the Surface Pro 9, reuse its nodes.
9-
10-
Patchset: surface-sam
11-
---
12-
drivers/platform/surface/surface_aggregator_registry.c | 5 ++++-
13-
1 file changed, 4 insertions(+), 1 deletion(-)
14-
15-
diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
16-
index d4f32ad66530..08b4ef382fab 100644
17-
--- a/drivers/platform/surface/surface_aggregator_registry.c
18-
+++ b/drivers/platform/surface/surface_aggregator_registry.c
19-
@@ -371,7 +371,7 @@ static const struct software_node *ssam_node_group_sp8[] = {
20-
NULL,
21-
};
22-
23-
-/* Devices for Surface Pro 9 (Intel/x86) and 10 */
24-
+/* Devices for Surface Pro 9 (Intel/x86), 10 and 11 */
25-
static const struct software_node *ssam_node_group_sp9[] = {
26-
&ssam_node_root,
27-
&ssam_node_hub_kip,
28-
@@ -430,6 +430,9 @@ static const struct acpi_device_id ssam_platform_hub_acpi_match[] = {
29-
/* Surface Pro 10 */
30-
{ "MSHW0510", (unsigned long)ssam_node_group_sp9 },
31-
32-
+ /* Surface Pro 11 */
33-
+ { "MSHW0583", (unsigned long)ssam_node_group_sp9 },
34-
+
35-
/* Surface Book 2 */
36-
{ "MSHW0107", (unsigned long)ssam_node_group_gen5 },
37-
38-
--
39-
2.48.1
40-
41-
From 6250d3bbd6a70dbbbb44856314facc9649f3784c Mon Sep 17 00:00:00 2001
1+
From a0fe196b68e1a7fc549f760b547aee3ca1dea10c Mon Sep 17 00:00:00 2001
422
From: Maximilian Luz <luzmaximilian@gmail.com>
433
Date: Fri, 17 Jun 2022 02:14:00 +0200
444
Subject: [PATCH] rtc: Add basic support for RTC via Surface System Aggregator
@@ -219,5 +179,33 @@ index 000000000000..f6c17c4e98d5
219179
+MODULE_DESCRIPTION("RTC driver for Surface System Aggregator Module");
220180
+MODULE_LICENSE("GPL");
221181
--
222-
2.48.1
182+
2.49.0
183+
184+
From 92d3a8b58b89ed089e53517d1774f5670f7af4ab Mon Sep 17 00:00:00 2001
185+
From: Maximilian Luz <luzmaximilian@gmail.com>
186+
Date: Sun, 20 Apr 2025 01:05:14 +0200
187+
Subject: [PATCH] platform/surface: aggregator_registry: Add Surface Laptop 7
188+
(ACPI)
189+
190+
Patchset: surface-sam
191+
---
192+
drivers/platform/surface/surface_aggregator_registry.c | 3 +++
193+
1 file changed, 3 insertions(+)
194+
195+
diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
196+
index a594d5fcfcfd..07b03aa4fa7f 100644
197+
--- a/drivers/platform/surface/surface_aggregator_registry.c
198+
+++ b/drivers/platform/surface/surface_aggregator_registry.c
199+
@@ -460,6 +460,9 @@ static const struct acpi_device_id ssam_platform_hub_acpi_match[] = {
200+
/* Surface Laptop 6 */
201+
{ "MSHW0530", (unsigned long)ssam_node_group_sl6 },
202+
203+
+ /* Surface Laptop 7 */
204+
+ { "MSHW0551", (unsigned long)ssam_node_group_sl7 },
205+
+
206+
/* Surface Laptop Go 1 */
207+
{ "MSHW0118", (unsigned long)ssam_node_group_slg1 },
208+
209+
--
210+
2.49.0
223211

sys-kernel/surface-sources/files/6.13-fedora/0008-surface-sam-over-hid.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 801aead8a7443382f7c4c5ffea712cfda1ad102c Mon Sep 17 00:00:00 2001
1+
From f98ac023ab5b5b71124de89e18fe82bc425de93e Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <luzmaximilian@gmail.com>
33
Date: Sat, 25 Jul 2020 17:19:53 +0200
44
Subject: [PATCH] i2c: acpi: Implement RawBytes read access
@@ -107,9 +107,9 @@ index d2499f302b50..77ce5ec3dd9e 100644
107107
dev_warn(&adapter->dev, "protocol 0x%02x not supported for client 0x%02x\n",
108108
accessor_type, client->addr);
109109
--
110-
2.48.1
110+
2.49.0
111111

112-
From f849b992c262e89b05810602390e41da0e9f185d Mon Sep 17 00:00:00 2001
112+
From 9bdc6328ce24cd5f739761d2b0c4db257e7378fb Mon Sep 17 00:00:00 2001
113113
From: Maximilian Luz <luzmaximilian@gmail.com>
114114
Date: Sat, 13 Feb 2021 16:41:18 +0100
115115
Subject: [PATCH] platform/surface: Add driver for Surface Book 1 dGPU switch
@@ -304,5 +304,5 @@ index 000000000000..68db237734a1
304304
+MODULE_DESCRIPTION("Discrete GPU Power-Switch for Surface Book 1");
305305
+MODULE_LICENSE("GPL");
306306
--
307-
2.48.1
307+
2.49.0
308308

sys-kernel/surface-sources/files/6.13-fedora/0009-surface-button.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 5259336f8461ac0b8d0e625b614d61274e70be09 Mon Sep 17 00:00:00 2001
1+
From 5f9bc92e987765bd9439c5dd720dad422db3e5c9 Mon Sep 17 00:00:00 2001
22
From: Sachi King <nakato@nakato.io>
33
Date: Tue, 5 Oct 2021 00:05:09 +1100
44
Subject: [PATCH] Input: soc_button_array - support AMD variant Surface devices
@@ -73,9 +73,9 @@ index b8cad415c62c..43b5d56383e3 100644
7373

7474
/*
7575
--
76-
2.48.1
76+
2.49.0
7777

78-
From 50d8655cc723db3b6462bfbc4c711694da923ae6 Mon Sep 17 00:00:00 2001
78+
From 7ed80ee3276381056a25b279e75996aec50d9be0 Mon Sep 17 00:00:00 2001
7979
From: Sachi King <nakato@nakato.io>
8080
Date: Tue, 5 Oct 2021 00:22:57 +1100
8181
Subject: [PATCH] platform/surface: surfacepro3_button: don't load on amd
@@ -145,5 +145,5 @@ index 2755601f979c..4240c98ca226 100644
145145

146146

147147
--
148-
2.48.1
148+
2.49.0
149149

0 commit comments

Comments
 (0)