From 53815301189a2c70aced5a59ba8a54c6efa25e56 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Fri, 19 Mar 2021 01:37:22 +0100 Subject: [PATCH] Update v4.19 patches Changes: - Update patches to v4.19.181 - SAM: - Small code cleanup Links: - kernel: https://github.com/linux-surface/kernel/commit/7331b74ca07edff2e0d2844adb36961d722b7477 - SAM: https://github.com/linux-surface/surface-aggregator-module/commit/53fbf8d1f862d719612525e0c342b74173fbcb8c --- patches/4.19/0001-surface3-power.patch | 4 +- .../0002-surface3-touchscreen-dma-fix.patch | 4 +- patches/4.19/0003-surface3-oemb.patch | 4 +- patches/4.19/0004-surface-buttons.patch | 16 +- patches/4.19/0005-suspend.patch | 10 +- patches/4.19/0006-ipts.patch | 4 +- patches/4.19/0007-wifi.patch | 203 ++---------------- patches/4.19/0008-surface-gpe.patch | 4 +- patches/4.19/0009-surface-sam-over-hid.patch | 8 +- patches/4.19/0010-surface-sam.patch | 20 +- patches/4.19/0011-surface-hotplug.patch | 108 +++++----- patches/4.19/0012-surface-typecover.patch | 4 +- .../4.19/0013-ath10k-firmware-override.patch | 4 +- pkg/arch/kernel-lts/PKGBUILD | 26 +-- 14 files changed, 131 insertions(+), 288 deletions(-) diff --git a/patches/4.19/0001-surface3-power.patch b/patches/4.19/0001-surface3-power.patch index e5cd900e3..d79fb958d 100644 --- a/patches/4.19/0001-surface3-power.patch +++ b/patches/4.19/0001-surface3-power.patch @@ -1,4 +1,4 @@ -From c75868cdc56e125910ef0e0b3ac5afbd35908673 Mon Sep 17 00:00:00 2001 +From 0ef3adbb5f36d05fa6b96fbdd5478a43d317d4ba Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 28 Sep 2019 18:00:43 +0200 Subject: [PATCH] platform/x86: Surface 3 battery platform operation region @@ -653,5 +653,5 @@ index 000000000000..e0af01a60302 +MODULE_DESCRIPTION("mshw0011 driver"); +MODULE_LICENSE("GPL v2"); -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0002-surface3-touchscreen-dma-fix.patch b/patches/4.19/0002-surface3-touchscreen-dma-fix.patch index 009d4559a..8e61f1576 100644 --- a/patches/4.19/0002-surface3-touchscreen-dma-fix.patch +++ b/patches/4.19/0002-surface3-touchscreen-dma-fix.patch @@ -1,4 +1,4 @@ -From 0ab0f56223c24270fbf5f59543c8a6f1179bc76c Mon Sep 17 00:00:00 2001 +From 98d9e48da116e5bd5800cbe728f640508470c3d9 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Sun, 5 Jul 2020 14:56:20 +0300 Subject: [PATCH] dmaengine: dw: Initialize channel before each transfer @@ -85,5 +85,5 @@ index 055d83b6cb68..acf64302a2b2 100644 channel_clear_bit(dw, MASK.XFER, dwc->mask); channel_clear_bit(dw, MASK.BLOCK, dwc->mask); -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0003-surface3-oemb.patch b/patches/4.19/0003-surface3-oemb.patch index 9d9dba038..a440faad9 100644 --- a/patches/4.19/0003-surface3-oemb.patch +++ b/patches/4.19/0003-surface3-oemb.patch @@ -1,4 +1,4 @@ -From f559a7cae8fe4930a472222007eada252caa28b3 Mon Sep 17 00:00:00 2001 +From 332f6b7481149d43e3e4360fcadaab507bfee2ea 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 91bb99b69601..8418938b32ad 100644 }; -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0004-surface-buttons.patch b/patches/4.19/0004-surface-buttons.patch index 8716622e9..b01290f5c 100644 --- a/patches/4.19/0004-surface-buttons.patch +++ b/patches/4.19/0004-surface-buttons.patch @@ -1,4 +1,4 @@ -From 9a1dedb31c10069178b39a7192393bff8d0bc489 Mon Sep 17 00:00:00 2001 +From d80cd7bffc003f1c8da7121800883caf8cfc56da Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 27 Jul 2019 17:51:37 +0200 Subject: [PATCH] platform/x86: surfacepro3_button: Fix device check @@ -90,9 +90,9 @@ index 1b491690ce07..96627627060e 100644 if (!button) return -ENOMEM; -- -2.30.1 +2.30.2 -From 890cbe6dfac9756e1fd6bd4ac2a6ac604b561658 Mon Sep 17 00:00:00 2001 +From ec33ae071346592a3caf3ade86020458f79744cd Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 27 Jul 2019 17:52:01 +0200 Subject: [PATCH] Input: soc_button_array - Add support for newer surface @@ -295,9 +295,9 @@ index 55cd6e0b409c..8f21c062c85d 100644 }; -- -2.30.1 +2.30.2 -From bf59576cbb035c5c92de1dfdaf6238ce9497376b Mon Sep 17 00:00:00 2001 +From c61ea31ae5d53b31b712032e08e3564abdf2d9e4 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sat, 5 Oct 2019 14:11:58 +0200 Subject: [PATCH] Input: soc_button_array - partial revert of support for newer @@ -384,9 +384,9 @@ index 8f21c062c85d..5983733d78dd 100644 } -- -2.30.1 +2.30.2 -From 08b9f6f75ff14700e5740240d3ac9c449fdddfe4 Mon Sep 17 00:00:00 2001 +From bdf14b237ca579a8d5b785d588f6d0336774cccf Mon Sep 17 00:00:00 2001 From: "Tsuchiya Yuto (kitakar5525)" Date: Mon, 11 May 2020 17:40:21 +0900 Subject: [PATCH] Input: soc_button_array - fix Wdiscarded-qualifiers for @@ -436,5 +436,5 @@ index 5983733d78dd..c564ea99f47d 100644 return 0; } -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0005-suspend.patch b/patches/4.19/0005-suspend.patch index ff11693eb..74c50d65a 100644 --- a/patches/4.19/0005-suspend.patch +++ b/patches/4.19/0005-suspend.patch @@ -1,4 +1,4 @@ -From f7e0e33210cefc5312abdc8f188b62f2c13eecf3 Mon Sep 17 00:00:00 2001 +From 4b09eb64d0af7c861be2fcb28168e0f53d5b49a4 Mon Sep 17 00:00:00 2001 From: kitakar5525 <34676735+kitakar5525@users.noreply.github.com> Date: Sat, 28 Sep 2019 17:48:21 +0200 Subject: [PATCH] nvme: Backport changes for suspend @@ -30,7 +30,7 @@ Patchset: suspend 5 files changed, 162 insertions(+), 6 deletions(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c -index b633ea40430e..4993f04a8a58 100644 +index 513dd1e2aac7..ef77edbbe83c 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -1065,15 +1065,15 @@ static struct nvme_id_ns *nvme_identify_ns(struct nvme_ctrl *ctrl, @@ -77,7 +77,7 @@ index b633ea40430e..4993f04a8a58 100644 int nvme_set_queue_count(struct nvme_ctrl *ctrl, int *count) { u32 q_count = (*count - 1) | ((*count - 1) << 16); -@@ -3632,6 +3650,18 @@ static void nvme_free_ctrl(struct device *dev) +@@ -3629,6 +3647,18 @@ static void nvme_free_ctrl(struct device *dev) nvme_put_subsystem(subsys); } @@ -97,7 +97,7 @@ index b633ea40430e..4993f04a8a58 100644 * Initialize a NVMe controller structures. This needs to be called during * earliest initialization so that we have the initialized structured around diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h -index 9c2e7a151e40..8cf74e854610 100644 +index 276975506709..29e062d29c04 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -437,6 +437,7 @@ void nvme_complete_async_event(struct nvme_ctrl *ctrl, __le16 status, @@ -330,5 +330,5 @@ index 2fda9893962d..ec6c48ecd7d5 100644 #ifdef CONFIG_PCIEAER -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0006-ipts.patch b/patches/4.19/0006-ipts.patch index ed169bcf8..8281abe73 100644 --- a/patches/4.19/0006-ipts.patch +++ b/patches/4.19/0006-ipts.patch @@ -1,4 +1,4 @@ -From 3c52d9ae9bdd64dd5ecaadfe6f2d1d7c4517aa02 Mon Sep 17 00:00:00 2001 +From fdd03257caa30673eb84206971d316462db2cbc6 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 28 Sep 2019 17:58:17 +0200 Subject: [PATCH] Add support for Intel IPTS touch devices @@ -7310,5 +7310,5 @@ index 000000000000..f229a3436851 + +#endif // IPTS_H -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0007-wifi.patch b/patches/4.19/0007-wifi.patch index 9d466564f..4d5a2b2a0 100644 --- a/patches/4.19/0007-wifi.patch +++ b/patches/4.19/0007-wifi.patch @@ -1,4 +1,4 @@ -From 3c20c796e0456daa33f9c68accaf44f7a6701b85 Mon Sep 17 00:00:00 2001 +From ab0bbef8f4abc27c14ec93e4f678222193fa63c5 Mon Sep 17 00:00:00 2001 From: Chuhong Yuan Date: Wed, 24 Jul 2019 19:27:45 +0800 Subject: [PATCH] mwifiex: pcie: Use dev_get_drvdata @@ -19,7 +19,7 @@ Patchset: wifi 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c -index 991b9cc18000..2aa0436d3548 100644 +index 5907b34037c2..4e655038e3f3 100644 --- a/drivers/net/wireless/marvell/mwifiex/pcie.c +++ b/drivers/net/wireless/marvell/mwifiex/pcie.c @@ -150,10 +150,8 @@ static bool mwifiex_pcie_ok_to_access_hw(struct mwifiex_adapter *adapter) @@ -47,166 +47,9 @@ index 991b9cc18000..2aa0436d3548 100644 if (!card->adapter) { dev_err(dev, "adapter structure is not valid\n"); -- -2.30.1 +2.30.2 -From 56f05fbfbc4152873d8b6e4d3536823102b0257b Mon Sep 17 00:00:00 2001 -From: Tsuchiya Yuto -Date: Thu, 24 Sep 2020 18:02:06 +0900 -Subject: [PATCH] mwifiex: pcie: skip cancel_work_sync() on reset failure path - -If a reset is performed, but even the reset fails for some reasons (e.g., -on Surface devices, the fw reset requires another quirks), -cancel_work_sync() hangs in mwifiex_cleanup_pcie(). - - # reset performed after firmware went into bad state - kernel: mwifiex_pcie 0000:01:00.0: WLAN FW already running! Skip FW dnld - kernel: mwifiex_pcie 0000:01:00.0: WLAN FW is active - # but even the reset failed - kernel: mwifiex_pcie 0000:01:00.0: mwifiex_cmd_timeout_func: Timeout cmd id = 0xfa, act = 0xa000 - kernel: mwifiex_pcie 0000:01:00.0: num_data_h2c_failure = 0 - kernel: mwifiex_pcie 0000:01:00.0: num_cmd_h2c_failure = 0 - kernel: mwifiex_pcie 0000:01:00.0: is_cmd_timedout = 1 - kernel: mwifiex_pcie 0000:01:00.0: num_tx_timeout = 0 - kernel: mwifiex_pcie 0000:01:00.0: last_cmd_index = 2 - kernel: mwifiex_pcie 0000:01:00.0: last_cmd_id: 16 00 a4 00 fa 00 a4 00 7f 00 - kernel: mwifiex_pcie 0000:01:00.0: last_cmd_act: 00 00 00 00 00 a0 00 00 00 00 - kernel: mwifiex_pcie 0000:01:00.0: last_cmd_resp_index = 0 - kernel: mwifiex_pcie 0000:01:00.0: last_cmd_resp_id: 16 80 7f 80 16 80 a4 80 7f 80 - kernel: mwifiex_pcie 0000:01:00.0: last_event_index = 1 kernel: mwifiex_pcie 0000:01:00.0: last_event: 58 00 58 00 58 00 58 00 58 00 - kernel: mwifiex_pcie 0000:01:00.0: data_sent=0 cmd_sent=1 - kernel: mwifiex_pcie 0000:01:00.0: ps_mode=0 ps_state=0 - kernel: mwifiex_pcie 0000:01:00.0: info: _mwifiex_fw_dpc: unregister device - # mwifiex_pcie_work hanged - kernel: INFO: task kworker/0:0:24857 blocked for more than 122 seconds. - kernel: Tainted: G W OE 5.3.11-arch1-1 #1 - kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. - kernel: kworker/0:0 D 0 24857 2 0x80004000 - kernel: Workqueue: events mwifiex_pcie_work [mwifiex_pcie] - kernel: Call Trace: - kernel: ? __schedule+0x27f/0x6d0 - kernel: schedule+0x43/0xd0 - kernel: schedule_timeout+0x299/0x3d0 - kernel: ? __switch_to_asm+0x40/0x70 - kernel: wait_for_common+0xeb/0x190 - kernel: ? wake_up_q+0x60/0x60 - kernel: __flush_work+0x130/0x1e0 - kernel: ? flush_workqueue_prep_pwqs+0x130/0x130 - kernel: __cancel_work_timer+0x123/0x1b0 - kernel: mwifiex_cleanup_pcie+0x28/0xd0 [mwifiex_pcie] - kernel: mwifiex_free_adapter+0x24/0xe0 [mwifiex] - kernel: _mwifiex_fw_dpc+0x28d/0x520 [mwifiex] - kernel: mwifiex_reinit_sw+0x15d/0x2c0 [mwifiex] - kernel: mwifiex_pcie_reset_done+0x50/0x80 [mwifiex_pcie] - kernel: pci_try_reset_function+0x38/0x70 - kernel: process_one_work+0x1d1/0x3a0 - kernel: worker_thread+0x4a/0x3d0 - kernel: kthread+0xfb/0x130 - kernel: ? process_one_work+0x3a0/0x3a0 - kernel: ? kthread_park+0x80/0x80 - kernel: ret_from_fork+0x35/0x40 - -This is a deadlock caused by calling cancel_work_sync() in -mwifiex_cleanup_pcie(): - -- Device resets are done via mwifiex_pcie_card_reset() -- which schedules card->work to call mwifiex_pcie_card_reset_work() -- which calls pci_try_reset_function(). -- This leads to mwifiex_pcie_reset_done() be called on the same workqueue, - which in turn calls -- mwifiex_reinit_sw() and that calls -- _mwifiex_fw_dpc(). - -The problem is now that _mwifiex_fw_dpc() calls mwifiex_free_adapter() -in case firmware initialization fails. That ends up calling -mwifiex_cleanup_pcie(). - -Note that all those calls are still running on the workqueue. So when -mwifiex_cleanup_pcie() now calls cancel_work_sync(), it's really waiting -on itself to complete, causing a deadlock. - -This commit fixes the deadlock by skipping cancel_work_sync() on a reset -failure path. - -After this commit, when reset fails, the following output is -expected to be shown: - - kernel: mwifiex_pcie 0000:03:00.0: info: _mwifiex_fw_dpc: unregister device - kernel: mwifiex: Failed to bring up adapter: -5 - kernel: mwifiex_pcie 0000:03:00.0: reinit failed: -5 - -To reproduce this issue, for example, try putting the root port of wifi -into D3 (replace "00:1d.3" with your setup). - - # put into D3 (root port) - sudo setpci -v -s 00:1d.3 CAP_PM+4.b=0b - -Signed-off-by: Tsuchiya Yuto -Patchset: wifi ---- - drivers/net/wireless/marvell/mwifiex/pcie.c | 18 +++++++++++++++++- - drivers/net/wireless/marvell/mwifiex/pcie.h | 2 ++ - 2 files changed, 19 insertions(+), 1 deletion(-) - -diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c -index 2aa0436d3548..4e655038e3f3 100644 ---- a/drivers/net/wireless/marvell/mwifiex/pcie.c -+++ b/drivers/net/wireless/marvell/mwifiex/pcie.c -@@ -377,6 +377,8 @@ static void mwifiex_pcie_reset_prepare(struct pci_dev *pdev) - clear_bit(MWIFIEX_IFACE_WORK_DEVICE_DUMP, &card->work_flags); - clear_bit(MWIFIEX_IFACE_WORK_CARD_RESET, &card->work_flags); - mwifiex_dbg(adapter, INFO, "%s, successful\n", __func__); -+ -+ card->pci_reset_ongoing = true; - } - - /* -@@ -405,6 +407,8 @@ static void mwifiex_pcie_reset_done(struct pci_dev *pdev) - dev_err(&pdev->dev, "reinit failed: %d\n", ret); - else - mwifiex_dbg(adapter, INFO, "%s, successful\n", __func__); -+ -+ card->pci_reset_ongoing = false; - } - - static const struct pci_error_handlers mwifiex_pcie_err_handler = { -@@ -2996,7 +3000,19 @@ static void mwifiex_cleanup_pcie(struct mwifiex_adapter *adapter) - int ret; - u32 fw_status; - -- cancel_work_sync(&card->work); -+ /* Perform the cancel_work_sync() only when we're not resetting -+ * the card. It's because that function never returns if we're -+ * in reset path. If we're here when resetting the card, it means -+ * that we failed to reset the card (reset failure path). -+ */ -+ if (!card->pci_reset_ongoing) { -+ mwifiex_dbg(adapter, MSG, "performing cancel_work_sync()...\n"); -+ cancel_work_sync(&card->work); -+ mwifiex_dbg(adapter, MSG, "cancel_work_sync() done\n"); -+ } else { -+ mwifiex_dbg(adapter, MSG, -+ "skipped cancel_work_sync() because we're in card reset failure path\n"); -+ } - - ret = mwifiex_read_reg(adapter, reg->fw_status, &fw_status); - if (fw_status == FIRMWARE_READY_PCIE) { -diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.h b/drivers/net/wireless/marvell/mwifiex/pcie.h -index f7ce9b6db6b4..72d0c01ff359 100644 ---- a/drivers/net/wireless/marvell/mwifiex/pcie.h -+++ b/drivers/net/wireless/marvell/mwifiex/pcie.h -@@ -391,6 +391,8 @@ struct pcie_service_card { - struct mwifiex_msix_context share_irq_ctx; - struct work_struct work; - unsigned long work_flags; -+ -+ bool pci_reset_ongoing; - }; - - static inline int --- -2.30.1 - -From 191f988190b6773a8c3dbe671b5234ab4fb92aa3 Mon Sep 17 00:00:00 2001 +From 65a76a34c24e969188d16660e911a503acae3e3e Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Mon, 28 Sep 2020 17:46:49 +0900 Subject: [PATCH] mwifiex: pcie: add DMI-based quirk impl for Surface devices @@ -412,9 +255,9 @@ index 000000000000..5326ae7e5671 + +void mwifiex_initialize_quirks(struct pcie_service_card *card); -- -2.30.1 +2.30.2 -From ec580d28dbb510001db6b51d08e240a243630b06 Mon Sep 17 00:00:00 2001 +From a5a477fa529a17acf8cc254f182db8acf254c6cf Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Tue, 29 Sep 2020 17:25:22 +0900 Subject: [PATCH] mwifiex: pcie: add reset_d3cold quirk for Surface gen4+ @@ -613,9 +456,9 @@ index 5326ae7e5671..8b9dcb5070d8 100644 void mwifiex_initialize_quirks(struct pcie_service_card *card); +int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev); -- -2.30.1 +2.30.2 -From 32cb1e46bc43ac38c05e68ea9595e231caa16095 Mon Sep 17 00:00:00 2001 +From 26cbec4939bca28bdb89273c4bef340bd134c845 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 @@ -792,9 +635,9 @@ index 8b9dcb5070d8..3ef7440418e3 100644 int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev); +int mwifiex_pcie_reset_wsid_quirk(struct pci_dev *pdev); -- -2.30.1 +2.30.2 -From 37b304e5d9a2b8d2ce61788648a41c88eb652ec1 Mon Sep 17 00:00:00 2001 +From 4680d846a758ad37eb92e27bc7b2178f0041f2be 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 @@ -854,9 +697,9 @@ index f0a6fa0a7ae5..34dcd84f02a6 100644 .ident = "Surface Pro 3", .matches = { -- -2.30.1 +2.30.2 -From 8cd49ec455fdaecfe0037a1f38ab4d5141a8dac1 Mon Sep 17 00:00:00 2001 +From 95794c5e9a2121de1436edde527bc75e94053733 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Thu, 24 Sep 2020 01:56:34 +0900 Subject: [PATCH] mwifiex: pcie: use shutdown_sw()/reinit_sw() on @@ -996,9 +839,9 @@ index 290427c98630..d80eb18fb0d1 100644 return 0; } -- -2.30.1 +2.30.2 -From 6479fa57e51bb8a1d2e6b0d1d3383160ca98755c Mon Sep 17 00:00:00 2001 +From 8771e7ff6ec0fdc56d18bb656cd02e784e65a807 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Mon, 24 Aug 2020 17:11:35 +0900 Subject: [PATCH] mwifiex: pcie: add enable_device_dump module parameter @@ -1045,9 +888,9 @@ index d80eb18fb0d1..ea766584d3b7 100644 if (!adapter->devdump_data) { mwifiex_dbg(adapter, ERROR, -- -2.30.1 +2.30.2 -From 1bc88e00766005dd6d5d5aa5a0050544ae20bc60 Mon Sep 17 00:00:00 2001 +From 42b6c6fc76a60991d1742aa87ec486935e4a0cd7 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+ @@ -1200,9 +1043,9 @@ index 3ef7440418e3..a95ebac06e13 100644 void mwifiex_initialize_quirks(struct pcie_service_card *card); int mwifiex_pcie_reset_d3cold_quirk(struct pci_dev *pdev); -- -2.30.1 +2.30.2 -From 8955118667c29df85e9e8c5b30a334d98d50a20c Mon Sep 17 00:00:00 2001 +From ba119f4fea7c7de35f78f2cdca32cbc21ec68d84 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Sun, 4 Oct 2020 00:25:48 +0900 Subject: [PATCH] mwifiex: add allow_ps_mode module parameter @@ -1262,9 +1105,9 @@ index 650191db25cb..dd1f08a2325f 100644 } -- -2.30.1 +2.30.2 -From 0adb74069b15a386347d5089290c0a0b351878e1 Mon Sep 17 00:00:00 2001 +From c54e493c572041a5af58a7316dcb94b7f0d84820 Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Sun, 4 Oct 2020 00:38:48 +0900 Subject: [PATCH] mwifiex: print message when changing ps_mode @@ -1297,9 +1140,9 @@ index dd1f08a2325f..ee88da92b97c 100644 } -- -2.30.1 +2.30.2 -From df746ef44e22458ffdf6d7d45b729cce747dc3ae Mon Sep 17 00:00:00 2001 +From 8b3a1e9985f45f14c58a18e0b8eec4b4ae24315f Mon Sep 17 00:00:00 2001 From: Tsuchiya Yuto Date: Sun, 4 Oct 2020 00:59:37 +0900 Subject: [PATCH] mwifiex: disable ps_mode explicitly by default instead @@ -1345,5 +1188,5 @@ index 4ed10cf82f9a..ed0fffb9eba6 100644 if (drcs) { -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0008-surface-gpe.patch b/patches/4.19/0008-surface-gpe.patch index b361b1315..591798f74 100644 --- a/patches/4.19/0008-surface-gpe.patch +++ b/patches/4.19/0008-surface-gpe.patch @@ -1,4 +1,4 @@ -From 52fb1045e6f47aff576e75f65096cfc3237ab63f Mon Sep 17 00:00:00 2001 +From ee28af58ef39fe2647b91746afddabe57e4ea866 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 16 Aug 2020 23:39:56 +0200 Subject: [PATCH] platform/x86: Add Driver to set up lid GPEs on MS Surface @@ -390,5 +390,5 @@ index 000000000000..7eaaeacbf408 +MODULE_ALIAS("dmi:*:svnMicrosoftCorporation:pnSurfaceLaptop2:*"); +MODULE_ALIAS("dmi:*:svnMicrosoftCorporation:pnSurfaceLaptop3:*"); -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0009-surface-sam-over-hid.patch b/patches/4.19/0009-surface-sam-over-hid.patch index 415e97ab5..f8f07d05f 100644 --- a/patches/4.19/0009-surface-sam-over-hid.patch +++ b/patches/4.19/0009-surface-sam-over-hid.patch @@ -1,4 +1,4 @@ -From 550ac2457dc7752f767771dd57b3e79a55b557fa Mon Sep 17 00:00:00 2001 +From c321c9ece643a4747705529e9fba78d329cc799f 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 @@ -107,9 +107,9 @@ index 8ba4122fb340..f9a24b56fec0 100644 dev_warn(&adapter->dev, "protocol 0x%02x not supported for client 0x%02x\n", accessor_type, client->addr); -- -2.30.1 +2.30.2 -From f1f085dde250976f0258f65670898141d3f1b9c4 Mon Sep 17 00:00:00 2001 +From 743d550e55db848c9c28b53edd0917ef6f70767f Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sun, 6 Sep 2020 04:01:19 +0200 Subject: [PATCH] platform/x86: Add driver for Surface Book 1 dGPU switch @@ -330,5 +330,5 @@ index 000000000000..8c66ed5110fd +MODULE_DESCRIPTION("Discrete GPU Power-Switch for Surface Book 1"); +MODULE_LICENSE("GPL"); -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0010-surface-sam.patch b/patches/4.19/0010-surface-sam.patch index cf22b96f3..58d770567 100644 --- a/patches/4.19/0010-surface-sam.patch +++ b/patches/4.19/0010-surface-sam.patch @@ -1,4 +1,4 @@ -From ca50a9a9eb82438acc340dd0de7273c4fdb59089 Mon Sep 17 00:00:00 2001 +From cfda0dadd8a6993a506bd36eda11187d59bcca0e Mon Sep 17 00:00:00 2001 From: qzed Date: Mon, 26 Aug 2019 01:15:40 +0200 Subject: [PATCH] ACPI: Fix buffer/integer type mismatch @@ -79,9 +79,9 @@ index b272c329d45d..cf547883a993 100644 } else { /* IPMI */ -- -2.30.1 +2.30.2 -From 0b215d3e7f60c2d42e6c7d770c2b28f6ab2bf7db Mon Sep 17 00:00:00 2001 +From ac55bb60bca293bdfdcbbebd3eaf385a9f50b8ee Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 24 Sep 2019 17:38:12 +0200 Subject: [PATCH] serdev: Add ACPI devices by ResourceSource field @@ -267,9 +267,9 @@ index c66a04d24f1d..1b18d12d217f 100644 if (!ctrl->serdev) return -ENODEV; -- -2.30.1 +2.30.2 -From 15c8a990998ddb8aa05b7ac0ae2025d5f40a8bed Mon Sep 17 00:00:00 2001 +From e767b9e8ac0708c52c57d568a868f8beffa3310d Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 17 Aug 2020 01:23:20 +0200 Subject: [PATCH] Add file2alias support for Surface Aggregator devices @@ -368,9 +368,9 @@ index 7f40b6aab689..76e3b1d7db45 100644 /* Create MODULE_ALIAS() statements. -- -2.30.1 +2.30.2 -From ce051e4628e91fe7b53f11a06c055ac6d686de42 Mon Sep 17 00:00:00 2001 +From c544c76ba2926a1d8fdb31b894b4b5283b9523c1 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 17 Aug 2020 01:44:30 +0200 Subject: [PATCH] platform/x86: Add support for Surface System Aggregator @@ -14523,7 +14523,7 @@ index 000000000000..cad859e1402d +MODULE_LICENSE("GPL"); diff --git a/drivers/platform/x86/surface_aggregator_registry.c b/drivers/platform/x86/surface_aggregator_registry.c new file mode 100644 -index 000000000000..edef8a773606 +index 000000000000..1b87bdd6dd1e --- /dev/null +++ b/drivers/platform/x86/surface_aggregator_registry.c @@ -0,0 +1,618 @@ @@ -14854,7 +14854,7 @@ index 000000000000..edef8a773606 + NULL, +}; + -+const struct attribute_group ssam_base_hub_group = { ++static const struct attribute_group ssam_base_hub_group = { + .attrs = ssam_base_hub_attrs, +}; + @@ -20106,5 +20106,5 @@ index 76e3b1d7db45..f171616ab318 100644 ADD(alias, "f", match_flags & SSAM_MATCH_FUNCTION, function); -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0011-surface-hotplug.patch b/patches/4.19/0011-surface-hotplug.patch index 9a378e685..ad3733e62 100644 --- a/patches/4.19/0011-surface-hotplug.patch +++ b/patches/4.19/0011-surface-hotplug.patch @@ -1,4 +1,4 @@ -From fa0c4d5a6df392a2459b8583f8730a412ebd2e67 Mon Sep 17 00:00:00 2001 +From e0dbe0ebf5d2d50299490dbe8dfb0afe31a5c37f Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Tue, 31 Jul 2018 07:50:37 +0200 Subject: [PATCH] PCI: pciehp: Differentiate between surprise and safe removal @@ -195,9 +195,9 @@ index 5c58c22e0c08..18f83e554c73 100644 pci_lock_rescan_remove(); -- -2.30.1 +2.30.2 -From 32a18e4858cca787bf3c2120ec1b0aac3f4a85c4 Mon Sep 17 00:00:00 2001 +From 085a55b31bf7e4a1834fb9b36c19c63959bdc74d Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sun, 19 Aug 2018 16:29:00 +0200 Subject: [PATCH] PCI: pciehp: Drop unnecessary includes @@ -334,9 +334,9 @@ index 18f83e554c73..c512b2ed85ed 100644 #include #include -- -2.30.1 +2.30.2 -From 83833f360d1f58acac24ea9dd6f2e462eb06983e Mon Sep 17 00:00:00 2001 +From 6d7e733f81eaf0379dbf9cc6d374950fb91f736a Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sun, 19 Aug 2018 16:29:00 +0200 Subject: [PATCH] PCI: pciehp: Drop hotplug_slot_ops wrappers @@ -547,9 +547,9 @@ index d4b7049cbc70..576362d0b1cd 100644 struct pci_dev *pdev = ctrl_dev(ctrl); u16 stat_mask = 0, ctrl_mask = 0; -- -2.30.1 +2.30.2 -From bc947aa4a84bda22623577f13889fc9d4cd0ddd8 Mon Sep 17 00:00:00 2001 +From 886d4c8cfe967dfbb69a924ec1749299f7ab781c Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sat, 8 Sep 2018 09:59:01 +0200 Subject: [PATCH] PCI: pciehp: Tolerate Presence Detect hardwired to zero @@ -745,9 +745,9 @@ index 576362d0b1cd..7f4173d6771a 100644 pciehp_power_off_slot(ctrl->slot); } -- -2.30.1 +2.30.2 -From eef26c8cf99913e1a69fa6003f8e2cbd2fb72c13 Mon Sep 17 00:00:00 2001 +From a5c9820e0c3b83c0fca0b834a1a77e56e2a66e3b Mon Sep 17 00:00:00 2001 From: Patrick Talbert Date: Wed, 5 Sep 2018 09:12:53 +0200 Subject: [PATCH] PCI/ASPM: Do not initialize link state when aspm_disabled is @@ -790,9 +790,9 @@ index cb474338f39d..18aa830e79e4 100644 if (pdev->link_state) -- -2.30.1 +2.30.2 -From 520c46e498486f4f4f43935f3fda98bedb2c15d1 Mon Sep 17 00:00:00 2001 +From 643fd09a88053e4fd048eff96a9b35ba47b74fd4 Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sun, 19 Aug 2018 16:29:00 +0200 Subject: [PATCH] PCI: Simplify disconnected marking @@ -876,9 +876,9 @@ index 2c3b5bd59b18..dee5a7507403 100644 result = reset_link(udev, service); -- -2.30.1 +2.30.2 -From 07de99519315ba4014073391c610a9d9cf9c28cc Mon Sep 17 00:00:00 2001 +From aace6190cfe48efc21565a9367406451a8860cde Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Tue, 18 Sep 2018 21:46:17 +0200 Subject: [PATCH] PCI: pciehp: Unify controller and slot structs @@ -2068,9 +2068,9 @@ index 8da87931bd45..b9c1396db6fe 100644 ctrl_dbg(ctrl, "%s: domain:bus:dev = %04x:%02x:00\n", __func__, pci_domain_nr(parent), parent->number); -- -2.30.1 +2.30.2 -From fdef45b5aa05a14accf0480f78cf3bfc99867881 Mon Sep 17 00:00:00 2001 +From d3cf330d32dea5a09802e31f021bd1b9aa5daaa0 Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sat, 8 Sep 2018 09:59:01 +0200 Subject: [PATCH] PCI: pciehp: Rename controller struct members for clarity @@ -2375,9 +2375,9 @@ index 4a17d71e15d3..e4d6ec960630 100644 } -- -2.30.1 +2.30.2 -From 7173953971568fd7a637b680ebe7d132704e35f1 Mon Sep 17 00:00:00 2001 +From b42e31499992febe61606f89c5cf0a1f5da5a8e7 Mon Sep 17 00:00:00 2001 From: Lukas Wunner Date: Sat, 8 Sep 2018 09:59:01 +0200 Subject: [PATCH] PCI: pciehp: Reshuffle controller struct for clarity @@ -2506,9 +2506,9 @@ index 2499489158cc..df82a0335515 100644 int request_result; wait_queue_head_t requester; -- -2.30.1 +2.30.2 -From 18b44448e1623d85b9fb4cd03e5a4e9bbb6dfafe Mon Sep 17 00:00:00 2001 +From 125bbed3bbef5dd58377e04af7e14000cc151af9 Mon Sep 17 00:00:00 2001 From: Keith Busch Date: Thu, 20 Sep 2018 10:27:17 -0600 Subject: [PATCH] PCI: Make link active reporting detection generic @@ -2608,10 +2608,10 @@ index e4d6ec960630..0693870a9e24 100644 /* Clear all remaining event bits in Slot Status register. */ pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c -index 83fda1987d1f..e8de06ad1a5f 100644 +index 9ebf32de8575..2d437c40f83b 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c -@@ -4532,21 +4532,42 @@ bool pcie_wait_for_link(struct pci_dev *pdev, bool active) +@@ -4536,21 +4536,42 @@ bool pcie_wait_for_link(struct pci_dev *pdev, bool active) bool ret; u16 lnk_status; @@ -2703,9 +2703,9 @@ index ec6c48ecd7d5..74c8e9190fed 100644 atomic_t enable_cnt; /* pci_enable_device has been called */ -- -2.30.1 +2.30.2 -From fcda984715e00de36b3c2ca35d8aaf8542a1f653 Mon Sep 17 00:00:00 2001 +From 2df75b6aa5d656453b53e085dbe447719b89bb5f Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Thu, 27 Sep 2018 16:53:53 -0500 Subject: [PATCH] PCI: Do not skip power-managed bridges in pci_enable_wake() @@ -2733,7 +2733,7 @@ Patchset: surface-hotplug 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c -index e8de06ad1a5f..b3068dfcf3f0 100644 +index 2d437c40f83b..4a874e8fa1d5 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -2151,10 +2151,13 @@ static int __pci_enable_wake(struct pci_dev *dev, pci_power_t state, bool enable @@ -2754,9 +2754,9 @@ index e8de06ad1a5f..b3068dfcf3f0 100644 /* Don't do the same thing twice in a row for one device. */ -- -2.30.1 +2.30.2 -From db3dcb49f014b68cfd8dc2b28acf8fe35ed38f67 Mon Sep 17 00:00:00 2001 +From fe906448e416150a5cda10b0af7e5d776fb0a74d Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Thu, 27 Sep 2018 16:38:19 -0500 Subject: [PATCH] PCI: pciehp: Disable hotplug interrupt during suspend @@ -2868,9 +2868,9 @@ index 0693870a9e24..b5c7f5ef597a 100644 * pciehp has a 1:1 bus:slot relationship so we ultimately want a secondary * bus reset of the bridge, but at the same time we want to ensure that it is -- -2.30.1 +2.30.2 -From 9a4814d0b02f7f3c93650b638aa6b5ea509b781d Mon Sep 17 00:00:00 2001 +From f22b2f5148ccf63ce6ffed7ad981faf05b95ef62 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Thu, 27 Sep 2018 16:41:46 -0500 Subject: [PATCH] PCI: pciehp: Do not handle events if interrupts are masked @@ -2910,9 +2910,9 @@ index b5c7f5ef597a..242b9f30210a 100644 /* -- -2.30.1 +2.30.2 -From 7442c365fdd6612887b88ce9540cce0edb55183e Mon Sep 17 00:00:00 2001 +From ac24474054f54d3fec17864d580cafa12a4744d8 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Thu, 27 Sep 2018 16:41:47 -0500 Subject: [PATCH] PCI/portdrv: Resume upon exit from system suspend if left @@ -2963,9 +2963,9 @@ index 23a5a0c2c3fe..5badf8a1ce0a 100644 if (pci_bridge_d3_possible(dev)) { /* -- -2.30.1 +2.30.2 -From 75e4513ffa1cf1547e37d641d408f78d521669c4 Mon Sep 17 00:00:00 2001 +From 9bebdf2f4f2496d23af2b7f71a64381be52a7d03 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Thu, 27 Sep 2018 16:41:48 -0500 Subject: [PATCH] PCI/portdrv: Add runtime PM hooks for port service drivers @@ -3075,9 +3075,9 @@ index 5badf8a1ce0a..59d2567e2db2 100644 }; -- -2.30.1 +2.30.2 -From e01c9041c2054ea38ca001d1af24567ce237bc2d Mon Sep 17 00:00:00 2001 +From 4d8a5bf4f3a4b38a0e0f9e919f923042b59e2543 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Thu, 27 Sep 2018 16:41:49 -0500 Subject: [PATCH] PCI: pciehp: Implement runtime PM callbacks @@ -3132,9 +3132,9 @@ index 8e6e4ce869fb..e5de25ebc4cf 100644 }; -- -2.30.1 +2.30.2 -From 6a8cb3c339a6042556e131f575e9ae5d468b9bdc Mon Sep 17 00:00:00 2001 +From a2b6163277489d63e0cf793c30d20db642c3f186 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Thu, 27 Sep 2018 16:57:05 -0500 Subject: [PATCH] ACPI / property: Allow multiple property compatible _DSD @@ -3427,9 +3427,9 @@ index 019468f072b7..2b2d92863923 100644 void **valptr); int acpi_dev_prop_read_single(struct acpi_device *adev, -- -2.30.1 +2.30.2 -From c2fddc436db4648da7a6cbc4ccc1dc41c7206652 Mon Sep 17 00:00:00 2001 +From 2654bfcdd7204cc50c9aa60fe78f764a848a9182 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Thu, 27 Sep 2018 16:57:14 -0500 Subject: [PATCH] PCI / ACPI: Whitelist D3 for more PCIe hotplug ports @@ -3544,7 +3544,7 @@ index 2c46f7dcd2f5..1516327a8459 100644 .set_state = acpi_pci_set_power_state, .get_state = acpi_pci_get_power_state, diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c -index b3068dfcf3f0..9a6dd521745b 100644 +index 4a874e8fa1d5..a60eb5780cc0 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -793,6 +793,11 @@ static inline bool platform_pci_need_resume(struct pci_dev *dev) @@ -3592,9 +3592,9 @@ index e9ede82ee2c2..0a5efc437bd1 100644 int (*set_state)(struct pci_dev *dev, pci_power_t state); pci_power_t (*get_state)(struct pci_dev *dev); -- -2.30.1 +2.30.2 -From 5e0bdb7eb9128b95661aa136d67c812d37175a33 Mon Sep 17 00:00:00 2001 +From c335614699d12d3784f30aee0ffdae224857d857 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Mon, 7 Jan 2019 16:09:40 +0300 Subject: [PATCH] PCI: pciehp: Assign ctrl->slot_ctrl before writing it to @@ -3646,9 +3646,9 @@ index 242b9f30210a..7074d4923811 100644 /* * Controllers with the Intel CF118 and similar errata advertise -- -2.30.1 +2.30.2 -From ee36de3475c8d168f0766db974b636ce7ab21c7c Mon Sep 17 00:00:00 2001 +From d0d1cfbe34bfe1a64dcc6e43b9353595d0a98429 Mon Sep 17 00:00:00 2001 From: Mika Westerberg Date: Thu, 31 Jan 2019 20:07:46 +0300 Subject: [PATCH] PCI: pciehp: Disable Data Link Layer State Changed event on @@ -3735,9 +3735,9 @@ index 7074d4923811..a37ff79a6e9e 100644 /* -- -2.30.1 +2.30.2 -From 1d61f8f2b2b6d7baabd36d6577955414c451ea2f Mon Sep 17 00:00:00 2001 +From 1e4754b6c11a32f868d65f6b3bf47d6b86d772a2 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Thu, 29 Oct 2020 22:04:38 +0100 Subject: [PATCH] PCI: Allow D3cold for hot-plug ports on Surface Books @@ -3769,7 +3769,7 @@ Patchset: surface-hotplug 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c -index 9a6dd521745b..407dd9581fd5 100644 +index a60eb5780cc0..65bb9c2c1a5b 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -2523,6 +2523,32 @@ static const struct dmi_system_id bridge_d3_blacklist[] = { @@ -3820,9 +3820,9 @@ index 9a6dd521745b..407dd9581fd5 100644 if (dmi_check_system(bridge_d3_blacklist)) return false; -- -2.30.1 +2.30.2 -From 6c0c9aee0dbd96b35a68f3c382c98f788b8b2040 Mon Sep 17 00:00:00 2001 +From 5891271561fab3ceab1776e4ff74f07252f8deab Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 9 Nov 2020 14:23:00 +0100 Subject: [PATCH] PCI: Run platform power transition on initial D0 entry @@ -3867,7 +3867,7 @@ Patchset: surface-hotplug 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c -index 407dd9581fd5..6bf649d1166e 100644 +index 65bb9c2c1a5b..32491d59c228 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1520,9 +1520,7 @@ static int do_pci_enable_device(struct pci_dev *dev, int bars) @@ -3882,9 +3882,9 @@ index 407dd9581fd5..6bf649d1166e 100644 bridge = pci_upstream_bridge(dev); if (bridge) -- -2.30.1 +2.30.2 -From a176dd41e5aef00098579ac84be0d8df154ab595 Mon Sep 17 00:00:00 2001 +From a7232efca9e5a255e641d5fc3c2d7799ca9ff0c9 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Sat, 31 Oct 2020 20:46:33 +0100 Subject: [PATCH] PCI: Add sysfs attribute for PCI device power state @@ -3955,9 +3955,9 @@ index 1edf5a1836ea..ee1518650d55 100644 &dev_attr_vendor.attr, &dev_attr_device.attr, -- -2.30.1 +2.30.2 -From a26c95a73631adda8e8ebdb3b8c9e684bc359ce3 Mon Sep 17 00:00:00 2001 +From 92b49edc96eae541234d8b82fc7a6b63e1c5b545 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 14 Dec 2020 20:50:59 +0100 Subject: [PATCH] platform/x86: Add Surface Hotplug driver @@ -4307,5 +4307,5 @@ index 000000000000..cfcc15cfbacb +MODULE_DESCRIPTION("Surface Hot-Plug Signaling Driver for Surface Book Devices"); +MODULE_LICENSE("GPL"); -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0012-surface-typecover.patch b/patches/4.19/0012-surface-typecover.patch index 9af11d907..2e1202f9a 100644 --- a/patches/4.19/0012-surface-typecover.patch +++ b/patches/4.19/0012-surface-typecover.patch @@ -1,4 +1,4 @@ -From aec4ab89a338be8101970da1f09ee2a667790ed0 Mon Sep 17 00:00:00 2001 +From a93521a5b016978f2375de8382eee6d283fcf8b0 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,5 @@ index ccda72f748ee..96fb231fd266 100644 { .driver_data = MT_CLS_GOOGLE, HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY, USB_VENDOR_ID_GOOGLE, -- -2.30.1 +2.30.2 diff --git a/patches/4.19/0013-ath10k-firmware-override.patch b/patches/4.19/0013-ath10k-firmware-override.patch index 676484037..7e6f8bda8 100644 --- a/patches/4.19/0013-ath10k-firmware-override.patch +++ b/patches/4.19/0013-ath10k-firmware-override.patch @@ -1,4 +1,4 @@ -From 62724d9c54ac108b79b50b5bffc3ff3a99fb8d3c Mon Sep 17 00:00:00 2001 +From 70905cabdae3c7878e84370bca9ba5972e8102de 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 @@ -116,5 +116,5 @@ index 436eac342b62..c9028d59bfe2 100644 ret = firmware_request_nowarn(&fw, filename, ar->dev); ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot fw request '%s': %d\n", -- -2.30.1 +2.30.2 diff --git a/pkg/arch/kernel-lts/PKGBUILD b/pkg/arch/kernel-lts/PKGBUILD index 24fa63951..f1ceed41a 100644 --- a/pkg/arch/kernel-lts/PKGBUILD +++ b/pkg/arch/kernel-lts/PKGBUILD @@ -45,19 +45,19 @@ sha256sums=('499d31a33e763b4b4d5dacf96977cf875fd982363dfb96ca50bb8ada4d243e92' '4e68572e7cc4c5368f0236e0792660ae8498373988625dca46e509399a7eaea6' 'a13581d3c6dc595206e4fe7fcf6b542e7a1bdbe96101f0f010fc5be49f99baf2' 'c523d8ba9f02992c34b325cd7b07e27bfead33ecab29877e659a12b2d56b1118' - 'aa024fcc4351e50e0052f2a8a02b0b0b3a986cbe7e9490e9b59b33e93ac53bd2' - 'dee702f370c7a64deb4757df15bac6e800a557fe56ae570fb3d098a93f45553b' - '4850a2fb42fa0789bb052b9743260684a2f1a5d73b8c79a0a4b39d70c07ba3ad' - '578bd0967c2af521874d8d3327a4b65fe3cf9dfa93fd1bfa0139cde062e7f71d' - 'f2d864aeb43c730e4185183ba133fe55b9a2ccfbc137309aec71e82fe31be7f3' - '3ebd21b62dcd5a86c53f068991d1d9d8fd47c9c61a2d3ae41ca51beb70f058da' - 'cb6d1bf3a7f0405c7f67104016f46f93593a1e9d366ac289b7353ddd7f9a292c' - '85b7e9fa1dfc1f6802ccf787d7030cd81fb798c9036564d6016e11d5da639dc4' - '4472ff51d5bbc369b9fa590c1ff768476dcfa0226191b8804174263ab383e75b' - 'aca060c28c5ddb1f446a734d331e6b63ed575149f91ba8b66877b9b027e569ee' - 'd795e7517b84c72745dff779019b86f35e1ed2afe2fd53adcfcd3ce14495965f' - 'a2345d412d4e7e3dc6d7e28510f0cf5f9c1bd64bf8270ff8853f2b22cd252331' - 'ade967e6df90bdf7f0e97742e28aabadcdada213d4a178b26d0790563194e15e') + '4ad8c1698c08c752deb94b44805a1fdfacbce97561a4e3e9ed7570956955364c' + 'c24467006cc0fff6bf46383f53d4313e2d10750c4d0f4d7751132dcfb53eb264' + '1d624e8a911f5dafdbd123b59151cdbb201bb26980cd982b76b4fcc022850cfc' + '74b1288db633df2a2d4235846034f6db1126eca384d60aad358c121f06516c5f' + 'c47c68256b93203cb4a2835ed49fe6d78ed51910b238e0cb3dead51b413b225c' + 'd7bde21d58787e04f17d50abc0df35016edcf627106b173f9b665f20c7a08dcd' + '21c28d4c414ae267967ea5c20e8cf8de292be18322d12a3ecd52daf1b8dcac5b' + 'e943d455ffbf11b3a5fa596246c4246440b9b8fd7aaec63bcaeb04698f8a8b32' + '8726cce41fe52662d67521703bfcda366b9e451bd161eaa457bc4bc9da057407' + '2de5dc56ae244166e4fc9d0cb9469573a91e4c1ef757e2a6a27839b8342a19bc' + '1a43b2da6b1c5ea732e6214b9bfa8e06eab7395c066eb1618cd34d20451b45cd' + 'bd7c10da26c584249a0ce3aef42ed92077dd5826ce67a9e8f9df829dbb23943c' + 'fba372e779b9dd6c243ea1d7f70f46edbf009cfb9fdce5dc231896cf894b393d') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase