Update v4.19 patches

Changes:
 - SAM:
   - Add support for Surface Laptop Go

Links:
 - SAM: c6dd4e77bb
 - kernel: ec127183ca
This commit is contained in:
Maximilian Luz 2020-12-27 00:10:55 +01:00
parent cbe35f7f68
commit 825bb867fd
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
4 changed files with 43 additions and 33 deletions

View file

@ -371,7 +371,7 @@ index 7f40b6aab689..76e3b1d7db45 100644
--
2.29.2
From c1650b8ce443061adfdd52c477a573513cccd6d2 Mon Sep 17 00:00:00 2001
From 3dcc500fa62f7f77ed3d149f42966cb2c21b0462 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 17 Aug 2020 01:44:30 +0200
Subject: [PATCH] misc: Add support for Surface System Aggregator Module
@ -410,7 +410,7 @@ Patchset: surface-sam
.../misc/surface_aggregator/clients/Makefile | 10 +
.../clients/surface_acpi_notify.c | 886 ++++++
.../clients/surface_aggregator_cdev.c | 303 ++
.../clients/surface_aggregator_registry.c | 606 ++++
.../clients/surface_aggregator_registry.c | 616 ++++
.../clients/surface_battery.c | 1164 ++++++++
.../surface_aggregator/clients/surface_dtx.c | 1275 ++++++++
.../surface_aggregator/clients/surface_hid.c | 918 ++++++
@ -435,7 +435,7 @@ Patchset: surface-sam
include/uapi/linux/surface_aggregator/dtx.h | 146 +
scripts/mod/devicetable-offsets.c | 3 +-
scripts/mod/file2alias.c | 10 +-
47 files changed, 19100 insertions(+), 7 deletions(-)
47 files changed, 19110 insertions(+), 7 deletions(-)
create mode 100644 Documentation/driver-api/surface_aggregator/client-api.rst
create mode 100644 Documentation/driver-api/surface_aggregator/client.rst
create mode 100644 Documentation/driver-api/surface_aggregator/clients/cdev.rst
@ -4868,10 +4868,10 @@ index 000000000000..bd8f6f106cdd
+MODULE_LICENSE("GPL");
diff --git a/drivers/misc/surface_aggregator/clients/surface_aggregator_registry.c b/drivers/misc/surface_aggregator/clients/surface_aggregator_registry.c
new file mode 100644
index 000000000000..a18f85dd6881
index 000000000000..eae9be09a6a3
--- /dev/null
+++ b/drivers/misc/surface_aggregator/clients/surface_aggregator_registry.c
@@ -0,0 +1,606 @@
@@ -0,0 +1,616 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Surface System Aggregator Module (SSAM) client device registry.
@ -5008,6 +5008,12 @@ index 000000000000..a18f85dd6881
+ { SSAM_DUID_HID_IID5 },
+};
+
+static const struct ssam_hub_cell ssam_devices_slg1[] = {
+ { SSAM_DUID_TMP_PERF },
+ { SSAM_DUID_BAT_AC },
+ { SSAM_DUID_BAT_MAIN },
+};
+
+static const struct ssam_hub_cell ssam_devices_sp5[] = {
+ { SSAM_DUID_TMP_PERF },
+};
@ -5027,6 +5033,7 @@ index 000000000000..a18f85dd6881
+SSAM_DEFINE_PLATFORM_HUB(sl1);
+SSAM_DEFINE_PLATFORM_HUB(sl2);
+SSAM_DEFINE_PLATFORM_HUB(sl3);
+SSAM_DEFINE_PLATFORM_HUB(slg1);
+SSAM_DEFINE_PLATFORM_HUB(sp5);
+SSAM_DEFINE_PLATFORM_HUB(sp6);
+SSAM_DEFINE_PLATFORM_HUB(sp7);
@ -5393,6 +5400,9 @@ index 000000000000..a18f85dd6881
+ /* Surface Laptop 3 (15", AMD) */
+ { "MSHW0110", (unsigned long)&ssam_platform_hub_sl3 },
+
+ /* Surface Laptop Go 1 */
+ { "MSHW0118", (unsigned long)&ssam_platform_hub_slg1 },
+
+ { },
+};
+MODULE_DEVICE_TABLE(acpi, ssam_platform_hub_match);

View file

@ -1,4 +1,4 @@
From 1fcaf208fbd32c3e0849030aaae5bd9bb1137c8e Mon Sep 17 00:00:00 2001
From 45dd125b670e45422e189d26b5f2c509017ec996 Mon Sep 17 00:00:00 2001
From: Lukas Wunner <lukas@wunner.de>
Date: Tue, 31 Jul 2018 07:50:37 +0200
Subject: [PATCH] PCI: pciehp: Differentiate between surprise and safe removal
@ -197,7 +197,7 @@ index 5c58c22e0c08..18f83e554c73 100644
--
2.29.2
From c38713a562d31d961cb0c7226ee018f1c5777ff4 Mon Sep 17 00:00:00 2001
From 0e4bf16ef7ac4121c304a6142bea5ec28d75b26d Mon Sep 17 00:00:00 2001
From: Lukas Wunner <lukas@wunner.de>
Date: Sun, 19 Aug 2018 16:29:00 +0200
Subject: [PATCH] PCI: pciehp: Drop unnecessary includes
@ -336,7 +336,7 @@ index 18f83e554c73..c512b2ed85ed 100644
--
2.29.2
From 86f4cd975be2717c5c658d2e8476ed9e43cc25ea Mon Sep 17 00:00:00 2001
From 3509e289ab82e6774a8c2b013a369444477d1c68 Mon Sep 17 00:00:00 2001
From: Lukas Wunner <lukas@wunner.de>
Date: Sun, 19 Aug 2018 16:29:00 +0200
Subject: [PATCH] PCI: pciehp: Drop hotplug_slot_ops wrappers
@ -549,7 +549,7 @@ index d4b7049cbc70..576362d0b1cd 100644
--
2.29.2
From 10fa9547641f749eecf8040f8e07d058ff589cf6 Mon Sep 17 00:00:00 2001
From 425bd90206d80e31b97a4d33958eb1e2ae42758c Mon Sep 17 00:00:00 2001
From: Lukas Wunner <lukas@wunner.de>
Date: Sat, 8 Sep 2018 09:59:01 +0200
Subject: [PATCH] PCI: pciehp: Tolerate Presence Detect hardwired to zero
@ -747,7 +747,7 @@ index 576362d0b1cd..7f4173d6771a 100644
--
2.29.2
From f62332dd12e75f9ba7d53d498448ff149edce4ab Mon Sep 17 00:00:00 2001
From c7f25467a13f2b23330316bf4580ae7fc2d0e9b3 Mon Sep 17 00:00:00 2001
From: Patrick Talbert <ptalbert@redhat.com>
Date: Wed, 5 Sep 2018 09:12:53 +0200
Subject: [PATCH] PCI/ASPM: Do not initialize link state when aspm_disabled is
@ -792,7 +792,7 @@ index cb474338f39d..18aa830e79e4 100644
--
2.29.2
From 7fdb73c5d9d68bdecde045bc28da9be2533bbc85 Mon Sep 17 00:00:00 2001
From cf688792973b558cfa5897570ebcf7019ddde530 Mon Sep 17 00:00:00 2001
From: Lukas Wunner <lukas@wunner.de>
Date: Sun, 19 Aug 2018 16:29:00 +0200
Subject: [PATCH] PCI: Simplify disconnected marking
@ -878,7 +878,7 @@ index 2c3b5bd59b18..dee5a7507403 100644
--
2.29.2
From bb4cc89e81a6a31dadd00e3f05391e0a71dab9e2 Mon Sep 17 00:00:00 2001
From 968e363e86d2b71bb285310740fa4e7394719a0b Mon Sep 17 00:00:00 2001
From: Lukas Wunner <lukas@wunner.de>
Date: Tue, 18 Sep 2018 21:46:17 +0200
Subject: [PATCH] PCI: pciehp: Unify controller and slot structs
@ -2070,7 +2070,7 @@ index 8da87931bd45..b9c1396db6fe 100644
--
2.29.2
From bd84ac18002c1a901db3dbcd3b9aadd5953deb6f Mon Sep 17 00:00:00 2001
From c272888f8ead49379bc4da5904c9e65c74ab9157 Mon Sep 17 00:00:00 2001
From: Lukas Wunner <lukas@wunner.de>
Date: Sat, 8 Sep 2018 09:59:01 +0200
Subject: [PATCH] PCI: pciehp: Rename controller struct members for clarity
@ -2377,7 +2377,7 @@ index 4a17d71e15d3..e4d6ec960630 100644
--
2.29.2
From bffbcb0d0546fbcffbbe7aa08eb8fa64d163a2b3 Mon Sep 17 00:00:00 2001
From f76e7c9a5cbfcae2d4f1148381dc0fb59a3ce67e Mon Sep 17 00:00:00 2001
From: Lukas Wunner <lukas@wunner.de>
Date: Sat, 8 Sep 2018 09:59:01 +0200
Subject: [PATCH] PCI: pciehp: Reshuffle controller struct for clarity
@ -2508,7 +2508,7 @@ index 2499489158cc..df82a0335515 100644
--
2.29.2
From fc72a1dbb0a64be9fc9e35e010e0b7671e4a531e Mon Sep 17 00:00:00 2001
From b85888ae8e89c7ca88bfc436cfa92129bf8b74a0 Mon Sep 17 00:00:00 2001
From: Keith Busch <keith.busch@intel.com>
Date: Thu, 20 Sep 2018 10:27:17 -0600
Subject: [PATCH] PCI: Make link active reporting detection generic
@ -2705,7 +2705,7 @@ index ec6c48ecd7d5..74c8e9190fed 100644
--
2.29.2
From 9cac457cb2c938f389c7cc8cd1db98080968f078 Mon Sep 17 00:00:00 2001
From eabf0f10fe200c1f87f4647e5d14c5c7e9cdfc1a Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Thu, 27 Sep 2018 16:53:53 -0500
Subject: [PATCH] PCI: Do not skip power-managed bridges in pci_enable_wake()
@ -2756,7 +2756,7 @@ index 99292b338401..2898b7c1ac4b 100644
--
2.29.2
From 44d0ba1468ba2143ef7dd066d92cad0dc860de51 Mon Sep 17 00:00:00 2001
From 9ba55a0d95871c978091e6f50b5297ddf0e60ce5 Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Thu, 27 Sep 2018 16:38:19 -0500
Subject: [PATCH] PCI: pciehp: Disable hotplug interrupt during suspend
@ -2870,7 +2870,7 @@ index 0693870a9e24..b5c7f5ef597a 100644
--
2.29.2
From 58154e0992a168eed9fe44cce16021bb5913c167 Mon Sep 17 00:00:00 2001
From 701b6864e1bffd886f06db697f6d7c2548c63b25 Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Thu, 27 Sep 2018 16:41:46 -0500
Subject: [PATCH] PCI: pciehp: Do not handle events if interrupts are masked
@ -2912,7 +2912,7 @@ index b5c7f5ef597a..242b9f30210a 100644
--
2.29.2
From f6895e94b2df858a0889067ee3291e237f2e0bd1 Mon Sep 17 00:00:00 2001
From 7c4c6497e4c78c4cbdce37789a3224981061171c Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Thu, 27 Sep 2018 16:41:47 -0500
Subject: [PATCH] PCI/portdrv: Resume upon exit from system suspend if left
@ -2965,7 +2965,7 @@ index 23a5a0c2c3fe..5badf8a1ce0a 100644
--
2.29.2
From d07ea60c0267594ebff189b058287bd4a68a2447 Mon Sep 17 00:00:00 2001
From 243efee0560bf724682f172c71cf8c64587e8f6d Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Thu, 27 Sep 2018 16:41:48 -0500
Subject: [PATCH] PCI/portdrv: Add runtime PM hooks for port service drivers
@ -3077,7 +3077,7 @@ index 5badf8a1ce0a..59d2567e2db2 100644
--
2.29.2
From ec68db9ae01739d094c2d8df1fba03947a2a776c Mon Sep 17 00:00:00 2001
From d41df033899caab693a9d0060fc72af4cb9ad226 Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Thu, 27 Sep 2018 16:41:49 -0500
Subject: [PATCH] PCI: pciehp: Implement runtime PM callbacks
@ -3134,7 +3134,7 @@ index 8e6e4ce869fb..e5de25ebc4cf 100644
--
2.29.2
From a28b2a460f82f894504cb32ea7ba2ab5b3378dce Mon Sep 17 00:00:00 2001
From 5364f9a4917739bbd7cc5071d3989c5a337c4c7d Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Thu, 27 Sep 2018 16:57:05 -0500
Subject: [PATCH] ACPI / property: Allow multiple property compatible _DSD
@ -3429,7 +3429,7 @@ index cd412817654f..4e2e30e340fe 100644
--
2.29.2
From 49a984d05e7758b3906b2e727aa321f852116504 Mon Sep 17 00:00:00 2001
From f59ac7e22415ff6f75a699d6317c4be64940e267 Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Thu, 27 Sep 2018 16:57:14 -0500
Subject: [PATCH] PCI / ACPI: Whitelist D3 for more PCIe hotplug ports
@ -3594,7 +3594,7 @@ index e9ede82ee2c2..0a5efc437bd1 100644
--
2.29.2
From c79fe0dc8d25b249e297f5377e93a55d2812ef86 Mon Sep 17 00:00:00 2001
From e52f2f29ec3b88d98e5194347506f75dc1cac9e6 Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Mon, 7 Jan 2019 16:09:40 +0300
Subject: [PATCH] PCI: pciehp: Assign ctrl->slot_ctrl before writing it to
@ -3648,7 +3648,7 @@ index 242b9f30210a..7074d4923811 100644
--
2.29.2
From 465d0f82a38937b03da952733bf83f92a6d15a18 Mon Sep 17 00:00:00 2001
From 2078e1d9fb0516755ed387aeb376d8af2709eac6 Mon Sep 17 00:00:00 2001
From: Mika Westerberg <mika.westerberg@linux.intel.com>
Date: Thu, 31 Jan 2019 20:07:46 +0300
Subject: [PATCH] PCI: pciehp: Disable Data Link Layer State Changed event on
@ -3737,7 +3737,7 @@ index 7074d4923811..a37ff79a6e9e 100644
--
2.29.2
From f7d578fb1dc44d520ed9f3c949171a90e0c3c811 Mon Sep 17 00:00:00 2001
From e230a7e530578b48296595ba176401fecb7ca034 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 29 Oct 2020 22:04:38 +0100
Subject: [PATCH] PCI: Allow D3cold for hot-plug ports on Surface Books
@ -3822,7 +3822,7 @@ index b53a6772ee09..70af1713767f 100644
--
2.29.2
From 8fbc0392c52cc196af1e7275af03f657f297dbf9 Mon Sep 17 00:00:00 2001
From 12fd9d67ddd9933de693bb63aeda4cdc69faf8c2 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 9 Nov 2020 14:23:00 +0100
Subject: [PATCH] PCI: Run platform power transition on initial D0 entry
@ -3884,7 +3884,7 @@ index 70af1713767f..18caa27c774f 100644
--
2.29.2
From dd582bd8af4181f3b364d32508b60af64958679d Mon Sep 17 00:00:00 2001
From ba175b2fdc8d71223361bf0a2241cc88c49a2c08 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 31 Oct 2020 20:46:33 +0100
Subject: [PATCH] PCI: Add sysfs attribute for PCI device power state
@ -3957,7 +3957,7 @@ index 1edf5a1836ea..ee1518650d55 100644
--
2.29.2
From f8f50bd5d43295fe12ad1ae2a2573d3682b6da8b Mon Sep 17 00:00:00 2001
From 05dde0fcd628b68189cbbf73cd5e699f89d78551 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 14 Dec 2020 20:50:59 +0100
Subject: [PATCH] platform/x86: Add Surface Hotplug driver

View file

@ -1,4 +1,4 @@
From 3ac8893fdbb327c6c9fd599d19df071669319dab Mon Sep 17 00:00:00 2001
From 2f8ec51e743e22b33363ea47e51e71f43aeef73d 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

View file

@ -52,9 +52,9 @@ sha256sums=('3eeec4e5eb8a129be3536357ecb028fae7d82fac933dcfac0b6089ee398fc5fc'
'e30e6f0d9cc3d8d9f3754357236f9aead2c9b1cac12e88ae4e47ce639f6c8e1d'
'c1b8cd42a4342d34c06c9bb341a53a8295c9aac2cd153d815a430b2340f227b9'
'801c848bc5bce01f0d561d80f54a8897be48c71b3956d4c477688031e9a91bd7'
'611afcb13e96fd9c2ab5c865f6cd2e8f904d9c45600ef78ce2301951db6e15b8'
'e9b208a9b8f41eb137d8e27e56d0dda65f7b3102ac11d05f37fc60d10cc454da'
'233f29c31040aa6afb158a51b0f51813b90e45f6fca667fab5b43bde116b1cd2')
'e774d13645e6a73b1d28e3b868b7e13c1af0bff30cafa7888069c34a0abc2875'
'44f38b61e254ffbdf2c0f07a527168966099edddc5bea66197f3a14876a76786'
'894bd7d31e3298b418c9659ef33f19e4820f685eaebba98ed845457097e099ca')
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase