|
@@ -1,4 +1,4 @@
|
|
-From b0e6372b0909d5ff1934f1120ec27f68d7efd31d Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 58a6da7f2880ac115a0263c12598d24369c7b3a1 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 21 Dec 2020 19:39:51 +0100
|
|
Date: Mon, 21 Dec 2020 19:39:51 +0100
|
|
Subject: [PATCH] platform/surface: Add Surface Aggregator subsystem
|
|
Subject: [PATCH] platform/surface: Add Surface Aggregator subsystem
|
|
@@ -9160,7 +9160,7 @@ index 000000000000..64276fbfa1d5
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 99bbdc764c49b8f0ce71d4f2c2d0cdaeab0972dc Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From f2e6ca30eecf46c127a8ffd8597e97d3456b1120 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 21 Dec 2020 19:39:52 +0100
|
|
Date: Mon, 21 Dec 2020 19:39:52 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: Add control packet allocation
|
|
Subject: [PATCH] platform/surface: aggregator: Add control packet allocation
|
|
@@ -9322,7 +9322,7 @@ index 058f111292ca..e8757d03f279 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 0a19ee9df110e8c0dbe61a7c7ec1c3e4056b5f0b Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 314b60bf81ac3e396f961ebaf4c213f800280e62 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 21 Dec 2020 19:39:53 +0100
|
|
Date: Mon, 21 Dec 2020 19:39:53 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: Add event item allocation
|
|
Subject: [PATCH] platform/surface: aggregator: Add event item allocation
|
|
@@ -9550,7 +9550,7 @@ index 60d312f71436..37593234fb31 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From aef2741f44df4f9a9693912573bab5753d345b73 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 74e160a8116a7c91233f6a40df0e92b2aa28e149 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 21 Dec 2020 19:39:54 +0100
|
|
Date: Mon, 21 Dec 2020 19:39:54 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: Add trace points
|
|
Subject: [PATCH] platform/surface: aggregator: Add trace points
|
|
@@ -10444,7 +10444,7 @@ index 000000000000..dcca8007d876
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 5f3ad3999bd6e94b21dd0f92a0038a8c2cec32f4 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 45a8ebbe6e6f0c98a65a35f08576f8bf3aa8d8c1 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 21 Dec 2020 19:39:55 +0100
|
|
Date: Mon, 21 Dec 2020 19:39:55 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: Add error injection
|
|
Subject: [PATCH] platform/surface: aggregator: Add error injection
|
|
@@ -10953,7 +10953,7 @@ index dcca8007d876..eb332bb53ae4 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 2bd18b9641650e20dc9f027dca73bc923b4c0060 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From a3411816048809ea2ccc8a31522ea0eff3493345 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 21 Dec 2020 19:39:56 +0100
|
|
Date: Mon, 21 Dec 2020 19:39:56 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: Add dedicated bus and device
|
|
Subject: [PATCH] platform/surface: aggregator: Add dedicated bus and device
|
|
@@ -12052,7 +12052,7 @@ index fb4827027536..d21d2871387b 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From d1a61e6fe4f2fd32367b04df7fbc0fe6507ff470 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 25e93adb1348c1e9b0c07e0d75bc69091c65f346 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 21 Dec 2020 19:39:57 +0100
|
|
Date: Mon, 21 Dec 2020 19:39:57 +0100
|
|
Subject: [PATCH] docs: driver-api: Add Surface Aggregator subsystem
|
|
Subject: [PATCH] docs: driver-api: Add Surface Aggregator subsystem
|
|
@@ -13691,7 +13691,7 @@ index 530792c869c4..8e6fe82c1072 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 5b8699e91f3d4f5ca9a9e3cd4719097bf3a932dc Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 5b353904ad6287039fb1d6ac2a43de3c0303f256 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 21 Dec 2020 19:39:58 +0100
|
|
Date: Mon, 21 Dec 2020 19:39:58 +0100
|
|
Subject: [PATCH] platform/surface: Add Surface Aggregator user-space interface
|
|
Subject: [PATCH] platform/surface: Add Surface Aggregator user-space interface
|
|
@@ -14303,7 +14303,7 @@ index 000000000000..fbcce04abfe9
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 7d2fe55dcd0c3287d68b31744b2393238636db51 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From ed730e87b362611066420ff876c06590def31cdd Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 21 Dec 2020 19:39:59 +0100
|
|
Date: Mon, 21 Dec 2020 19:39:59 +0100
|
|
Subject: [PATCH] platform/surface: Add Surface ACPI Notify driver
|
|
Subject: [PATCH] platform/surface: Add Surface ACPI Notify driver
|
|
@@ -15418,7 +15418,7 @@ index 000000000000..8e3e86c7d78c
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From d45e5c58003401274817d39e4a9acdcc5c3d4f93 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 8b8d7ccc02020fde2df57bd8aa705d7b7b5a8274 Mon Sep 17 00:00:00 2001
|
|
From: Colin Ian King <colin.king@canonical.com>
|
|
From: Colin Ian King <colin.king@canonical.com>
|
|
Date: Mon, 11 Jan 2021 14:46:48 +0000
|
|
Date: Mon, 11 Jan 2021 14:46:48 +0000
|
|
Subject: [PATCH] platform/surface: fix potential integer overflow on shift of
|
|
Subject: [PATCH] platform/surface: fix potential integer overflow on shift of
|
|
@@ -15456,7 +15456,7 @@ index 8cd67a669c86..ef9c1f8e8336 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 8f4e5ae62603fcecc3ba3876a6af796a07edd5e2 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 0f2fab64b8d809ba309a103495e2154ea3292819 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 11 Jan 2021 16:48:50 +0100
|
|
Date: Mon, 11 Jan 2021 16:48:50 +0100
|
|
Subject: [PATCH] platform/surface: aggregator_cdev: Fix access of
|
|
Subject: [PATCH] platform/surface: aggregator_cdev: Fix access of
|
|
@@ -15496,7 +15496,7 @@ index 340d15b148b9..979340cdd9de 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 0b528a1ea8faca72ff84cfba78c942cee98178f5 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 69b33fe28171037b201c53e9347269b5bbba15dc Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Mon, 11 Jan 2021 16:48:51 +0100
|
|
Date: Mon, 11 Jan 2021 16:48:51 +0100
|
|
Subject: [PATCH] platform/surface: aggregator_cdev: Add comments regarding
|
|
Subject: [PATCH] platform/surface: aggregator_cdev: Add comments regarding
|
|
@@ -15565,7 +15565,7 @@ index 979340cdd9de..79e28fab7e40 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From a2e56b7ab88fdea4b3295202377267825bd9494b Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From a351632156b6f1a4d1bbf284176efca697e009a8 Mon Sep 17 00:00:00 2001
|
|
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
|
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
|
Date: Thu, 14 Jan 2021 09:04:52 +0100
|
|
Date: Thu, 14 Jan 2021 09:04:52 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: fix a kernel-doc markup
|
|
Subject: [PATCH] platform/surface: aggregator: fix a kernel-doc markup
|
|
@@ -15600,7 +15600,7 @@ index bb1c862411a2..25db4d638cfa 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 31b44df790e336129d4f09eb480693111ee9a27e Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 8023aa7044f272fbd1e34a4f5fa1c7869be8d391 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Thu, 14 Jan 2021 16:08:26 +0100
|
|
Date: Thu, 14 Jan 2021 16:08:26 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: Fix kernel-doc references
|
|
Subject: [PATCH] platform/surface: aggregator: Fix kernel-doc references
|
|
@@ -15637,7 +15637,7 @@ index 25db4d638cfa..52a83a8fcf82 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From d26072d970e134696749bdb941008ea16b87cd60 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 7965aebe27d23c180c6b16885a307717fae55055 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Tue, 26 Jan 2021 18:22:02 +0100
|
|
Date: Tue, 26 Jan 2021 18:22:02 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: Fix braces in if condition with
|
|
Subject: [PATCH] platform/surface: aggregator: Fix braces in if condition with
|
|
@@ -15700,7 +15700,7 @@ index 74f0faaa2b27..583315db8b02 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 32f243c5926b81235e7c07f0c9bd2efb58319ff6 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From fde343e0bbfeb41f8285aeec8c7c40bff68f898a Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Thu, 11 Feb 2021 13:41:49 +0100
|
|
Date: Thu, 11 Feb 2021 13:41:49 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: Fix access of unaligned value
|
|
Subject: [PATCH] platform/surface: aggregator: Fix access of unaligned value
|
|
@@ -15740,7 +15740,7 @@ index 583315db8b02..15d96eac6811 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 67bb8e68f005289990d1c907833ebb0117b8f530 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From ec0228ad0a845c10f4eb17e41bb9377e1453c5dd Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Sun, 7 Feb 2021 03:42:45 +0100
|
|
Date: Sun, 7 Feb 2021 03:42:45 +0100
|
|
Subject: [PATCH] platform/surface: Set up Surface Aggregator device registry
|
|
Subject: [PATCH] platform/surface: Set up Surface Aggregator device registry
|
|
@@ -16135,7 +16135,7 @@ index 000000000000..a051d941ad96
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 929363dabb58e3364309b16697169ca811e267ef Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 9c029925764eeae29efd8ff63c584a505972a08a Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Sun, 7 Feb 2021 04:14:35 +0100
|
|
Date: Sun, 7 Feb 2021 04:14:35 +0100
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add base device hub
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add base device hub
|
|
@@ -16461,7 +16461,7 @@ index a051d941ad96..6c23d75a044c 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From a5cb08f2f8f0e8844d6691d014bd8f4ac845d9ab Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 2b17c9111c4a8a4f3aafce20f982dfd2ee923a14 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Sun, 7 Feb 2021 04:55:09 +0100
|
|
Date: Sun, 7 Feb 2021 04:55:09 +0100
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add battery subsystem
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add battery subsystem
|
|
@@ -16547,7 +16547,7 @@ index 6c23d75a044c..cde279692842 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From bd620b62360d5f7b503b17f41fa5143e6c9eb962 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 22d82ad19ec3ff3c49ab86027d410938640b19cb Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Sun, 7 Feb 2021 05:01:08 +0100
|
|
Date: Sun, 7 Feb 2021 05:01:08 +0100
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add platform profile
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add platform profile
|
|
@@ -16646,7 +16646,7 @@ index cde279692842..33904613dd4b 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 2932d63b0ae1ec820632ed12be2c3be57f11013f Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From e193272525c04a83cdd806414be601a2f674e150 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Sun, 7 Feb 2021 05:06:41 +0100
|
|
Date: Sun, 7 Feb 2021 05:06:41 +0100
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add DTX device
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add DTX device
|
|
@@ -16687,7 +16687,7 @@ index 33904613dd4b..dc044d06828b 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From d0cb78da4cb4dc1fb43a25d625b68806d2f9172f Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 5de9bcd4b8476ad0362c3a9dafe640c07de7b5ac Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Sun, 7 Feb 2021 05:16:44 +0100
|
|
Date: Sun, 7 Feb 2021 05:16:44 +0100
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add HID subsystem
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add HID subsystem
|
|
@@ -16780,7 +16780,7 @@ index dc044d06828b..caee90d135c5 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 5e517e9d5c5bd59900e520a3483d50d2fba01aad Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From a343fe9fb5e3c096f3af8502eb42f476412bbc6e Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Tue, 9 Mar 2021 17:03:15 +0100
|
|
Date: Tue, 9 Mar 2021 17:03:15 +0100
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add support for
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add support for
|
|
@@ -16821,7 +16821,7 @@ index caee90d135c5..6de74e893d06 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 883527e9de3823e70167bde186841e1e11d81fc2 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 349afffcff99ca6bf137a6adc8622659c9b8de90 Mon Sep 17 00:00:00 2001
|
|
From: Wei Yongjun <weiyongjun1@huawei.com>
|
|
From: Wei Yongjun <weiyongjun1@huawei.com>
|
|
Date: Tue, 9 Mar 2021 13:15:00 +0000
|
|
Date: Tue, 9 Mar 2021 13:15:00 +0000
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Make symbol
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Make symbol
|
|
@@ -16862,7 +16862,7 @@ index 6de74e893d06..304d601980ed 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 5bec420a4b64f42f8acae8745ee68de7a5e6f549 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From b44ab462a7cf810cae1df6e83e70522858fd998a Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Wed, 7 Apr 2021 01:51:47 +0200
|
|
Date: Wed, 7 Apr 2021 01:51:47 +0200
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Give devices time to
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Give devices time to
|
|
@@ -17103,7 +17103,7 @@ index 304d601980ed..dd1d6504b004 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 1093874f5f96b8965646ec8231c497afbad34a04 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 01df6e798a87c9269100e4feb22946c2aff7a6f8 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Tue, 9 Feb 2021 02:46:40 +0100
|
|
Date: Tue, 9 Feb 2021 02:46:40 +0100
|
|
Subject: [PATCH] platform/surface: Add DTX driver
|
|
Subject: [PATCH] platform/surface: Add DTX driver
|
|
@@ -18594,7 +18594,7 @@ index 000000000000..0833aab0d819
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 8cc6271c35f4d2ba758333c55e4c32f0dd6e204c Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 37948372b09b7c93c7f420681dc500127776d083 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Tue, 9 Feb 2021 02:50:11 +0100
|
|
Date: Tue, 9 Feb 2021 02:50:11 +0100
|
|
Subject: [PATCH] platform/surface: dtx: Add support for native SSAM devices
|
|
Subject: [PATCH] platform/surface: dtx: Add support for native SSAM devices
|
|
@@ -18735,7 +18735,7 @@ index a95adc1094aa..4bb5d286bf95 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From b9ab2595f21ee5ea8ca9d2dc2e486f13eaa936a3 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From f69e7b3d2f84a387426e40020578de898d516385 Mon Sep 17 00:00:00 2001
|
|
From: kernel test robot <lkp@intel.com>
|
|
From: kernel test robot <lkp@intel.com>
|
|
Date: Wed, 7 Apr 2021 01:51:07 +0200
|
|
Date: Wed, 7 Apr 2021 01:51:07 +0200
|
|
Subject: [PATCH] platform/surface: fix semicolon.cocci warnings
|
|
Subject: [PATCH] platform/surface: fix semicolon.cocci warnings
|
|
@@ -18775,7 +18775,7 @@ index 4bb5d286bf95..2591b875b016 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From d802d522212954b92974b69e4ea1cdb10f293e91 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 52a9aeb9bb979764965c689119dbf22540fc5803 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Tue, 9 Feb 2021 02:55:31 +0100
|
|
Date: Tue, 9 Feb 2021 02:55:31 +0100
|
|
Subject: [PATCH] docs: driver-api: Add Surface DTX driver documentation
|
|
Subject: [PATCH] docs: driver-api: Add Surface DTX driver documentation
|
|
@@ -19543,7 +19543,7 @@ index 1a60e353df38..a6a4f5afdfa8 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From f6d44a442e0825c88f98c43991bfb9f8b00f178d Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 745c3eef138c4ae4e6c74b0c2bd320341afed97f Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Thu, 11 Feb 2021 20:08:50 +0100
|
|
Date: Thu, 11 Feb 2021 20:08:50 +0100
|
|
Subject: [PATCH] HID: Add support for Surface Aggregator Module HID transport
|
|
Subject: [PATCH] HID: Add support for Surface Aggregator Module HID transport
|
|
@@ -20286,7 +20286,7 @@ index 000000000000..4b1a7b57e035
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From e21bb102775dab522edc8f9445ad1e9c19bbe6a6 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From cd143ccb5dd78c4fcbe8b67f981651a737f3dbc9 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Thu, 11 Feb 2021 20:10:17 +0100
|
|
Date: Thu, 11 Feb 2021 20:10:17 +0100
|
|
Subject: [PATCH] HID: surface-hid: Add support for legacy keyboard interface
|
|
Subject: [PATCH] HID: surface-hid: Add support for legacy keyboard interface
|
|
@@ -20678,7 +20678,7 @@ index 000000000000..0635341bc517
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 2c1f32d2c600f86a7f2cb3272168afc0949b2564 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 4827f5746e73d087228bce8aa13119a8c0c69351 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Fri, 23 Apr 2021 00:51:22 +0200
|
|
Date: Fri, 23 Apr 2021 00:51:22 +0200
|
|
Subject: [PATCH] HID: surface-hid: Fix integer endian conversion
|
|
Subject: [PATCH] HID: surface-hid: Fix integer endian conversion
|
|
@@ -20717,7 +20717,7 @@ index 7b27ec392232..5571e74abe91 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 3444bcd13eb94ad0c36261fea07fe855a231d21f Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 39e24075194736eb0b481c30e3f1898058ba2b33 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Fri, 12 Feb 2021 21:06:12 +0100
|
|
Date: Fri, 12 Feb 2021 21:06:12 +0100
|
|
Subject: [PATCH] power: supply: Add battery driver for Surface Aggregator
|
|
Subject: [PATCH] power: supply: Add battery driver for Surface Aggregator
|
|
@@ -21674,7 +21674,7 @@ index 000000000000..1f114f3f3f59
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 2f173f52616fd3522f6a4c106f8c8a6552e6693d Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 1abe3f49fc1da1156c105005810ac161a5ba227f Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Fri, 12 Feb 2021 21:07:17 +0100
|
|
Date: Fri, 12 Feb 2021 21:07:17 +0100
|
|
Subject: [PATCH] power: supply: Add AC driver for Surface Aggregator Module
|
|
Subject: [PATCH] power: supply: Add AC driver for Surface Aggregator Module
|
|
@@ -22040,7 +22040,7 @@ index 000000000000..e89ffab86e9c
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From f58b7176b80070af246faf73218f5302f371474a Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From defd14e2d308a0467e6393fb0e61aeeda0845c66 Mon Sep 17 00:00:00 2001
|
|
From: Qiheng Lin <linqiheng@huawei.com>
|
|
From: Qiheng Lin <linqiheng@huawei.com>
|
|
Date: Sat, 10 Apr 2021 12:12:46 +0800
|
|
Date: Sat, 10 Apr 2021 12:12:46 +0800
|
|
Subject: [PATCH] power: supply: surface-battery: Make some symbols static
|
|
Subject: [PATCH] power: supply: surface-battery: Make some symbols static
|
|
@@ -22089,7 +22089,7 @@ index 1f114f3f3f59..41342f4534f6 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 769be47da5281aa2a8218ac5d65e38e19f1c346e Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From d02960bb3512cd3198bfce507fcef0f7f4154769 Mon Sep 17 00:00:00 2001
|
|
From: Qiheng Lin <linqiheng@huawei.com>
|
|
From: Qiheng Lin <linqiheng@huawei.com>
|
|
Date: Sat, 10 Apr 2021 12:12:49 +0800
|
|
Date: Sat, 10 Apr 2021 12:12:49 +0800
|
|
Subject: [PATCH] power: supply: surface-charger: Make symbol
|
|
Subject: [PATCH] power: supply: surface-charger: Make symbol
|
|
@@ -22128,7 +22128,7 @@ index e89ffab86e9c..367f63116d35 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 3a5d57cff792b44a0c2689acfa8963e04edf3da6 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 47fffec21d3bde7825302b9f7d72a0b1d312ca38 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Tue, 4 May 2021 20:00:46 +0200
|
|
Date: Tue, 4 May 2021 20:00:46 +0200
|
|
Subject: [PATCH] power: supply: surface_battery: Fix battery event handling
|
|
Subject: [PATCH] power: supply: surface_battery: Fix battery event handling
|
|
@@ -22185,7 +22185,39 @@ index 41342f4534f6..3844146b06b8 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 3025c62cf2900ab077aa5b8dfa1bbdd755297650 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From b6b6c8c6b21257539ead27c8ee0a557eb8729c39 Mon Sep 17 00:00:00 2001
|
|
|
|
+From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
|
+Date: Tue, 11 May 2021 11:24:21 +0200
|
|
|
|
+Subject: [PATCH] power: supply: surface-charger: Fix type of integer variable
|
|
|
|
+
|
|
|
|
+The ac->state field is __le32, not u32. So change the variable we're
|
|
|
|
+temporarily storing it in to __le32 as well.
|
|
|
|
+
|
|
|
|
+Reported-by: kernel test robot <lkp@intel.com>
|
|
|
|
+Fixes: e61ffb344591 ("power: supply: Add AC driver for Surface Aggregator Module")
|
|
|
|
+Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
|
+Patchset: surface-sam
|
|
|
|
+---
|
|
|
|
+ drivers/power/supply/surface_charger.c | 2 +-
|
|
|
|
+ 1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
+
|
|
|
|
+diff --git a/drivers/power/supply/surface_charger.c b/drivers/power/supply/surface_charger.c
|
|
|
|
+index 367f63116d35..d2e1e7215e7b 100644
|
|
|
|
+--- a/drivers/power/supply/surface_charger.c
|
|
|
|
++++ b/drivers/power/supply/surface_charger.c
|
|
|
|
+@@ -66,7 +66,7 @@ struct spwr_ac_device {
|
|
|
|
+
|
|
|
|
+ static int spwr_ac_update_unlocked(struct spwr_ac_device *ac)
|
|
|
|
+ {
|
|
|
|
+- u32 old = ac->state;
|
|
|
|
++ __le32 old = ac->state;
|
|
|
|
+ int status;
|
|
|
|
+
|
|
|
|
+ lockdep_assert_held(&ac->lock);
|
|
|
|
+--
|
|
|
|
+2.31.1
|
|
|
|
+
|
|
|
|
+From 065282c73ae360ce76c6b3d845c4b5c935e57225 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Sat, 13 Feb 2021 19:58:50 +0100
|
|
Date: Sat, 13 Feb 2021 19:58:50 +0100
|
|
Subject: [PATCH] platform/surface: Add performance mode driver
|
|
Subject: [PATCH] platform/surface: Add performance mode driver
|
|
@@ -22372,7 +22404,7 @@ index 000000000000..3b92a43f8606
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From 12493d3cf81fd107dc2bde1748ea7ebd3943704a Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 6a180d74589fa55bad4e2af580c99d51f9a94b44 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
Date: Thu, 4 Mar 2021 20:05:24 +0100
|
|
Date: Thu, 4 Mar 2021 20:05:24 +0100
|
|
Subject: [PATCH] platform/surface: aggregator: Make SSAM_DEFINE_SYNC_REQUEST_x
|
|
Subject: [PATCH] platform/surface: aggregator: Make SSAM_DEFINE_SYNC_REQUEST_x
|
|
@@ -22638,7 +22670,7 @@ index 3844146b06b8..5ec2e6bb2465 100644
|
|
.command_id = 0x04,
|
|
.command_id = 0x04,
|
|
});
|
|
});
|
|
diff --git a/drivers/power/supply/surface_charger.c b/drivers/power/supply/surface_charger.c
|
|
diff --git a/drivers/power/supply/surface_charger.c b/drivers/power/supply/surface_charger.c
|
|
-index 367f63116d35..81a5b79822c9 100644
|
|
|
|
|
|
+index d2e1e7215e7b..a060c36c7766 100644
|
|
--- a/drivers/power/supply/surface_charger.c
|
|
--- a/drivers/power/supply/surface_charger.c
|
|
+++ b/drivers/power/supply/surface_charger.c
|
|
+++ b/drivers/power/supply/surface_charger.c
|
|
@@ -28,13 +28,13 @@ enum sam_battery_sta {
|
|
@@ -28,13 +28,13 @@ enum sam_battery_sta {
|
|
@@ -22885,7 +22917,7 @@ index 02f3e06c0a60..4441ad667c3f 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
-From b5d1cf90607ebba9f240c3beae2e3f2e88cfdabc Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From af6f027aa7006955ab34f0b8086a31b5001f8e9e Mon Sep 17 00:00:00 2001
|
|
From: Dan Carpenter <dan.carpenter@oracle.com>
|
|
From: Dan Carpenter <dan.carpenter@oracle.com>
|
|
Date: Tue, 20 Apr 2021 11:44:02 +0300
|
|
Date: Tue, 20 Apr 2021 11:44:02 +0300
|
|
Subject: [PATCH] platform/surface: aggregator: fix a bit test
|
|
Subject: [PATCH] platform/surface: aggregator: fix a bit test
|
|
@@ -22920,3 +22952,206 @@ index aa6f37b4f46e..88ec47cae5bf 100644
|
|
--
|
|
--
|
|
2.31.1
|
|
2.31.1
|
|
|
|
|
|
|
|
+From 8aa0a9f385257f73ef5230a9634d30c878d6b2c2 Mon Sep 17 00:00:00 2001
|
|
|
|
+From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
|
+Date: Wed, 5 May 2021 18:17:04 +0200
|
|
|
|
+Subject: [PATCH] serial: 8250_dw: Add device HID for new AMD UART controller
|
|
|
|
+
|
|
|
|
+Add device HID AMDI0022 to the AMD UART controller driver match table
|
|
|
|
+and create a platform device for it. This controller can be found on
|
|
|
|
+Microsoft Surface Laptop 4 devices and seems similar enough that we can
|
|
|
|
+just copy the existing AMDI0020 entries.
|
|
|
|
+
|
|
|
|
+Cc: <stable@vger.kernel.org> # 5.10+
|
|
|
|
+Tested-by: Sachi King <nakato@nakato.io>
|
|
|
|
+Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
|
+Patchset: surface-sam
|
|
|
|
+---
|
|
|
|
+ drivers/acpi/acpi_apd.c | 1 +
|
|
|
|
+ drivers/tty/serial/8250/8250_dw.c | 1 +
|
|
|
|
+ 2 files changed, 2 insertions(+)
|
|
|
|
+
|
|
|
|
+diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c
|
|
|
|
+index 39359ce0eb2c..645e82a66bb0 100644
|
|
|
|
+--- a/drivers/acpi/acpi_apd.c
|
|
|
|
++++ b/drivers/acpi/acpi_apd.c
|
|
|
|
+@@ -226,6 +226,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
|
|
|
|
+ { "AMDI0010", APD_ADDR(wt_i2c_desc) },
|
|
|
|
+ { "AMD0020", APD_ADDR(cz_uart_desc) },
|
|
|
|
+ { "AMDI0020", APD_ADDR(cz_uart_desc) },
|
|
|
|
++ { "AMDI0022", APD_ADDR(cz_uart_desc) },
|
|
|
|
+ { "AMD0030", },
|
|
|
|
+ { "AMD0040", APD_ADDR(fch_misc_desc)},
|
|
|
|
+ { "HYGO0010", APD_ADDR(wt_i2c_desc) },
|
|
|
|
+diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c
|
|
|
|
+index 9e204f9b799a..a3a0154da567 100644
|
|
|
|
+--- a/drivers/tty/serial/8250/8250_dw.c
|
|
|
|
++++ b/drivers/tty/serial/8250/8250_dw.c
|
|
|
|
+@@ -714,6 +714,7 @@ static const struct acpi_device_id dw8250_acpi_match[] = {
|
|
|
|
+ { "APMC0D08", 0},
|
|
|
|
+ { "AMD0020", 0 },
|
|
|
|
+ { "AMDI0020", 0 },
|
|
|
|
++ { "AMDI0022", 0 },
|
|
|
|
+ { "BRCM2032", 0 },
|
|
|
|
+ { "HISI0031", 0 },
|
|
|
|
+ { },
|
|
|
|
+--
|
|
|
|
+2.31.1
|
|
|
|
+
|
|
|
|
+From 5d32107b843d7494944cfc7e047ddf84acb41980 Mon Sep 17 00:00:00 2001
|
|
|
|
+From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
|
+Date: Wed, 5 May 2021 18:22:04 +0200
|
|
|
|
+Subject: [PATCH] pinctrl/amd: Add device HID for new AMD GPIO controller
|
|
|
|
+
|
|
|
|
+Add device HID AMDI0031 to the AMD GPIO controller driver match table.
|
|
|
|
+This controller can be found on Microsoft Surface Laptop 4 devices and
|
|
|
|
+seems similar enough that we can just copy the existing AMDI0030 entry.
|
|
|
|
+
|
|
|
|
+Cc: <stable@vger.kernel.org> # 5.10+
|
|
|
|
+Tested-by: Sachi King <nakato@nakato.io>
|
|
|
|
+Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
|
+Patchset: surface-sam
|
|
|
|
+---
|
|
|
|
+ drivers/pinctrl/pinctrl-amd.c | 1 +
|
|
|
|
+ 1 file changed, 1 insertion(+)
|
|
|
|
+
|
|
|
|
+diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
|
|
|
|
+index 2d4acf21117c..c5950a3b4e4c 100644
|
|
|
|
+--- a/drivers/pinctrl/pinctrl-amd.c
|
|
|
|
++++ b/drivers/pinctrl/pinctrl-amd.c
|
|
|
|
+@@ -991,6 +991,7 @@ static int amd_gpio_remove(struct platform_device *pdev)
|
|
|
|
+ static const struct acpi_device_id amd_gpio_acpi_match[] = {
|
|
|
|
+ { "AMD0030", 0 },
|
|
|
|
+ { "AMDI0030", 0},
|
|
|
|
++ { "AMDI0031", 0},
|
|
|
|
+ { },
|
|
|
|
+ };
|
|
|
|
+ MODULE_DEVICE_TABLE(acpi, amd_gpio_acpi_match);
|
|
|
|
+--
|
|
|
|
+2.31.1
|
|
|
|
+
|
|
|
|
+From 1e8a0899da19dc6342ca0e966102027c44b67043 Mon Sep 17 00:00:00 2001
|
|
|
|
+From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
|
+Date: Mon, 10 May 2021 23:33:17 +0200
|
|
|
|
+Subject: [PATCH] x86/i8259: Work around buggy legacy PIC
|
|
|
|
+
|
|
|
|
+The legacy PIC on the AMD variant of the Microsoft Surface Laptop 4 has
|
|
|
|
+some problems on boot. For some reason it consistently does not respond
|
|
|
|
+on the first try, requiring a couple more tries before it finally
|
|
|
|
+responds.
|
|
|
|
+
|
|
|
|
+This currently leads to the PIC not being properly recognized, which
|
|
|
|
+prevents interrupt handling down the line. Ultimately, this also leads
|
|
|
|
+to the pinctrl-amd driver failing to probe due to platform_get_irq()
|
|
|
|
+returning -EINVAL for its base IRQ. That, in turn, means that several
|
|
|
|
+interrupts are not available and device drivers relying on those will
|
|
|
|
+defer probing indefinitely, as querying those interrupts returns
|
|
|
|
+-EPROBE_DEFER.
|
|
|
|
+
|
|
|
|
+Add a quirk table and a retry-loop to work around that.
|
|
|
|
+
|
|
|
|
+Also switch to pr_info() due to complaints by checkpatch and add a
|
|
|
|
+pr_fmt() definition for completeness.
|
|
|
|
+
|
|
|
|
+Cc: <stable@vger.kernel.org> # 5.10+
|
|
|
|
+Co-developed-by: Sachi King <nakato@nakato.io>
|
|
|
|
+Signed-off-by: Sachi King <nakato@nakato.io>
|
|
|
|
+Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
|
+Patchset: surface-sam
|
|
|
|
+---
|
|
|
|
+ arch/x86/kernel/i8259.c | 51 +++++++++++++++++++++++++++++++++++++----
|
|
|
|
+ 1 file changed, 46 insertions(+), 5 deletions(-)
|
|
|
|
+
|
|
|
|
+diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.c
|
|
|
|
+index 282b4ee1339f..0da757c6b292 100644
|
|
|
|
+--- a/arch/x86/kernel/i8259.c
|
|
|
|
++++ b/arch/x86/kernel/i8259.c
|
|
|
|
+@@ -1,4 +1,7 @@
|
|
|
|
+ // SPDX-License-Identifier: GPL-2.0
|
|
|
|
++
|
|
|
|
++#define pr_fmt(fmt) "i8259: " fmt
|
|
|
|
++
|
|
|
|
+ #include <linux/linkage.h>
|
|
|
|
+ #include <linux/errno.h>
|
|
|
|
+ #include <linux/signal.h>
|
|
|
|
+@@ -16,6 +19,7 @@
|
|
|
|
+ #include <linux/io.h>
|
|
|
|
+ #include <linux/delay.h>
|
|
|
|
+ #include <linux/pgtable.h>
|
|
|
|
++#include <linux/dmi.h>
|
|
|
|
+
|
|
|
|
+ #include <linux/atomic.h>
|
|
|
|
+ #include <asm/timer.h>
|
|
|
|
+@@ -298,11 +302,39 @@ static void unmask_8259A(void)
|
|
|
|
+ raw_spin_unlock_irqrestore(&i8259A_lock, flags);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
++/*
|
|
|
|
++ * DMI table to identify devices with quirky probe behavior. See comment in
|
|
|
|
++ * probe_8259A() for more details.
|
|
|
|
++ */
|
|
|
|
++static const struct dmi_system_id retry_probe_quirk_table[] = {
|
|
|
|
++ {
|
|
|
|
++ .ident = "Microsoft Surface Laptop 4 (AMD)",
|
|
|
|
++ .matches = {
|
|
|
|
++ DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
|
|
|
|
++ DMI_MATCH(DMI_PRODUCT_SKU, "Surface_Laptop_4_1952:1953")
|
|
|
|
++ },
|
|
|
|
++ },
|
|
|
|
++ {}
|
|
|
|
++};
|
|
|
|
++
|
|
|
|
+ static int probe_8259A(void)
|
|
|
|
+ {
|
|
|
|
+ unsigned long flags;
|
|
|
|
+ unsigned char probe_val = ~(1 << PIC_CASCADE_IR);
|
|
|
|
+ unsigned char new_val;
|
|
|
|
++ unsigned int i, imax = 1;
|
|
|
|
++
|
|
|
|
++ /*
|
|
|
|
++ * Some systems have a legacy PIC that doesn't immediately respond
|
|
|
|
++ * after boot. We know it's there, we know it should respond and is
|
|
|
|
++ * required for proper interrupt handling later on, so let's try a
|
|
|
|
++ * couple of times.
|
|
|
|
++ */
|
|
|
|
++ if (dmi_check_system(retry_probe_quirk_table)) {
|
|
|
|
++ pr_warn("system with broken legacy PIC detected, re-trying multiple times if necessary\n");
|
|
|
|
++ imax = 10;
|
|
|
|
++ }
|
|
|
|
++
|
|
|
|
+ /*
|
|
|
|
+ * Check to see if we have a PIC.
|
|
|
|
+ * Mask all except the cascade and read
|
|
|
|
+@@ -312,15 +344,24 @@ static int probe_8259A(void)
|
|
|
|
+ */
|
|
|
|
+ raw_spin_lock_irqsave(&i8259A_lock, flags);
|
|
|
|
+
|
|
|
|
+- outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-2 */
|
|
|
|
+- outb(probe_val, PIC_MASTER_IMR);
|
|
|
|
+- new_val = inb(PIC_MASTER_IMR);
|
|
|
|
+- if (new_val != probe_val) {
|
|
|
|
+- printk(KERN_INFO "Using NULL legacy PIC\n");
|
|
|
|
++ for (i = 0; i < imax; i++) {
|
|
|
|
++ outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-2 */
|
|
|
|
++ outb(probe_val, PIC_MASTER_IMR);
|
|
|
|
++ new_val = inb(PIC_MASTER_IMR);
|
|
|
|
++ if (new_val == probe_val)
|
|
|
|
++ break;
|
|
|
|
++ }
|
|
|
|
++
|
|
|
|
++ if (i == imax) {
|
|
|
|
++ pr_info("using NULL legacy PIC\n");
|
|
|
|
+ legacy_pic = &null_legacy_pic;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ raw_spin_unlock_irqrestore(&i8259A_lock, flags);
|
|
|
|
++
|
|
|
|
++ if (imax > 1 && i < imax)
|
|
|
|
++ pr_info("got legacy PIC after %d tries\n", i + 1);
|
|
|
|
++
|
|
|
|
+ return nr_legacy_irqs();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+--
|
|
|
|
+2.31.1
|
|
|
|
+
|