|
@@ -1,4 +1,4 @@
|
|
|
-From eeeef3799e00cdb43e97afe46253d327e03d1f09 Mon Sep 17 00:00:00 2001
|
|
|
+From 5c461f9a02a6b246cd5d6f336e9857f68e3f33f5 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Fri, 12 Feb 2021 12:54:34 +0100
|
|
|
Subject: [PATCH] platform/surface: Set up Surface Aggregator device registry
|
|
@@ -396,7 +396,7 @@ index 000000000000..a051d941ad96
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 7d2402b381414e11d981c599599e9993453ba51b Mon Sep 17 00:00:00 2001
|
|
|
+From b16adfbcbbcfcb91a12bbef70e97d5fcb46fc738 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Fri, 12 Feb 2021 12:54:35 +0100
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add base device hub
|
|
@@ -725,7 +725,7 @@ index a051d941ad96..6c23d75a044c 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 01363f0731083c6279306c63f882a0124be6632c Mon Sep 17 00:00:00 2001
|
|
|
+From 7043f508f8f6436aa15bcd10b06162de51492b3c Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Fri, 12 Feb 2021 12:54:36 +0100
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add battery subsystem
|
|
@@ -814,7 +814,7 @@ index 6c23d75a044c..cde279692842 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 921cc8049f2eadd96ae85f2d41b34da93890dcfb Mon Sep 17 00:00:00 2001
|
|
|
+From ec9ff6fd822f864d1e7a79d49f3fe04ae94541d7 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Fri, 12 Feb 2021 12:54:37 +0100
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add platform profile
|
|
@@ -916,7 +916,7 @@ index cde279692842..33904613dd4b 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 08b2ddde4aa3b052ffab18c68596b451d49ded2a Mon Sep 17 00:00:00 2001
|
|
|
+From 3a39df8ec143ff5544ca9782b0fbdcdabe102f14 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Fri, 12 Feb 2021 12:54:38 +0100
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add DTX device
|
|
@@ -960,7 +960,7 @@ index 33904613dd4b..dc044d06828b 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From ad9841ea14ede24d3428450920db3c59821a9b7a Mon Sep 17 00:00:00 2001
|
|
|
+From b9f0fb9a6e1ccafadcab8db17f47cf2710ec355e Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Fri, 12 Feb 2021 12:54:39 +0100
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add HID subsystem
|
|
@@ -1056,7 +1056,7 @@ index dc044d06828b..caee90d135c5 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 00218b5ed4a839fa2030f84195a4deb9c173cf6c Mon Sep 17 00:00:00 2001
|
|
|
+From 0299787a20eaab2f25644780c5bdd5c6b5673a20 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Thu, 11 Feb 2021 21:17:03 +0100
|
|
|
Subject: [PATCH] platform/surface: Add platform profile driver
|
|
@@ -1342,7 +1342,7 @@ index 000000000000..0081b01a5b0f
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 6328c01f491021081fa4e607d1277a4b857515e5 Mon Sep 17 00:00:00 2001
|
|
|
+From 5968fbbdf26439b3f999e793e94b2c08e53e24f7 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Thu, 4 Mar 2021 20:05:24 +0100
|
|
|
Subject: [PATCH] platform/surface: aggregator: Make SSAM_DEFINE_SYNC_REQUEST_x
|
|
@@ -1721,7 +1721,7 @@ index 02f3e06c0a60..4441ad667c3f 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 5d28f623f6ea1af6ba9e85b4b1920993909c8fc3 Mon Sep 17 00:00:00 2001
|
|
|
+From 5735d958ba853c98ae717fab7a34422e4d751d44 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Mon, 8 Mar 2021 19:48:17 +0100
|
|
|
Subject: [PATCH] platform/surface: Add DTX driver
|
|
@@ -3216,7 +3216,7 @@ index 000000000000..0833aab0d819
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 4482312cd7a3204807c022194849bac10a0b71a6 Mon Sep 17 00:00:00 2001
|
|
|
+From 417d833545576dd36bbb06fed755e36df3ce3fd0 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Mon, 8 Mar 2021 19:48:18 +0100
|
|
|
Subject: [PATCH] platform/surface: dtx: Add support for native SSAM devices
|
|
@@ -3360,7 +3360,7 @@ index 1301fab0ea14..85451eb94d98 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 0d85ae4fe9b51e78cb3aec098a0f7ef938740bae Mon Sep 17 00:00:00 2001
|
|
|
+From 301765a4e7059b8b9f5a5880af86c4d34569e6f4 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Mon, 8 Mar 2021 19:48:19 +0100
|
|
|
Subject: [PATCH] docs: driver-api: Add Surface DTX driver documentation
|
|
@@ -4131,7 +4131,7 @@ index 3917e7363520..da1487d672a8 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 5163764ad6233534f1192e016a92601b698e42ab Mon Sep 17 00:00:00 2001
|
|
|
+From c261be4c4eeae67003121fea202b82355b22fe77 Mon Sep 17 00:00:00 2001
|
|
|
From: Wei Yongjun <weiyongjun1@huawei.com>
|
|
|
Date: Tue, 9 Mar 2021 13:15:00 +0000
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Make symbol
|
|
@@ -4172,7 +4172,7 @@ index cdb4a95af3e8..86cff5fce3cd 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 149c08f2228d6a076727cc47c2df7ec35eb6dceb Mon Sep 17 00:00:00 2001
|
|
|
+From 7558be23268e2d43cc2725fbec42c80d91c52d5b Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Tue, 9 Mar 2021 17:25:50 +0100
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add support for
|
|
@@ -4215,7 +4215,7 @@ index 86cff5fce3cd..eccb9d1007cd 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 605b213e8756c7d0499afcbbe3e809bd9482703d Mon Sep 17 00:00:00 2001
|
|
|
+From 56e9ce401cedc186252ad15ab362334fbd68d3bd Mon Sep 17 00:00:00 2001
|
|
|
From: kernel test robot <lkp@intel.com>
|
|
|
Date: Fri, 19 Mar 2021 13:19:19 +0800
|
|
|
Subject: [PATCH] platform/surface: fix semicolon.cocci warnings
|
|
@@ -4254,7 +4254,7 @@ index 85451eb94d98..1fedacf74050 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From f13b83611a341a196ef74bde72d9d44997c995f0 Mon Sep 17 00:00:00 2001
|
|
|
+From f27208707d150ce3b84900b7df258238741bfec4 Mon Sep 17 00:00:00 2001
|
|
|
From: Dan Carpenter <dan.carpenter@oracle.com>
|
|
|
Date: Fri, 26 Mar 2021 15:28:48 +0300
|
|
|
Subject: [PATCH] platform/surface: clean up a variable in surface_dtx_read()
|
|
@@ -4287,7 +4287,7 @@ index 1fedacf74050..63ce587e79e3 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 66db7a63aee86176b53d736a5ad14305faa31372 Mon Sep 17 00:00:00 2001
|
|
|
+From be7af3efc60f54e6c4cd21d42be2860633235c4f Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Tue, 6 Apr 2021 01:12:22 +0200
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Give devices time to
|
|
@@ -4530,7 +4530,7 @@ index eccb9d1007cd..685d37a7add1 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 8c9dc972aa9e6c3a81fcb4a9fb5d3b56cdaa72cd Mon Sep 17 00:00:00 2001
|
|
|
+From 36e55444909bf68c59d82835f78aef1a3be0881b Mon Sep 17 00:00:00 2001
|
|
|
From: Barry Song <song.bao.hua@hisilicon.com>
|
|
|
Date: Wed, 3 Mar 2021 11:49:15 +1300
|
|
|
Subject: [PATCH] genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()
|
|
@@ -4632,7 +4632,7 @@ index 21ea370fccda..49288e941365 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 09549164fb369371e866f0ea28c98e75e24bd25a Mon Sep 17 00:00:00 2001
|
|
|
+From d9db3c8d39f1366a9f05862bc65c6eb5e208c3aa Mon Sep 17 00:00:00 2001
|
|
|
From: Tian Tao <tiantao6@hisilicon.com>
|
|
|
Date: Wed, 7 Apr 2021 15:00:52 +0800
|
|
|
Subject: [PATCH] platform/surface: aggregator: move to use request_irq by
|
|
@@ -4679,7 +4679,7 @@ index 88ec47cae5bf..69e86cd599d3 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 76258d399e4530578f39c5fb9d6f08d0cbd1d05e Mon Sep 17 00:00:00 2001
|
|
|
+From e82b875bbb6a4d80eaa5e7022aafcc6f2f590239 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Wed, 5 May 2021 14:53:45 +0200
|
|
|
Subject: [PATCH] platform/surface: aggregator: Do not mark interrupt as shared
|
|
@@ -4713,7 +4713,7 @@ index 69e86cd599d3..8a70df60142c 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 28d357d824560804480c4b4d945d0bb256b7e4d2 Mon Sep 17 00:00:00 2001
|
|
|
+From 8534eb8c810e91034f58356fd4dca34d46b32201 Mon Sep 17 00:00:00 2001
|
|
|
From: Arnd Bergmann <arnd@arndb.de>
|
|
|
Date: Fri, 14 May 2021 22:04:36 +0200
|
|
|
Subject: [PATCH] platform/surface: aggregator: avoid clang
|
|
@@ -4772,7 +4772,7 @@ index 4441ad667c3f..6ff9c58b3e17 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 37da58d6054cf72308c52daeb98f6790004cd663 Mon Sep 17 00:00:00 2001
|
|
|
+From 2f433f0e29771d13fc697b13bad1eb306523c288 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Thu, 13 May 2021 15:44:37 +0200
|
|
|
Subject: [PATCH] platform/surface: dtx: Fix poll function
|
|
@@ -4825,7 +4825,7 @@ index 63ce587e79e3..5d9b758a99bb 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 500a7dbb2db9827a866638d957611605f18e9fba Mon Sep 17 00:00:00 2001
|
|
|
+From a027c734d4863d1245dc0d4f8c1f4cdf40b381ac Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Sun, 23 May 2021 14:35:37 +0200
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Update comments for
|
|
@@ -4866,7 +4866,7 @@ index 685d37a7add1..bdc09305aab7 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 6ea2f6ce3aef567fcfb28cf85599e0e386099996 Mon Sep 17 00:00:00 2001
|
|
|
+From 7bfc49cfe5e74b8855cbb47eadf0b75f976d0d78 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Sun, 23 May 2021 14:36:36 +0200
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Add support for 13"
|
|
@@ -4901,7 +4901,7 @@ index bdc09305aab7..ef83461fa536 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From b50d1092897721641b057a597a18931037a7314d Mon Sep 17 00:00:00 2001
|
|
|
+From 1d2e9c298aa07705bfad5a315bdfad1c1acce683 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Sun, 23 May 2021 14:09:42 +0200
|
|
|
Subject: [PATCH] platform/surface: aggregator_registry: Consolidate node
|
|
@@ -5017,7 +5017,7 @@ index ef83461fa536..4428c4330229 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 4e1e564af4f6786609bf79786b334e9f87caf387 Mon Sep 17 00:00:00 2001
|
|
|
+From f7e73dd4bed428c2b31057b80158b8057fe38fc1 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Wed, 10 Mar 2021 23:53:28 +0100
|
|
|
Subject: [PATCH] HID: Add support for Surface Aggregator Module HID transport
|
|
@@ -5764,7 +5764,7 @@ index 000000000000..4b1a7b57e035
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From a7cdf2062e021e62de89568a0d28ecc961b8a476 Mon Sep 17 00:00:00 2001
|
|
|
+From b5110e05305e02692a39e7d5b2a8f3d5ba9731cd Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Wed, 10 Mar 2021 23:53:29 +0100
|
|
|
Subject: [PATCH] HID: surface-hid: Add support for legacy keyboard interface
|
|
@@ -6135,7 +6135,7 @@ index 000000000000..0635341bc517
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From a5c403f4545c903e46a560fb7cebfd78b7c838ec Mon Sep 17 00:00:00 2001
|
|
|
+From 19e09ba208abd318e6e56144a8a790f79f33fee0 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Fri, 23 Apr 2021 00:51:22 +0200
|
|
|
Subject: [PATCH] HID: surface-hid: Fix integer endian conversion
|
|
@@ -6174,7 +6174,7 @@ index 7b27ec392232..5571e74abe91 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From d5a20a55551e94c548dc63342921360891e6b650 Mon Sep 17 00:00:00 2001
|
|
|
+From 8ed1e8336e7291c251e922c28f5af6bb0e7e681b Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Tue, 6 Apr 2021 01:41:25 +0200
|
|
|
Subject: [PATCH] power: supply: Add battery driver for Surface Aggregator
|
|
@@ -7156,7 +7156,7 @@ index 000000000000..4116dd839ecd
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From a4b5e7c7df7e7ba10825b0739f0b3ef9d3bb9095 Mon Sep 17 00:00:00 2001
|
|
|
+From 546ce7efc021b0f3b3832f2f7df0679da3e18b22 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Tue, 6 Apr 2021 01:41:26 +0200
|
|
|
Subject: [PATCH] power: supply: Add AC driver for Surface Aggregator Module
|
|
@@ -7524,7 +7524,7 @@ index 000000000000..c2dd7e604d14
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From dd421d43695af376a2ed92158aca325ab47e1185 Mon Sep 17 00:00:00 2001
|
|
|
+From d4979bf1aa5ac4d36b5b83fd710bad388ce96b73 Mon Sep 17 00:00:00 2001
|
|
|
From: Qiheng Lin <linqiheng@huawei.com>
|
|
|
Date: Sat, 10 Apr 2021 12:12:46 +0800
|
|
|
Subject: [PATCH] power: supply: surface-battery: Make some symbols static
|
|
@@ -7573,7 +7573,7 @@ index 4116dd839ecd..7efa431a62b2 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From d65762467cbd350e791d838e3ae2e62b4d7cce17 Mon Sep 17 00:00:00 2001
|
|
|
+From aeec7887edda6e9e9b63e1e45acadd2650aea770 Mon Sep 17 00:00:00 2001
|
|
|
From: Qiheng Lin <linqiheng@huawei.com>
|
|
|
Date: Sat, 10 Apr 2021 12:12:49 +0800
|
|
|
Subject: [PATCH] power: supply: surface-charger: Make symbol
|
|
@@ -7612,7 +7612,7 @@ index c2dd7e604d14..81a5b79822c9 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From cceedae03291a2c7679afd4c2e5b2a8cc280bd50 Mon Sep 17 00:00:00 2001
|
|
|
+From aca50ab05b826d30effb105dc71d1569ad795bd8 Mon Sep 17 00:00:00 2001
|
|
|
From: Maximilian Luz <luzmaximilian@gmail.com>
|
|
|
Date: Tue, 4 May 2021 20:00:46 +0200
|
|
|
Subject: [PATCH] power: supply: surface_battery: Fix battery event handling
|
|
@@ -7669,7 +7669,7 @@ index 7efa431a62b2..5ec2e6bb2465 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 093de2bdaf115b190dc6d6afe911effdf38d6f5b Mon Sep 17 00:00:00 2001
|
|
|
+From 055871eb816bd06b1141b06ce1d3898b5fb4c51a 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
|
|
@@ -7701,7 +7701,7 @@ index 81a5b79822c9..a060c36c7766 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 226ee2ca4edf858e0990af6628d18e26d9e93da7 Mon Sep 17 00:00:00 2001
|
|
|
+From 255a4caf702eb22a51ac8a58579c4be8986cb9f5 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
|
|
@@ -7747,7 +7747,7 @@ index 9e204f9b799a..a3a0154da567 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From 8575c028a5feb9eb7f84b75de3091a03ae999e9c Mon Sep 17 00:00:00 2001
|
|
|
+From 3452bbea0ace10d2b26170d74e9eb10321f59ff5 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
|
|
@@ -7779,67 +7779,45 @@ index 2d4acf21117c..c5950a3b4e4c 100644
|
|
|
--
|
|
|
2.31.1
|
|
|
|
|
|
-From d846c1f3e4ccea11de481d31c82c5731d83975b4 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.
|
|
|
+From 1277ae342495763832aa7c177a1ed959c242d705 Mon Sep 17 00:00:00 2001
|
|
|
+From: Sachi King <nakato@nakato.io>
|
|
|
+Date: Sat, 29 May 2021 17:47:38 +1000
|
|
|
+Subject: [PATCH] ACPI: Add quirk for Surface Laptop 4 AMD missing irq 7
|
|
|
+ override
|
|
|
|
|
|
-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.
|
|
|
+This patch is the work of Thomas Gleixner <tglx@linutronix.de> and is
|
|
|
+copied from:
|
|
|
+https://lore.kernel.org/lkml/87lf8ddjqx.ffs@nanos.tec.linutronix.de/
|
|
|
|
|
|
-Add a quirk table and a retry-loop to work around that.
|
|
|
+This patch adds a quirk to the ACPI setup to patch in the the irq 7 pin
|
|
|
+setup that is missing in the laptops ACPI table.
|
|
|
|
|
|
-Also switch to pr_info() due to complaints by checkpatch and add a
|
|
|
-pr_fmt() definition for completeness.
|
|
|
+This patch was used for validation of the issue, and is not a proper
|
|
|
+fix, but is probably a better temporary hack than continuing to probe
|
|
|
+the Legacy PIC and run with the PIC in an unknown state.
|
|
|
|
|
|
-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>
|
|
|
+ arch/x86/kernel/acpi/boot.c | 17 +++++++++++++++++
|
|
|
+ 1 file changed, 17 insertions(+)
|
|
|
+
|
|
|
+diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
|
|
|
+index 14cd3186dc77..ab3ba60cb6da 100644
|
|
|
+--- a/arch/x86/kernel/acpi/boot.c
|
|
|
++++ b/arch/x86/kernel/acpi/boot.c
|
|
|
+@@ -21,6 +21,7 @@
|
|
|
+ #include <linux/efi-bgrt.h>
|
|
|
+ #include <linux/serial_core.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);
|
|
|
+ #include <asm/e820/api.h>
|
|
|
+ #include <asm/irqdomain.h>
|
|
|
+@@ -1155,6 +1156,17 @@ static void __init mp_config_acpi_legacy_irqs(void)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
-+/*
|
|
|
-+ * 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[] = {
|
|
|
++static const struct dmi_system_id surface_quirk[] __initconst = {
|
|
|
+ {
|
|
|
+ .ident = "Microsoft Surface Laptop 4 (AMD)",
|
|
|
+ .matches = {
|
|
@@ -7850,56 +7828,20 @@ index 282b4ee1339f..0da757c6b292 100644
|
|
|
+ {}
|
|
|
+};
|
|
|
+
|
|
|
- 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;
|
|
|
- }
|
|
|
+ /*
|
|
|
+ * Parse IOAPIC related entries in MADT
|
|
|
+ * returns 0 on success, < 0 on error
|
|
|
+@@ -1212,6 +1224,11 @@ static int __init acpi_parse_madt_ioapic_entries(void)
|
|
|
+ acpi_sci_ioapic_setup(acpi_gbl_FADT.sci_interrupt, 0, 0,
|
|
|
+ acpi_gbl_FADT.sci_interrupt);
|
|
|
|
|
|
- raw_spin_unlock_irqrestore(&i8259A_lock, flags);
|
|
|
-+
|
|
|
-+ if (imax > 1 && i < imax)
|
|
|
-+ pr_info("got legacy PIC after %d tries\n", i + 1);
|
|
|
++ if (dmi_check_system(surface_quirk)) {
|
|
|
++ pr_warn("Surface hack: Override irq 7\n");
|
|
|
++ mp_override_legacy_irq(7, 3, 3, 7);
|
|
|
++ }
|
|
|
+
|
|
|
- return nr_legacy_irqs();
|
|
|
- }
|
|
|
+ /* Fill in identity legacy mappings where no override */
|
|
|
+ mp_config_acpi_legacy_irqs();
|
|
|
|
|
|
--
|
|
|
2.31.1
|