From 8faa2eca31f53088ed6ccccecc3174f96d62cbac Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 16 May 2022 21:57:53 +0200 Subject: [PATCH] Update v5.17 patches Changes: - Add support for tablet-mode switch for Surface Pro typecovers (@PJungkamp, PR: https://github.com/linux-surface/kernel/pull/125). Links: - kernel: https://github.com/linux-surface/kernel/commit/97587f24854172fbea536fe3d3991470b44fd8d0 --- patches/5.17/0001-surface3-oemb.patch | 4 +- patches/5.17/0002-mwifiex.patch | 24 +- patches/5.17/0003-ath10k.patch | 4 +- patches/5.17/0004-ipts.patch | 36 +-- patches/5.17/0005-surface-sam.patch | 48 +-- patches/5.17/0006-surface-sam-over-hid.patch | 8 +- patches/5.17/0007-surface-gpe.patch | 4 +- patches/5.17/0008-surface-button.patch | 16 +- patches/5.17/0009-surface-typecover.patch | 304 ++++++++++++++++++- patches/5.17/0010-surface-battery.patch | 4 +- patches/5.17/0011-cameras.patch | 36 +-- patches/5.17/0012-amd-gpio.patch | 8 +- pkg/arch/kernel/PKGBUILD | 24 +- 13 files changed, 410 insertions(+), 110 deletions(-) diff --git a/patches/5.17/0001-surface3-oemb.patch b/patches/5.17/0001-surface3-oemb.patch index 433e4d978..eab7c72a7 100644 --- a/patches/5.17/0001-surface3-oemb.patch +++ b/patches/5.17/0001-surface3-oemb.patch @@ -1,4 +1,4 @@ -From d000e23ad0a00685750e998b23da24b3a636f613 Mon Sep 17 00:00:00 2001 +From ab3cf5956cb42d85e1d683e40ba9a7e65cdc0d3c Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto 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 c60a5e8e7bc9..e947133a2c36 100644 }; -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0002-mwifiex.patch b/patches/5.17/0002-mwifiex.patch index 7a30db597..bb465c118 100644 --- a/patches/5.17/0002-mwifiex.patch +++ b/patches/5.17/0002-mwifiex.patch @@ -1,4 +1,4 @@ -From 8c5963aa3f41e7fdb8aa9cf1abae28e9a36f5258 Mon Sep 17 00:00:00 2001 +From 64202a02564117e9b755fada551e52fbca7c6ad6 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Tue, 29 Sep 2020 17:32:22 +0900 Subject: [PATCH] mwifiex: pcie: add reset_wsid quirk for Surface 3 @@ -181,9 +181,9 @@ index 8ec4176d698f..25370c5a4f59 100644 int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev); +int mwifiex_pcie_reset_wsid_quirk(struct pci_dev *pdev); -- -2.36.0 +2.36.1 -From 7be0e5333127b5ebd6f1a0c073592d1a281315bf Mon Sep 17 00:00:00 2001 +From 6c4b332c571a9549c669e33593fc33e2857fe9c2 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Wed, 30 Sep 2020 18:08:24 +0900 Subject: [PATCH] mwifiex: pcie: (OEMB) add quirk for Surface 3 with broken DMI @@ -243,9 +243,9 @@ index 563dd0d5ac79..32e2f000e57b 100644 }; -- -2.36.0 +2.36.1 -From 228c01fcb37debfe06f7121a9516c5029f30de60 Mon Sep 17 00:00:00 2001 +From 3f8851f15a581361c9d9f754ec6cdd61b9fb7482 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Sun, 4 Oct 2020 00:11:49 +0900 Subject: [PATCH] mwifiex: pcie: disable bridge_d3 for Surface gen4+ @@ -398,9 +398,9 @@ index 25370c5a4f59..a1de111ad1db 100644 void mwifiex_initialize_quirks(struct pcie_service_card *card); int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev); -- -2.36.0 +2.36.1 -From 267e273d149ed6991a356fc3f1a0b0577cce1073 Mon Sep 17 00:00:00 2001 +From a018459a97fb908a8a8dad68cf9aa590c3906ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Tue, 3 Nov 2020 13:28:04 +0100 Subject: [PATCH] mwifiex: Add quirk resetting the PCI bridge on MS Surface @@ -565,9 +565,9 @@ index a1de111ad1db..0e429779bb04 100644 void mwifiex_initialize_quirks(struct pcie_service_card *card); int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev); -- -2.36.0 +2.36.1 -From c5239e4f3e9051b5b620a3b38d0b30554f938cf5 Mon Sep 17 00:00:00 2001 +From 1c2eb6887e0b6083873235c84e76064c2d11a92a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Thu, 25 Mar 2021 11:33:02 +0100 Subject: [PATCH] Bluetooth: btusb: Lower passive lescan interval on Marvell @@ -643,9 +643,9 @@ index 42234d5f602d..72202a744564 100644 (id->driver_info & BTUSB_MEDIATEK)) { hdev->setup = btusb_mtk_setup; -- -2.36.0 +2.36.1 -From d05d237fa3dd7e1700fe16f0cf66a246558bf963 Mon Sep 17 00:00:00 2001 +From fab12336aec2d01fa54360116f7c4d5b2d386b4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Tue, 10 Nov 2020 12:49:56 +0100 Subject: [PATCH] mwifiex: Use non-posted PCI register writes @@ -700,5 +700,5 @@ index 24bcd22a2618..b4ad0113a035 100644 } -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0003-ath10k.patch b/patches/5.17/0003-ath10k.patch index cb1291c9c..c1ffee1ac 100644 --- a/patches/5.17/0003-ath10k.patch +++ b/patches/5.17/0003-ath10k.patch @@ -1,4 +1,4 @@ -From de0f6735235b12d9fea51afc6b200c418844b4b8 Mon Sep 17 00:00:00 2001 +From 896a491d6dc5b3788255ad869137e96464c8ec32 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 27 Feb 2021 00:45:52 +0100 Subject: [PATCH] ath10k: Add module parameters to override board files @@ -117,5 +117,5 @@ index 8f5b8eb368fa..80c1bac732bc 100644 ret = firmware_request_nowarn(&fw, filename, ar->dev); ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot fw request '%s': %d\n", -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0004-ipts.patch b/patches/5.17/0004-ipts.patch index dde384c86..9e8b679e4 100644 --- a/patches/5.17/0004-ipts.patch +++ b/patches/5.17/0004-ipts.patch @@ -1,4 +1,4 @@ -From f2bdca52ada4e85c15bef954b2b1d6fa08b4a03d Mon Sep 17 00:00:00 2001 +From 04b2ff1b78b0f36536bad0e3e193951d5028d2e9 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Thu, 30 Jul 2020 13:21:53 +0200 Subject: [PATCH] misc: mei: Add missing IPTS device IDs @@ -34,9 +34,9 @@ index a738253dbd05..4e1c3fe09e53 100644 {MEI_PCI_DEVICE(MEI_DEV_ID_TGP_LP, MEI_ME_PCH15_CFG)}, -- -2.36.0 +2.36.1 -From e4f85a6d94569543f49e169e6be300dcd4ba4b4a Mon Sep 17 00:00:00 2001 +From 2cff5747cece8b1537ee34e96d2a94ff5909c9f0 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Thu, 6 Aug 2020 11:20:41 +0200 Subject: [PATCH] misc: Add support for Intel Precise Touch & Stylus @@ -1499,9 +1499,9 @@ index 000000000000..53fb86a88f97 + +#endif /* _IPTS_UAPI_H_ */ -- -2.36.0 +2.36.1 -From d79798adb4d71ffda9c991f958ae788db12b7fa8 Mon Sep 17 00:00:00 2001 +From 729bc1af3979f4826b11db82d5353a5f85971d3e Mon Sep 17 00:00:00 2001 From: zouxiaoh Date: Fri, 25 Jun 2021 08:52:59 +0800 Subject: [PATCH] iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs @@ -1527,7 +1527,7 @@ Patchset: ipts 1 file changed, 29 insertions(+) diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c -index 5b196cfe9ed2..a5fc95dbb06d 100644 +index ab2273300346..c1c0b111e512 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -57,6 +57,12 @@ @@ -1558,7 +1558,7 @@ index 5b196cfe9ed2..a5fc95dbb06d 100644 int intel_iommu_gfx_mapped; EXPORT_SYMBOL_GPL(intel_iommu_gfx_mapped); -@@ -2966,6 +2974,9 @@ static int device_def_domain_type(struct device *dev) +@@ -2987,6 +2995,9 @@ static int device_def_domain_type(struct device *dev) if ((iommu_identity_mapping & IDENTMAP_GFX) && IS_GFX_DEVICE(pdev)) return IOMMU_DOMAIN_IDENTITY; @@ -1568,7 +1568,7 @@ index 5b196cfe9ed2..a5fc95dbb06d 100644 } return 0; -@@ -3402,6 +3413,9 @@ static int __init init_dmars(void) +@@ -3423,6 +3434,9 @@ static int __init init_dmars(void) if (!dmar_map_gfx) iommu_identity_mapping |= IDENTMAP_GFX; @@ -1578,7 +1578,7 @@ index 5b196cfe9ed2..a5fc95dbb06d 100644 check_tylersburg_isoch(); ret = si_domain_init(hw_pass_through); -@@ -5643,6 +5657,18 @@ static void quirk_iommu_igfx(struct pci_dev *dev) +@@ -5664,6 +5678,18 @@ static void quirk_iommu_igfx(struct pci_dev *dev) dmar_map_gfx = 0; } @@ -1597,7 +1597,7 @@ index 5b196cfe9ed2..a5fc95dbb06d 100644 /* G4x/GM45 integrated gfx dmar support is totally busted. */ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_igfx); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e00, quirk_iommu_igfx); -@@ -5678,6 +5704,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1632, quirk_iommu_igfx); +@@ -5699,6 +5725,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1632, quirk_iommu_igfx); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163A, quirk_iommu_igfx); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163D, quirk_iommu_igfx); @@ -1608,9 +1608,9 @@ index 5b196cfe9ed2..a5fc95dbb06d 100644 { if (risky_device(dev)) -- -2.36.0 +2.36.1 -From f42a783b6ec917558cd33b1dfd65c2de3ecfde65 Mon Sep 17 00:00:00 2001 +From 8e0d67470adea3b5f4cd744fa863292c8835f641 Mon Sep 17 00:00:00 2001 From: Liban Hannan Date: Tue, 12 Apr 2022 23:31:12 +0100 Subject: [PATCH] iommu: ipts: use IOMMU passthrough mode for IPTS @@ -1632,7 +1632,7 @@ Patchset: ipts 1 file changed, 24 insertions(+) diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c -index a5fc95dbb06d..b3f6213048fd 100644 +index c1c0b111e512..4d28bcc35dfb 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -63,6 +63,8 @@ @@ -1660,7 +1660,7 @@ index a5fc95dbb06d..b3f6213048fd 100644 int intel_iommu_gfx_mapped; EXPORT_SYMBOL_GPL(intel_iommu_gfx_mapped); -@@ -2977,6 +2981,9 @@ static int device_def_domain_type(struct device *dev) +@@ -2998,6 +3002,9 @@ static int device_def_domain_type(struct device *dev) if ((iommu_identity_mapping & IDENTMAP_IPU) && IS_INTEL_IPU(pdev)) return IOMMU_DOMAIN_IDENTITY; @@ -1670,7 +1670,7 @@ index a5fc95dbb06d..b3f6213048fd 100644 } return 0; -@@ -3416,6 +3423,9 @@ static int __init init_dmars(void) +@@ -3437,6 +3444,9 @@ static int __init init_dmars(void) if (!dmar_map_ipu) iommu_identity_mapping |= IDENTMAP_IPU; @@ -1680,7 +1680,7 @@ index a5fc95dbb06d..b3f6213048fd 100644 check_tylersburg_isoch(); ret = si_domain_init(hw_pass_through); -@@ -5669,6 +5679,17 @@ static void quirk_iommu_ipu(struct pci_dev *dev) +@@ -5690,6 +5700,17 @@ static void quirk_iommu_ipu(struct pci_dev *dev) dmar_map_ipu = 0; } @@ -1698,7 +1698,7 @@ index a5fc95dbb06d..b3f6213048fd 100644 /* G4x/GM45 integrated gfx dmar support is totally busted. */ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_igfx); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e00, quirk_iommu_igfx); -@@ -5707,6 +5728,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163D, quirk_iommu_igfx); +@@ -5728,6 +5749,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163D, quirk_iommu_igfx); /* disable IPU dmar support */ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_ANY_ID, quirk_iommu_ipu); @@ -1709,5 +1709,5 @@ index a5fc95dbb06d..b3f6213048fd 100644 { if (risky_device(dev)) -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0005-surface-sam.patch b/patches/5.17/0005-surface-sam.patch index 19dda3ea7..a18e8c5f7 100644 --- a/patches/5.17/0005-surface-sam.patch +++ b/patches/5.17/0005-surface-sam.patch @@ -1,4 +1,4 @@ -From 00d3f4cffd80269b24fa25939d8bbac2e0536524 Mon Sep 17 00:00:00 2001 +From 24a2d0b99f537bd3c26335856e5047a33b7b7c2b Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 00:24:47 +0200 Subject: [PATCH] platform/surface: aggregator: Allow devices to be marked as @@ -117,9 +117,9 @@ index cc257097eb05..491aa7e9f4bc 100644 * ssam_device_get() - Increment reference count of SSAM client device. * @sdev: The device to increment the reference count of. -- -2.36.0 +2.36.1 -From 495bbba942257acc0892bb6c4ce5d09aa086c314 Mon Sep 17 00:00:00 2001 +From 8ec6aef5a985ff47041d4794ce20a1f8d4b4ff5f Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 00:48:22 +0200 Subject: [PATCH] platform/surface: aggregator: Allow notifiers to avoid @@ -404,9 +404,9 @@ index 491aa7e9f4bc..16816c34da3e 100644 + #endif /* _LINUX_SURFACE_AGGREGATOR_DEVICE_H */ -- -2.36.0 +2.36.1 -From e1d5f7e9cbc68f580ca6ecdbabd08ba930811cee Mon Sep 17 00:00:00 2001 +From 34e52633b436be42a9333fe03c1cba712a759255 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 01:20:49 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Use client device @@ -453,9 +453,9 @@ index ce2bd88feeaa..9f630e890ff7 100644 ssam_remove_clients(&sdev->dev); } -- -2.36.0 +2.36.1 -From 74eb9b767fd8be1ef6982918137e5d89b28eb61f Mon Sep 17 00:00:00 2001 +From dfbcd4904a557cbcc007874b26ea2267c413a991 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 28 Oct 2021 03:37:06 +0200 Subject: [PATCH] power/supply: surface_charger: Use client device wrappers for @@ -493,9 +493,9 @@ index a060c36c7766..59182d55742d 100644 static const struct spwr_psy_properties spwr_psy_props_adp1 = { -- -2.36.0 +2.36.1 -From f01bfa451a11c294f1ceb55e99556d528a3e1b93 Mon Sep 17 00:00:00 2001 +From a3a15c293f96f985db8de3d88332839fedf91a20 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 28 Oct 2021 03:38:09 +0200 Subject: [PATCH] power/supply: surface_battery: Use client device wrappers for @@ -533,9 +533,9 @@ index 5ec2e6bb2465..540707882bb0 100644 } -- -2.36.0 +2.36.1 -From 14f1357286128b7e6be3d8405e6ffee9ab5a8d64 Mon Sep 17 00:00:00 2001 +From b22e0c5a9872fdf1516e902b935ea448ee71df91 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 01:33:02 +0200 Subject: [PATCH] HID: surface-hid: Add support for hot-removal @@ -644,9 +644,9 @@ index e46330b2e561..87637f813de2 100644 return shid->ops.output_report(shid, reportnum, buf, len); -- -2.36.0 +2.36.1 -From 995ea86ebc23247bb4c70744add70654b1db7832 Mon Sep 17 00:00:00 2001 +From 7b741eed3120686af7cfb2bb40c9824a75ae9d25 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 31 Oct 2021 12:34:08 +0100 Subject: [PATCH] platform/surface: aggregator: Add comment for KIP subsystem @@ -682,9 +682,9 @@ index c3de43edcffa..d1efac85caf1 100644 SSAM_SSH_TC_BLD = 0x10, SSAM_SSH_TC_BAS = 0x11, /* Detachment system (Surface Book 2/3). */ -- -2.36.0 +2.36.1 -From 37fe46bc50ae8bc110375ae3e70111b0975780e5 Mon Sep 17 00:00:00 2001 +From aa99d51c2a05b4317803f0e3b96e2e0638e5dbc3 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 29 Apr 2022 22:42:32 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Generify subsystem hub @@ -1035,9 +1035,9 @@ index 9f630e890ff7..fadfaf4eb6e9 100644 }; -- -2.36.0 +2.36.1 -From 29878abe6a5fd9abb177ca66d5ba618336f3bd1a Mon Sep 17 00:00:00 2001 +From 9d5768e95d8b922b49bc528cdafd002de6453011 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 29 Apr 2022 23:02:06 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add KIP device hub @@ -1205,9 +1205,9 @@ index fadfaf4eb6e9..eb4b55516d3f 100644 platform_driver_unregister(&ssam_platform_hub_driver); } -- -2.36.0 +2.36.1 -From 0187e4c74438246925c820e32486fcac043d1bb7 Mon Sep 17 00:00:00 2001 +From 60f0ad9b2b9ebbb677cff4b1eb9a8454029960e1 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 27 Oct 2021 22:33:03 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add support for @@ -1303,9 +1303,9 @@ index eb4b55516d3f..ebe8e78cdfef 100644 }; -- -2.36.0 +2.36.1 -From 820556ab9ff756017b68df7a28c685b869f0b36e Mon Sep 17 00:00:00 2001 +From 8c0356478f21ee69c1b70afa289d9875b9efe5cb Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 8 Jun 2021 03:19:20 +0200 Subject: [PATCH] platform/surface: Add KIP tablet-mode switch @@ -1647,9 +1647,9 @@ index 000000000000..458470067579 +MODULE_DESCRIPTION("Tablet mode switch driver for Surface devices using KIP subsystem"); +MODULE_LICENSE("GPL"); -- -2.36.0 +2.36.1 -From 739e009ec2dcb4bf68f533a2a4b6343b2b02f4ac Mon Sep 17 00:00:00 2001 +From 7962252e89c279cb4f339336329b9209eee88cad Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 27 Oct 2021 22:33:03 +0200 Subject: [PATCH] platform/surface: aggregator_registry: Add support for tablet @@ -1697,5 +1697,5 @@ index ebe8e78cdfef..e9df8420b145 100644 }; -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0006-surface-sam-over-hid.patch b/patches/5.17/0006-surface-sam-over-hid.patch index a16c0f423..f5d97f257 100644 --- a/patches/5.17/0006-surface-sam-over-hid.patch +++ b/patches/5.17/0006-surface-sam-over-hid.patch @@ -1,4 +1,4 @@ -From f7c02d9558fe807a567183979e6b64852ca53602 Mon Sep 17 00:00:00 2001 +From 8d0873dd7c49de7c592fa0dcae40ebabb84f9217 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 25 Jul 2020 17:19:53 +0200 Subject: [PATCH] i2c: acpi: Implement RawBytes read access @@ -108,9 +108,9 @@ index 85ed4c1d4924..942c1c9a4ea5 100644 dev_warn(&adapter->dev, "protocol 0x%02x not supported for client 0x%02x\n", accessor_type, client->addr); -- -2.36.0 +2.36.1 -From 265d020bc0b2f5af38735a62ad53b83681659e48 Mon Sep 17 00:00:00 2001 +From 5992742dd066ad33a1bd7a274b24a1681306151a Mon Sep 17 00:00:00 2001 From: Maximilian Luz 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 000000000000..8b816ed8f35c +MODULE_DESCRIPTION("Discrete GPU Power-Switch for Surface Book 1"); +MODULE_LICENSE("GPL"); -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0007-surface-gpe.patch b/patches/5.17/0007-surface-gpe.patch index 2529570de..2d1de664e 100644 --- a/patches/5.17/0007-surface-gpe.patch +++ b/patches/5.17/0007-surface-gpe.patch @@ -1,4 +1,4 @@ -From 75404c502b1909a3f5776376efcd0821d6781d7c Mon Sep 17 00:00:00 2001 +From e545e04dd39aec84ac1c3d7dcd11fb5399748e59 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Wed, 27 Oct 2021 00:56:11 +0200 Subject: [PATCH] platform/surface: gpe: Add support for Surface Pro 8 @@ -33,5 +33,5 @@ index c1775db29efb..ec66fde28e75 100644 .ident = "Surface Book 1", .matches = { -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0008-surface-button.patch b/patches/5.17/0008-surface-button.patch index 880bc64a4..1f2e33afe 100644 --- a/patches/5.17/0008-surface-button.patch +++ b/patches/5.17/0008-surface-button.patch @@ -1,4 +1,4 @@ -From 6f844d5f788aae1d7ecd8602af78324943f04857 Mon Sep 17 00:00:00 2001 +From c0e0c71b09f1623e3c831335459d984ce7530569 Mon Sep 17 00:00:00 2001 From: Sachi King 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 cb6ec59a045d..4e8944f59def 100644 /* -- -2.36.0 +2.36.1 -From 4cd6811dd4737e4e76ca5b4b3e27b3989505d367 Mon Sep 17 00:00:00 2001 +From c03c5f3ea363be1167c8ede10bce82ae85ed1ca9 Mon Sep 17 00:00:00 2001 From: Sachi King Date: Tue, 5 Oct 2021 00:22:57 +1100 Subject: [PATCH] platform/surface: surfacepro3_button: don't load on amd @@ -145,9 +145,9 @@ index 242fb690dcaf..30eea54dbb47 100644 -- -2.36.0 +2.36.1 -From f4d1d7bf3fe1661a5177fc5cf4e32e2d68243ebd Mon Sep 17 00:00:00 2001 +From 397034348c39ae59b887df497f97a1c21e3a382e Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 24 Feb 2022 12:02:40 +0100 Subject: [PATCH] Input: soc_button_array - add support for Microsoft Surface 3 @@ -248,9 +248,9 @@ index 4e8944f59def..f044c731c6a9 100644 { } -- -2.36.0 +2.36.1 -From 5cd2cbb9a26c3658cc81325a1e0778654d04a2f2 Mon Sep 17 00:00:00 2001 +From 84105fb580bdea48657b0a69a69613e91c5387aa Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 24 Feb 2022 12:02:41 +0100 Subject: [PATCH] platform/surface: Remove Surface 3 Button driver @@ -554,5 +554,5 @@ index 48d77e7aae76..000000000000 -MODULE_DESCRIPTION("surface3 button array driver"); -MODULE_LICENSE("GPL v2"); -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0009-surface-typecover.patch b/patches/5.17/0009-surface-typecover.patch index 7753f14ba..b63a703da 100644 --- a/patches/5.17/0009-surface-typecover.patch +++ b/patches/5.17/0009-surface-typecover.patch @@ -1,4 +1,4 @@ -From 95067cdfc6ec05a73236ffee7c700f3123022457 Mon Sep 17 00:00:00 2001 +From 028af0243326f55e543aec8acd2064762dd86f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Thu, 5 Nov 2020 13:09:45 +0100 Subject: [PATCH] hid/multitouch: Turn off Type Cover keyboard backlight when @@ -229,5 +229,305 @@ index 99eabfb4145b..bbfcae39f375 100644 { .driver_data = MT_CLS_GOOGLE, HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY, USB_VENDOR_ID_GOOGLE, -- -2.36.0 +2.36.1 + +From 521784707c0c412e4855cbbadc56be01f78a2f69 Mon Sep 17 00:00:00 2001 +From: PJungkamp +Date: Fri, 25 Feb 2022 12:04:25 +0100 +Subject: [PATCH] hid/multitouch: Add support for surface pro type cover tablet + switch + +The Surface Pro Type Cover has several non standard HID usages in it's +hid report descriptor. +I noticed that, upon folding the typecover back, a vendor specific range +of 4 32 bit integer hid usages is transmitted. +Only the first byte of the message seems to convey reliable information +about the keyboard state. + +0x22 => Normal (keys enabled) +0x33 => Folded back (keys disabled) +0x53 => Rotated left/right side up (keys disabled) +0x13 => Cover closed (keys disabled) +0x43 => Folded back and Tablet upside down (keys disabled) +This list may not be exhaustive. + +The tablet mode switch will be disabled for a value of 0x22 and enabled +on any other value. + +Patchset: surface-typecover +--- + drivers/hid/hid-multitouch.c | 148 +++++++++++++++++++++++++++++------ + 1 file changed, 122 insertions(+), 26 deletions(-) + +diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c +index bbfcae39f375..d53228452501 100644 +--- a/drivers/hid/hid-multitouch.c ++++ b/drivers/hid/hid-multitouch.c +@@ -76,6 +76,7 @@ MODULE_LICENSE("GPL"); + #define MT_QUIRK_FORCE_MULTI_INPUT BIT(20) + #define MT_QUIRK_DISABLE_WAKEUP BIT(21) + #define MT_QUIRK_HAS_TYPE_COVER_BACKLIGHT BIT(22) ++#define MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH BIT(23) + + #define MT_INPUTMODE_TOUCHSCREEN 0x02 + #define MT_INPUTMODE_TOUCHPAD 0x03 +@@ -83,6 +84,8 @@ MODULE_LICENSE("GPL"); + #define MT_BUTTONTYPE_CLICKPAD 0 + + #define MS_TYPE_COVER_FEATURE_REPORT_USAGE 0xff050086 ++#define MS_TYPE_COVER_TABLET_MODE_SWITCH_USAGE 0xff050072 ++#define MS_TYPE_COVER_APPLICATION 0xff050050 + + enum latency_mode { + HID_LATENCY_NORMAL = 0, +@@ -398,6 +401,7 @@ static const struct mt_class mt_classes[] = { + }, + { .name = MT_CLS_WIN_8_MS_SURFACE_TYPE_COVER, + .quirks = MT_QUIRK_HAS_TYPE_COVER_BACKLIGHT | ++ MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH | + MT_QUIRK_ALWAYS_VALID | + MT_QUIRK_IGNORE_DUPLICATES | + MT_QUIRK_HOVERING | +@@ -1357,6 +1361,9 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, + field->application != HID_CP_CONSUMER_CONTROL && + field->application != HID_GD_WIRELESS_RADIO_CTLS && + field->application != HID_GD_SYSTEM_MULTIAXIS && ++ !(field->application == MS_TYPE_COVER_APPLICATION && ++ application->quirks & MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH && ++ usage->hid == MS_TYPE_COVER_TABLET_MODE_SWITCH_USAGE) && + !(field->application == HID_VD_ASUS_CUSTOM_MEDIA_KEYS && + application->quirks & MT_QUIRK_ASUS_CUSTOM_UP)) + return -1; +@@ -1384,6 +1391,21 @@ static int mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, + return 1; + } + ++ /* ++ * The Microsoft Surface Pro Typecover has a non-standard HID ++ * tablet mode switch on a vendor specific usage page with vendor ++ * specific usage. ++ */ ++ if (field->application == MS_TYPE_COVER_APPLICATION && ++ application->quirks & MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH && ++ usage->hid == MS_TYPE_COVER_TABLET_MODE_SWITCH_USAGE) { ++ usage->type = EV_SW; ++ usage->code = SW_TABLET_MODE; ++ *max = SW_MAX; ++ *bit = hi->input->swbit; ++ return 1; ++ } ++ + if (rdata->is_mt_collection) + return mt_touch_input_mapping(hdev, hi, field, usage, bit, max, + application); +@@ -1405,6 +1427,7 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, + { + struct mt_device *td = hid_get_drvdata(hdev); + struct mt_report_data *rdata; ++ struct input_dev *input; + + rdata = mt_find_report_data(td, field->report); + if (rdata && rdata->is_mt_collection) { +@@ -1412,6 +1435,19 @@ static int mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, + return -1; + } + ++ /* ++ * We own an input device which acts as a tablet mode switch for ++ * the Surface Pro Typecover. ++ */ ++ if (field->application == MS_TYPE_COVER_APPLICATION && ++ rdata->application->quirks & MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH && ++ usage->hid == MS_TYPE_COVER_TABLET_MODE_SWITCH_USAGE) { ++ input = hi->input; ++ input_set_capability(input, EV_SW, SW_TABLET_MODE); ++ input_report_switch(input, SW_TABLET_MODE, 0); ++ return -1; ++ } ++ + /* let hid-core decide for the others */ + return 0; + } +@@ -1421,11 +1457,21 @@ static int mt_event(struct hid_device *hid, struct hid_field *field, + { + struct mt_device *td = hid_get_drvdata(hid); + struct mt_report_data *rdata; ++ struct input_dev *input; + + rdata = mt_find_report_data(td, field->report); + if (rdata && rdata->is_mt_collection) + return mt_touch_event(hid, field, usage, value); + ++ if (field->application == MS_TYPE_COVER_APPLICATION && ++ rdata->application->quirks & MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH && ++ usage->hid == MS_TYPE_COVER_TABLET_MODE_SWITCH_USAGE) { ++ input = field->hidinput->input; ++ input_report_switch(input, SW_TABLET_MODE, (value & 0xFF) != 0x22); ++ input_sync(input); ++ return 1; ++ } ++ + return 0; + } + +@@ -1578,6 +1624,42 @@ static void mt_post_parse(struct mt_device *td, struct mt_application *app) + app->quirks &= ~MT_QUIRK_CONTACT_CNT_ACCURATE; + } + ++static int get_type_cover_field(struct hid_report_enum *rep_enum, ++ struct hid_field **field, int usage) ++{ ++ struct hid_report *rep; ++ struct hid_field *cur_field; ++ int i, j; ++ ++ list_for_each_entry(rep, &rep_enum->report_list, list) { ++ for (i = 0; i < rep->maxfield; i++) { ++ cur_field = rep->field[i]; ++ if (cur_field->application != MS_TYPE_COVER_APPLICATION) ++ continue; ++ for (j = 0; j < cur_field->maxusage; j++) { ++ if (cur_field->usage[j].hid == usage) { ++ *field = cur_field; ++ return true; ++ } ++ } ++ } ++ } ++ return false; ++} ++ ++static void request_type_cover_tablet_mode_switch(struct hid_device *hdev) ++{ ++ struct hid_field *field; ++ ++ if (get_type_cover_field(&hdev->report_enum[HID_INPUT_REPORT], ++ &field, ++ MS_TYPE_COVER_TABLET_MODE_SWITCH_USAGE)) { ++ hid_hw_request(hdev, field->report, HID_REQ_GET_REPORT); ++ } else { ++ hid_err(hdev, "couldn't find tablet mode field\n"); ++ } ++} ++ + static int mt_input_configured(struct hid_device *hdev, struct hid_input *hi) + { + struct mt_device *td = hid_get_drvdata(hdev); +@@ -1627,6 +1709,13 @@ static int mt_input_configured(struct hid_device *hdev, struct hid_input *hi) + /* force BTN_STYLUS to allow tablet matching in udev */ + __set_bit(BTN_STYLUS, hi->input->keybit); + break; ++ case MS_TYPE_COVER_APPLICATION: ++ if (td->mtclass.quirks & MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH) { ++ suffix = "Tablet Mode Switch"; ++ request_type_cover_tablet_mode_switch(hdev); ++ break; ++ } ++ fallthrough; + default: + suffix = "UNKNOWN"; + break; +@@ -1715,30 +1804,6 @@ static void mt_expired_timeout(struct timer_list *t) + clear_bit(MT_IO_FLAGS_RUNNING, &td->mt_io_flags); + } + +-static void get_type_cover_backlight_field(struct hid_device *hdev, +- struct hid_field **field) +-{ +- struct hid_report_enum *rep_enum; +- struct hid_report *rep; +- struct hid_field *cur_field; +- int i, j; +- +- rep_enum = &hdev->report_enum[HID_FEATURE_REPORT]; +- list_for_each_entry(rep, &rep_enum->report_list, list) { +- for (i = 0; i < rep->maxfield; i++) { +- cur_field = rep->field[i]; +- +- for (j = 0; j < cur_field->maxusage; j++) { +- if (cur_field->usage[j].hid +- == MS_TYPE_COVER_FEATURE_REPORT_USAGE) { +- *field = cur_field; +- return; +- } +- } +- } +- } +-} +- + static void update_keyboard_backlight(struct hid_device *hdev, bool enabled) + { + struct usb_device *udev = hid_to_usb_dev(hdev); +@@ -1747,8 +1812,9 @@ static void update_keyboard_backlight(struct hid_device *hdev, bool enabled) + /* Wake up the device in case it's already suspended */ + pm_runtime_get_sync(&udev->dev); + +- get_type_cover_backlight_field(hdev, &field); +- if (!field) { ++ if (!get_type_cover_field(&hdev->report_enum[HID_FEATURE_REPORT], ++ &field, ++ MS_TYPE_COVER_FEATURE_REPORT_USAGE)) { + hid_err(hdev, "couldn't find backlight field\n"); + goto out; + } +@@ -1874,13 +1940,24 @@ static int mt_suspend(struct hid_device *hdev, pm_message_t state) + + static int mt_reset_resume(struct hid_device *hdev) + { ++ struct mt_device *td = hid_get_drvdata(hdev); ++ + mt_release_contacts(hdev); + mt_set_modes(hdev, HID_LATENCY_NORMAL, true, true); ++ ++ /* Request an update on the typecover folding state on resume ++ * after reset. ++ */ ++ if (td->mtclass.quirks & MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH) ++ request_type_cover_tablet_mode_switch(hdev); ++ + return 0; + } + + static int mt_resume(struct hid_device *hdev) + { ++ struct mt_device *td = hid_get_drvdata(hdev); ++ + /* Some Elan legacy devices require SET_IDLE to be set on resume. + * It should be safe to send it to other devices too. + * Tested on 3M, Stantum, Cypress, Zytronic, eGalax, and Elan panels. */ +@@ -1889,6 +1966,10 @@ static int mt_resume(struct hid_device *hdev) + + mt_set_modes(hdev, HID_LATENCY_NORMAL, true, true); + ++ /* Request an update on the typecover folding state on resume. */ ++ if (td->mtclass.quirks & MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH) ++ request_type_cover_tablet_mode_switch(hdev); ++ + return 0; + } + #endif +@@ -1896,6 +1977,21 @@ static int mt_resume(struct hid_device *hdev) + static void mt_remove(struct hid_device *hdev) + { + struct mt_device *td = hid_get_drvdata(hdev); ++ struct hid_field *field; ++ struct input_dev *input; ++ ++ /* Reset tablet mode switch on disconnect. */ ++ if (td->mtclass.quirks & MT_QUIRK_HAS_TYPE_COVER_TABLET_MODE_SWITCH) { ++ if (get_type_cover_field(&hdev->report_enum[HID_INPUT_REPORT], ++ &field, ++ MS_TYPE_COVER_TABLET_MODE_SWITCH_USAGE)) { ++ input = field->hidinput->input; ++ input_report_switch(input, SW_TABLET_MODE, 0); ++ input_sync(input); ++ } else { ++ hid_err(hdev, "couldn't find tablet mode field\n"); ++ } ++ } + + unregister_pm_notifier(&td->pm_notifier); + del_timer_sync(&td->release_timer); +-- +2.36.1 diff --git a/patches/5.17/0010-surface-battery.patch b/patches/5.17/0010-surface-battery.patch index e32ac0430..f0d097931 100644 --- a/patches/5.17/0010-surface-battery.patch +++ b/patches/5.17/0010-surface-battery.patch @@ -1,4 +1,4 @@ -From fa5e5a1177be9906364cbd1a0908e7952e62e126 Mon Sep 17 00:00:00 2001 +From e093c33854730154848b4d604962ccbb92294f2c Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Wed, 27 Apr 2022 17:40:53 +0200 Subject: [PATCH] ACPI: battery: Make "not-charging" the default on no charging @@ -79,5 +79,5 @@ index dc208f5f5a1f..306513fec1e1 100644 /* Microsoft Surface Go 3 */ .callback = battery_notification_delay_quirk, -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0011-cameras.patch b/patches/5.17/0011-cameras.patch index 15d8bc7ac..3b5b4c401 100644 --- a/patches/5.17/0011-cameras.patch +++ b/patches/5.17/0011-cameras.patch @@ -1,4 +1,4 @@ -From ac7371c834f74561a5b3fb9f2fd90de90b5cbc43 Mon Sep 17 00:00:00 2001 +From 42b9be0a9d7e155047e712274a7977e0a6eb823e Mon Sep 17 00:00:00 2001 From: Hans de Goede 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 c82b1bfa1c3d..2227625202aa 100644 * Do not enumerate devices with enumeration_by_parent flag set as * they will be enumerated by their respective parents. -- -2.36.0 +2.36.1 -From 79912646fc29bf5b59d2a9762d813df8bbdd4ccc Mon Sep 17 00:00:00 2001 +From ad7593de84d5f9ecb889e201fc7dbfa6bad802f2 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Sun, 10 Oct 2021 20:57:02 +0200 Subject: [PATCH] platform/x86: int3472: Enable I2c daisy chain @@ -109,9 +109,9 @@ index 22f61b47f9e5..e1de1ff40bba 100644 return 0; -- -2.36.0 +2.36.1 -From 8e4b6239719aa5dac266ecc39daca5ffd44221e9 Mon Sep 17 00:00:00 2001 +From 910b0dc55c6a5a631b0308a1561c65398ad6421a Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 28 Oct 2021 21:55:16 +0100 Subject: [PATCH] media: i2c: Add driver for DW9719 VCM @@ -615,9 +615,9 @@ index 000000000000..8451c75b696b +MODULE_DESCRIPTION("DW9719 VCM Driver"); +MODULE_LICENSE("GPL"); -- -2.36.0 +2.36.1 -From 6401fa6a8e57895f0702bd6e28550904f0f3ddd4 Mon Sep 17 00:00:00 2001 +From 77f2ff5654488eadf3725644e8f1c08861d3bad4 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Mon, 13 Dec 2021 22:38:17 +0000 Subject: [PATCH] media: entity: Skip non-data links in graph iteration @@ -650,9 +650,9 @@ index b411f9796191..d0563ee4b28b 100644 if (!(link->flags & MEDIA_LNK_FL_ENABLED)) { link_top(graph) = link_top(graph)->next; -- -2.36.0 +2.36.1 -From 63e07a09df21b5aaa4b4255dac88fad063181f45 Mon Sep 17 00:00:00 2001 +From 3399c718f545d0dc91f12163df6a7946c9c1d4ed Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Mon, 13 Dec 2021 22:53:09 +0000 Subject: [PATCH] media: media.h: Add new media link type @@ -734,9 +734,9 @@ index 200fa8462b90..afbae7213d35 100644 struct media_link_desc { struct media_pad_desc source; -- -2.36.0 +2.36.1 -From f21490a2de299ec3abcb12334682cee3823449f3 Mon Sep 17 00:00:00 2001 +From 511e79d5ba0200de56f32be6cf5bebd368071fd1 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Mon, 13 Dec 2021 22:36:31 +0000 Subject: [PATCH] media: entity: Add link_type_name() helper @@ -789,9 +789,9 @@ index d0563ee4b28b..1a7d0a4fb9e8 100644 media_id(link->gobj1)); break; -- -2.36.0 +2.36.1 -From fce006b6667daa35412e391aa9c179280444ef1c Mon Sep 17 00:00:00 2001 +From cf0742d09ede8e75f69bd6bcec3b8a98856ac4c5 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Mon, 13 Dec 2021 22:54:10 +0000 Subject: [PATCH] media: entity: Add support for ancillary links @@ -866,9 +866,9 @@ index fea489f03d57..2a58defc4886 100644 + #endif -- -2.36.0 +2.36.1 -From b41f625bb3b601b8995a4c7056750756f5dad73d Mon Sep 17 00:00:00 2001 +From d75aabdabf67a09d6ffdc1f975f28e30dae2212f Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Fri, 26 Nov 2021 22:55:50 +0000 Subject: [PATCH] media: v4l2-async: Create links during @@ -939,9 +939,9 @@ index 0404267f1ae4..436bd6900fd8 100644 list_del(&asd->list); sd->asd = asd; -- -2.36.0 +2.36.1 -From 2c47f72cab3ff0fd3a69c99b711779a1f4075ec1 Mon Sep 17 00:00:00 2001 +From 22617184a837d41b3a942caa9bc0d0d715152a46 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Wed, 4 May 2022 23:21:45 +0100 Subject: [PATCH] media: ipu3-cio2: Move functionality from .complete() to @@ -1054,5 +1054,5 @@ index 0e9b0503b62a..50682a7b2a07 100644 static int cio2_parse_firmware(struct cio2_device *cio2) -- -2.36.0 +2.36.1 diff --git a/patches/5.17/0012-amd-gpio.patch b/patches/5.17/0012-amd-gpio.patch index 763b24740..cc9521b63 100644 --- a/patches/5.17/0012-amd-gpio.patch +++ b/patches/5.17/0012-amd-gpio.patch @@ -1,4 +1,4 @@ -From 8fb3801cc525c400379bb3cd9dd27ea5550fda5e Mon Sep 17 00:00:00 2001 +From 2e2c39b2ec3d9ed520d5d956a8e3904574129ac3 Mon Sep 17 00:00:00 2001 From: Sachi King 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 0d01e7f5078c..2b06cf5f2b1f 100644 mp_config_acpi_legacy_irqs(); -- -2.36.0 +2.36.1 -From 2227bca08a77288ab86923dd3306ae59c6a86e20 Mon Sep 17 00:00:00 2001 +From fbaa262eea4001d779f9bec1eb252152da2c9280 Mon Sep 17 00:00:00 2001 From: Maximilian Luz 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 2b06cf5f2b1f..caaec200bea2 100644 }; -- -2.36.0 +2.36.1 diff --git a/pkg/arch/kernel/PKGBUILD b/pkg/arch/kernel/PKGBUILD index 5d925c8c8..c792c1297 100644 --- a/pkg/arch/kernel/PKGBUILD +++ b/pkg/arch/kernel/PKGBUILD @@ -51,18 +51,18 @@ sha256sums=('SKIP' '718abbbc528f1ea6db31b05c4fd00467c23bfefa678dfc32cff482725c26b730' 'eeb0991b77edd31182c67746a41d8aabbb0cb90d2441ae5193c120df1e5190f7' 'b30cd71018df7e98101ba0cf37054169006b096d2870a9f8467dd96378b02b98' - 'bf8adb7045b90c5586941bfec2198a8ef389d8f24c43db16bf942f919e7ede4e' - 'c7b292284a9c2598b8705485336dc30ba8153dd90e7e72a8dd8da49acee915cd' - '3ffe1ed2d1d4aa7eb0a1bdd13fadfc162384358c7d0fdaf244c2990b1a2e2948' - '1a274f7d31b4c6b2c4de8766cd54f7494d365b066b995dddf372e05b250d4879' - 'e3b7805dc5be1370518a6a8774898d371595e86d906fa052b5655687b196d683' - 'e788cb6f0fd0316218843825f11ce0c3dcb1bf852cc7bfe3cc38adac96245c7c' - 'c6511054e84f0e49a301b8980ab3bec863f6b6b839788c905bc971b2de766e3c' - 'f44ed8cbef8e36c7e381a7f52e8671caf4e73c33635d26b1ded2a828b4146b57' - '56884586d149b5c0e6fc707f7fd6debf662498a5e399d7ad5a2432215135b4e0' - '43ca0a67b37907f65bb3b7f254aa8d75407fb56df7c1483b6afa76372d0809f9' - '2e15c60368aa16b17f84720482e30089ae4bfa8248a44d2f1a500ef0be5d0d9e' - '94365b2af565454c8d50b1bdca77901db2488f06a3123cc25bf0a8b232a18eb6') + '2fe8a68852f3bfe0a810edabc0f58f8e31b7212fd3c00928a8fc94c676e7884a' + '2879d05753058148b81169aa32fe533f007527b4b0e011be48a2647252a2babe' + '6df7bbcfb35a7951f47721c0d8b3f0c114da0ef702ebcb84c7ae74efafcf77b6' + 'c6beff3bc1ffaa45cdc08dcf1e8111b4cbfdcb1987839a3a6d1f28b13467e354' + '42ab7b17b90fc53d29fa6b54cc92feea061db1e3aaefaed32aa0ca764f4eeda9' + '2acd11490df01b4055adec9cbce2e29f01fe0151745c351e7e86a366ed0b6322' + 'c421697cbdd857b2f63f586813297a63769c1fb9fc0cf9b681837491e086e9f9' + '352806130eacec7ffde6d1d6086f4de1e9597f441c9e0ff86732aef819d3b9ce' + '81dc8b7530f95610f90ed368d2bf6b7ff4959eaf99ab6d9999ce703298cdc348' + '27dc40a13fe519f6a5dfaac05fbec51a93b08ee090b52ec1c6976d08209ed723' + '94394397af19891e24159eb9cb60914d6b7bb75d38e0291aa8ffc8c80af33ea3' + '36dff72e48b9d8e13e8101d06bd52dec17f7cb0fe7a7d355633a32f7fde735fe') export KBUILD_BUILD_HOST=archlinux