Update v5.14 patches

Changes:
 - Fixes for AMD pinctrl wakeup (https://github.com/linux-surface/kernel/pull/104).
   This should allow the AMD versions of the SL3 and SL4 to wake up by
   opening the lid.
 - Rebase onto v5.14.6

Links:
 - kernel: e48e5b7abb
This commit is contained in:
Maximilian Luz 2021-09-18 16:32:13 +02:00
parent 42bb58f97a
commit 9dc59ad56e
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
21 changed files with 291 additions and 231 deletions

View file

@ -1,4 +1,4 @@
From eaeed06c1f423f014c0703904b3dea0dc09dff2d Mon Sep 17 00:00:00 2001
From 711097fd1d881737332927144dab068436833c7c Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Sun, 18 Oct 2020 16:42:44 +0900
Subject: [PATCH] (surface3-oemb) add DMI matches for Surface 3 with broken DMI

View file

@ -1,4 +1,4 @@
From dbd2c34c5ed62f305834c40b689c5a277c7e67e5 Mon Sep 17 00:00:00 2001
From 63750c713f707e960ef2ff9688f0a6ad55b31522 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Fri, 20 Aug 2021 16:20:49 +0200
Subject: [PATCH] mwifiex: pcie: add DMI-based quirk implementation for Surface
@ -148,7 +148,7 @@ index 000000000000..18eacc8c2d3a
--
2.33.0
From e86ffb52045001ab6e662fd87a7e04ea5331d7f6 Mon Sep 17 00:00:00 2001
From e2024dec594efc75ee26055e5570babfc50c5cbb Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Fri, 20 Aug 2021 16:20:50 +0200
Subject: [PATCH] mwifiex: pcie: add reset_d3cold quirk for Surface gen4+
@ -353,7 +353,7 @@ index 18eacc8c2d3a..8ec4176d698f 100644
--
2.33.0
From 93204973cf738dfdbe1229af5d0b9d287bddac63 Mon Sep 17 00:00:00 2001
From 0eef489e04420b39eb090226728a2c648a888357 Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Tue, 29 Sep 2020 17:32:22 +0900
Subject: [PATCH] mwifiex: pcie: add reset_wsid quirk for Surface 3
@ -538,7 +538,7 @@ index 8ec4176d698f..25370c5a4f59 100644
--
2.33.0
From 054cbb849f8b291f1c4c2dd439c5150cc0d9cd89 Mon Sep 17 00:00:00 2001
From aebd4ce5cbd13a92df7a90ad197c06a4483e8b14 Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Wed, 30 Sep 2020 18:08:24 +0900
Subject: [PATCH] mwifiex: pcie: (OEMB) add quirk for Surface 3 with broken DMI
@ -600,7 +600,7 @@ index 563dd0d5ac79..32e2f000e57b 100644
--
2.33.0
From 646143ade9003929f02efea91bfbbcc3a80d0112 Mon Sep 17 00:00:00 2001
From cb18657288d940515df43d301a23f4a7ccdaa105 Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Sun, 4 Oct 2020 00:11:49 +0900
Subject: [PATCH] mwifiex: pcie: disable bridge_d3 for Surface gen4+
@ -755,7 +755,7 @@ index 25370c5a4f59..a1de111ad1db 100644
--
2.33.0
From 73d7e767af4fa31ced2902803dfb4f646650c56d Mon Sep 17 00:00:00 2001
From 7c914c722e8d0680c147e1229b9df5faeecf64ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 3 Nov 2020 13:28:04 +0100
Subject: [PATCH] mwifiex: Add quirk resetting the PCI bridge on MS Surface
@ -922,7 +922,7 @@ index a1de111ad1db..0e429779bb04 100644
--
2.33.0
From 8c946ae4654661e69a095e04cc5a293cd56c3d5d Mon Sep 17 00:00:00 2001
From d15aa728be4149bb4952487314c89f6ade1fb5e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Thu, 25 Mar 2021 11:33:02 +0100
Subject: [PATCH] Bluetooth: btusb: Lower passive lescan interval on Marvell
@ -1000,7 +1000,7 @@ index bd37d6fb88c2..d12fb2034d46 100644
--
2.33.0
From d2e0c553c9c2391799123b7378a62d0a06fcd811 Mon Sep 17 00:00:00 2001
From 9a562e8d4d3e5e6bd9a6d5520c59b628f81fcc7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 12:31:26 +0100
Subject: [PATCH] mwifiex: Small cleanup for handling virtual interface type
@ -1101,7 +1101,7 @@ index 0961f4a5e415..e8deba119ff1 100644
--
2.33.0
From 2fad246e3abf8adae854940775f0f4b4a6b3f282 Mon Sep 17 00:00:00 2001
From a61e93f29b79c77dc8ece1b94252a6b170fbd70f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 10 Nov 2020 12:49:56 +0100
Subject: [PATCH] mwifiex: Use non-posted PCI register writes
@ -1158,7 +1158,7 @@ index ca06eb7ac4aa..95e5851d2d0a 100644
--
2.33.0
From e6a3809d9ab3a94113a686cedc47b5e8b0c91291 Mon Sep 17 00:00:00 2001
From e317bc90fb1361684fdbfd77484fa0f231710c25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 12:44:39 +0100
Subject: [PATCH] mwifiex: Use function to check whether interface type change
@ -1391,7 +1391,7 @@ index e8deba119ff1..dabc59c47de3 100644
--
2.33.0
From ff1146931416d6324383988761594d7b4aebd795 Mon Sep 17 00:00:00 2001
From 8db27093a9ee1559e44f29c9fa2b26e6c718776c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 13:33:04 +0100
Subject: [PATCH] mwifiex: Run SET_BSS_MODE when changing from P2P to STATION
@ -1459,7 +1459,7 @@ index dabc59c47de3..146aabe14753 100644
--
2.33.0
From 8ce81c08d3266d147bf88ba37c503736ebfa2621 Mon Sep 17 00:00:00 2001
From b8a8179135bedf5f9149bf11a7d9d4cfce79c0e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 14:42:54 +0100
Subject: [PATCH] mwifiex: Use helper function for counting interface types
@ -1635,7 +1635,7 @@ index 146aabe14753..8b9517c243c8 100644
--
2.33.0
From f2f4eaacce3cad935a790a05627a0f0680af9287 Mon Sep 17 00:00:00 2001
From 3f8e5d2d1d7cab48aa5c5f63cf5ddd63dc71ac37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Fri, 26 Mar 2021 15:56:58 +0100
Subject: [PATCH] mwifiex: Update virtual interface counters right after
@ -1738,7 +1738,7 @@ index 8b9517c243c8..f2797102c5a2 100644
--
2.33.0
From 430b6db32ddb50febf3f2ebd10aa7fe3e017cf70 Mon Sep 17 00:00:00 2001
From fd44539bf3227619c474ccd7669c2ad5406a48e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 13:42:40 +0100
Subject: [PATCH] mwifiex: Allow switching interface type from P2P_CLIENT to
@ -1827,7 +1827,7 @@ index f2797102c5a2..ed4041ff9c89 100644
--
2.33.0
From c217fd410c87de3bf62bfbf09181594c291bf3eb Mon Sep 17 00:00:00 2001
From 38fa37ffe773e897f383536b560b63f9d6e5d0d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Fri, 26 Mar 2021 15:31:08 +0100
Subject: [PATCH] mwifiex: Handle interface type changes from AP to STATION
@ -1854,7 +1854,7 @@ index ed4041ff9c89..64caa5c4350d 100644
--
2.33.0
From 963b2b3f5db3ec78d42c8c288b40afd9056824b6 Mon Sep 17 00:00:00 2001
From 64848fc13ca03a4bd7a8c7d7bd90b71d2ebfedab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Fri, 26 Mar 2021 15:32:16 +0100
Subject: [PATCH] mwifiex: Properly initialize private structure on interface
@ -1909,7 +1909,7 @@ index 64caa5c4350d..0eb31201a82b 100644
--
2.33.0
From 8f80aaa488367bd6eed0da2eee8e0718ecc0082b Mon Sep 17 00:00:00 2001
From ae5eb238986422d88710d1bf75a1969d0985fb7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Sat, 27 Mar 2021 12:19:14 +0100
Subject: [PATCH] mwifiex: Fix copy-paste mistake when creating virtual
@ -1941,7 +1941,7 @@ index 0eb31201a82b..d62a20de3ada 100644
--
2.33.0
From edf418228064377d776884afb8b06bffd685e0ce Mon Sep 17 00:00:00 2001
From 01195d6a6019274b2e5cac35077cff9dd08bf907 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Sun, 28 Mar 2021 21:10:06 +0200
Subject: [PATCH] mwifiex: Try waking the firmware until we get an interrupt
@ -2030,7 +2030,7 @@ index 95e5851d2d0a..ccae1532a580 100644
--
2.33.0
From e0e5ad95fcf6887755df138072b2a457caecc304 Mon Sep 17 00:00:00 2001
From 2abfccaf8b127ff858950d277d97994d38af800c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 13 Apr 2021 14:30:28 +0200
Subject: [PATCH] mwifiex: Deactive host sleep using HSCFG after it was
@ -2186,7 +2186,7 @@ index 48ea00da1fc9..1e2798dce18f 100644
--
2.33.0
From 889ef01d2a27ee7bfbff6a800ed9aa47c6adbf0b Mon Sep 17 00:00:00 2001
From ba9905381f77b5ce4e5a27b7bc32a1315a1ea52c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 13 Apr 2021 14:23:05 +0200
Subject: [PATCH] mwifiex: Add quirk to disable deep sleep with certain
@ -2289,7 +2289,7 @@ index 6b5d35d9e69f..8e49ebca1847 100644
--
2.33.0
From 69b659d914ca424ac52b9107bd6eccfc4c95dc43 Mon Sep 17 00:00:00 2001
From b952f6890a6f0e43ecb0241bd08778a48e90aa36 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Wed, 11 Nov 2020 15:17:07 +0100
Subject: [PATCH] mwifiex: Don't log error on suspend if wake-on-wlan is
@ -2321,7 +2321,7 @@ index d62a20de3ada..18b1a6d54bc8 100644
--
2.33.0
From 6beb984d73750c37c52e5b133d2a02748849a8de Mon Sep 17 00:00:00 2001
From bc16053076d6f5b343da6e8b593a23987e6b3513 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Sun, 28 Mar 2021 21:42:54 +0200
Subject: [PATCH] mwifiex: Log an error on command failure during key-material
@ -2361,7 +2361,7 @@ index 18b1a6d54bc8..c00791701d78 100644
--
2.33.0
From 379d30c724550c98c23b1f0bcb4381434be58806 Mon Sep 17 00:00:00 2001
From 947ac6a6a5c0331f405a56e278eecc86ced19413 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 13 Apr 2021 12:44:03 +0200
Subject: [PATCH] mwifiex: Fix an incorrect comment
@ -2389,7 +2389,7 @@ index 6696bce56178..b0695432b26a 100644
--
2.33.0
From 2ad5ddaa34468459e01f8f4249d431235bb86f79 Mon Sep 17 00:00:00 2001
From d7b4956649da1da0568297eb66d2d0c2d9b623b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 13 Apr 2021 12:45:59 +0200
Subject: [PATCH] mwifiex: Send DELBA requests according to spec
@ -2432,7 +2432,7 @@ index b0695432b26a..9ff2058bcd7e 100644
--
2.33.0
From 077c9ae5d44d2848a6063f53357afb06d08393cc Mon Sep 17 00:00:00 2001
From c3212b41c15af15ddd24779de13f939b5d5ac847 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Tue, 13 Apr 2021 12:57:41 +0200
Subject: [PATCH] mwifiex: Ignore BTCOEX events from the firmware

View file

@ -1,4 +1,4 @@
From 3fe29831e749de361ad645b5bf5ff7afca899eba Mon Sep 17 00:00:00 2001
From 0a7a6d670a51fd28752d7b381fe05170407f3019 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 27 Feb 2021 00:45:52 +0100
Subject: [PATCH] ath10k: Add module parameters to override board files

View file

@ -1,4 +1,4 @@
From e50f97efd29a7f7cc352733239f09267514c64b6 Mon Sep 17 00:00:00 2001
From c9cf030fed96dc22070896fb6f100b2eb5fe4a82 Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Thu, 30 Jul 2020 13:21:53 +0200
Subject: [PATCH] misc: mei: Add missing IPTS device IDs
@ -36,7 +36,7 @@ index c3393b383e59..0098f98426c1 100644
--
2.33.0
From ab47bf6dd497d96fb7bca6bb2b864cc0e30277c5 Mon Sep 17 00:00:00 2001
From 541ccd31843a8fcccb04e3f2c45a9f390e88ed2b Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Thu, 6 Aug 2020 11:20:41 +0200
Subject: [PATCH] misc: Add support for Intel Precise Touch & Stylus

View file

@ -1,4 +1,4 @@
From b1a8e0fd7bac9a713d2c78041697437838eb9954 Mon Sep 17 00:00:00 2001
From 4a1bde88684bad7dca500f59169129c87b92f91d Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 25 Jul 2020 17:19:53 +0200
Subject: [PATCH] i2c: acpi: Implement RawBytes read access
@ -110,7 +110,7 @@ index 6f0aa0ed3241..13eb5ac82729 100644
--
2.33.0
From 82e2575e8352ac0b679b4810ceaabbfcfff365a7 Mon Sep 17 00:00:00 2001
From f3b3a1b9efc767b81d64b5cc4ff5f84d175af2ce Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 13 Feb 2021 16:41:18 +0100
Subject: [PATCH] platform/surface: Add driver for Surface Book 1 dGPU switch

View file

@ -1,50 +0,0 @@
From 18ee50b7f5cb1d1a89bf3de78965c4123c0e051a Mon Sep 17 00:00:00 2001
From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Date: Thu, 8 Jul 2021 15:25:06 +0200
Subject: [PATCH] PCI: Use pci_update_current_state() in
pci_enable_device_flags()
Updating the current_state field of struct pci_dev the way it is done
in pci_enable_device_flags() before calling do_pci_enable_device() may
not work. For example, if the given PCI device depends on an ACPI
power resource whose _STA method initially returns 0 ("off"), but the
config space of the PCI device is accessible and the power state
retrieved from the PCI_PM_CTRL register is D0, the current_state
field in the struct pci_dev representing that device will get out of
sync with the power.state of its ACPI companion object and that will
lead to power management issues going forward.
To avoid such issues, make pci_enable_device_flags() call
pci_update_current_state() which takes ACPI device power management
into account, if present, to retrieve the current power state of the
device.
Link: https://lore.kernel.org/lkml/20210314000439.3138941-1-luzmaximilian@gmail.com/
Reported-by: Maximilian Luz <luzmaximilian@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Maximilian Luz <luzmaximilian@gmail.com>
Patchset: surface-hotplug
---
drivers/pci/pci.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 3f353572588d..a5e6759c407b 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1906,11 +1906,7 @@ static int pci_enable_device_flags(struct pci_dev *dev, unsigned long flags)
* so that things like MSI message writing will behave as expected
* (e.g. if the device really is in D0 at enable time).
*/
- if (dev->pm_cap) {
- u16 pmcsr;
- pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr);
- dev->current_state = (pmcsr & PCI_PM_CTRL_STATE_MASK);
- }
+ pci_update_current_state(dev, dev->current_state);
if (atomic_inc_return(&dev->enable_cnt) > 1)
return 0; /* already enabled */
--
2.33.0

View file

@ -1,4 +1,4 @@
From b059008a23bcb36ed228a14c5022be3cefedbfa7 Mon Sep 17 00:00:00 2001
From 589daf771a69e86a3323efa7abe6327012e8dbd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= <verdre@v0yd.nl>
Date: Thu, 5 Nov 2020 13:09:45 +0100
Subject: [PATCH] hid/multitouch: Turn off Type Cover keyboard backlight when

View file

@ -1,4 +1,4 @@
From eb1b75120153331863c0a53c9d7487d421413d22 Mon Sep 17 00:00:00 2001
From da27c0dcc0fb7c6338273a0b68fad7a0985841db Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 5 Apr 2021 23:56:53 +0100
Subject: [PATCH] media: ipu3-cio2: Toggle sensor streaming in pm runtime ops
@ -58,7 +58,7 @@ index 47db0ee0fcbf..7bb86e246ebe 100644
--
2.33.0
From e34f05e02a4d3a081035cc3150114ab4dce98aa7 Mon Sep 17 00:00:00 2001
From b931e58a8e7f4dda2476918bbb069ef3822c5336 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 5 Apr 2021 23:56:54 +0100
Subject: [PATCH] media: i2c: Add support for ov5693 sensor
@ -1701,7 +1701,7 @@ index 000000000000..9499ee10f56c
--
2.33.0
From 8c827c73562b319e1f4e369d8d619f7d3d32c908 Mon Sep 17 00:00:00 2001
From b0a18a22e224273709e817887300271d09b5641f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= <me@fabwu.ch>
Date: Fri, 22 Jan 2021 20:58:13 +0100
Subject: [PATCH] cio2-bridge: Parse sensor orientation and rotation
@ -1864,7 +1864,7 @@ index dd0ffcafa489..924d99d20328 100644
--
2.33.0
From 3279409e4be6321c42fec28ccccc0a715a192784 Mon Sep 17 00:00:00 2001
From 37483a9083916637ec55be7b52dcf254faf6dedb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= <me@fabwu.ch>
Date: Sun, 24 Jan 2021 11:07:42 +0100
Subject: [PATCH] cio2-bridge: Use macros and add warnings
@ -1968,7 +1968,7 @@ index 924d99d20328..e1e388cc9f45 100644
--
2.33.0
From 3599fffff76b2ca7b1af2fece251c4fef0bcb868 Mon Sep 17 00:00:00 2001
From 9e31e016d2261aa4c2dcde8004545b11dc5c4c46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= <me@fabwu.ch>
Date: Thu, 6 May 2021 07:52:44 +0200
Subject: [PATCH] cio2-bridge: Use correct dev_properties size
@ -1994,7 +1994,7 @@ index e1e388cc9f45..deaf5804f70d 100644
--
2.33.0
From 47d14e5a04d90ece9e662eef2a81b00e9ed30005 Mon Sep 17 00:00:00 2001
From 45b6d953da9103f35d6adfc97edd55a5b6312fe2 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 20 May 2021 23:31:04 +0100
Subject: [PATCH] media: i2c: Fix vertical flip in ov5693
@ -2029,7 +2029,7 @@ index 9499ee10f56c..c558f9b48c83 100644
--
2.33.0
From 9060745c20d6219cf25062f7a57f163643622186 Mon Sep 17 00:00:00 2001
From 9c3fd3bc78cb5582822edf1feebc5880e5c77e5c Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 9 Jul 2021 16:39:18 +0100
Subject: [PATCH] media: i2c: Add ACPI support to ov8865
@ -2080,7 +2080,7 @@ index ce50f3ea87b8..fe60cda3dea7 100644
--
2.33.0
From fa5f39abc766a9ea760854b1142096e341f2ff70 Mon Sep 17 00:00:00 2001
From f9ed90db7d6b82078539fbeaa8ed094ef343748e Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 21:20:17 +0100
Subject: [PATCH] media: i2c: Fix incorrect value in comment
@ -2110,7 +2110,7 @@ index fe60cda3dea7..2ef146e7e7ef 100644
--
2.33.0
From af62696348e09584f217e2899535669552913f5b Mon Sep 17 00:00:00 2001
From d2c0b6a0881c97615486b5c4432d51dacdefe47e Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 22:21:52 +0100
Subject: [PATCH] media: i2c: Check fwnode->secondary for endpoint
@ -2159,7 +2159,7 @@ index 2ef146e7e7ef..a3199721bbca 100644
--
2.33.0
From 7a2d7cc8624ae20ba4f2513246f662c5057f2120 Mon Sep 17 00:00:00 2001
From 93d592b3e4305eb356f786e8c30823d4150225cb Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 22:00:25 +0100
Subject: [PATCH] media: i2c: Support 19.2MHz input clock in ov8865
@ -2474,7 +2474,7 @@ index a3199721bbca..53e6bcbe18d6 100644
--
2.33.0
From 69f577fb44459ae31134600f281a79726f0bc741 Mon Sep 17 00:00:00 2001
From 6e3c9c52a8a55aff733f47cf2e3671ee29e7e4e4 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 22:19:10 +0100
Subject: [PATCH] media: i2c: Add .get_selection() support to ov8865
@ -2576,7 +2576,7 @@ index 53e6bcbe18d6..2f487c25ed56 100644
--
2.33.0
From 5a583f723e76995b64b843acd2cab5c5dd194be6 Mon Sep 17 00:00:00 2001
From 361c4249c29e13dd28a4ca2e38c7b37902361b75 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Jul 2021 22:34:43 +0100
Subject: [PATCH] media: i2c: Switch control to V4L2_CID_ANALOGUE_GAIN
@ -2627,7 +2627,7 @@ index 2f487c25ed56..b91c952b6ef9 100644
--
2.33.0
From 61da84124438501fdf34dc0905bf851c7531fdf3 Mon Sep 17 00:00:00 2001
From e01a8e1364f8f426dc04451695096b427ae64256 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 12 Jul 2021 22:54:56 +0100
Subject: [PATCH] media: i2c: Add vblank control to ov8865
@ -2737,7 +2737,7 @@ index b91c952b6ef9..4430115607a4 100644
--
2.33.0
From c2ef4bf7ceffdb1408be0c949ce01a155ecd0831 Mon Sep 17 00:00:00 2001
From 20370e276edb9e84fccdd1f2f8473fb0a92a438c Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Tue, 13 Jul 2021 23:40:33 +0100
Subject: [PATCH] media: i2c: Add hblank control to ov8865
@ -2807,7 +2807,7 @@ index 4430115607a4..e9b5f4d8e79b 100644
--
2.33.0
From c8faeffd099e00468798fb9c01b4eef04d4af4dc Mon Sep 17 00:00:00 2001
From e80c5d9d7d6358a5f50383989f4554eea1b7afd6 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Tue, 13 Jul 2021 23:43:17 +0100
Subject: [PATCH] media: i2c: cap exposure at height + vblank in ov8865
@ -2888,7 +2888,7 @@ index e9b5f4d8e79b..893cc58dc265 100644
--
2.33.0
From ea4a3f6cca713c96e6141393c573857270c8806e Mon Sep 17 00:00:00 2001
From 0ce72bdc2c551d0e78edf425b63b5143e41549bf Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 14 Jul 2021 18:05:44 +0100
Subject: [PATCH] media: i2c: Remove unused macros from ov8865
@ -3162,7 +3162,7 @@ index 893cc58dc265..fb81b822987d 100644
--
2.33.0
From 91270f26d18056131de3f8739e29d340476ff2c2 Mon Sep 17 00:00:00 2001
From 80e0774e14aaa826e3f5e599642f06fc1b04f3c6 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 16 Jul 2021 00:00:54 +0100
Subject: [PATCH] media: i2c: Switch exposure control unit to lines
@ -3209,7 +3209,7 @@ index fb81b822987d..27520c731e47 100644
--
2.33.0
From bbe1b991f48ddba55853330d42af2649a504b6f5 Mon Sep 17 00:00:00 2001
From d92c222dfbefd0512ef12e1630b0af573103b290 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 16 Jul 2021 22:56:15 +0100
Subject: [PATCH] media: i2c: Add controls from fwnode to ov8865
@ -3254,7 +3254,7 @@ index 27520c731e47..f746917719ae 100644
--
2.33.0
From f841bf27571c7df0db61bf41e7fb197d241bdf34 Mon Sep 17 00:00:00 2001
From 73784ebaa64793851b754bc6b0ec833788a72281 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 14 Jul 2021 00:05:04 +0100
Subject: [PATCH] media: ipu3-cio2: Add INT347A to cio2-bridge

View file

@ -0,0 +1,222 @@
From aae05917ba1a73ce7c107c37263d2476113fd5e4 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 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/
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.
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.
Patchset: amd-gpio
---
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 e55e0c1fad8c..46dfad41b401 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -22,6 +22,7 @@
#include <linux/efi-bgrt.h>
#include <linux/serial_core.h>
#include <linux/pgtable.h>
+#include <linux/dmi.h>
#include <asm/e820/api.h>
#include <asm/irqdomain.h>
@@ -1143,6 +1144,17 @@ static void __init mp_config_acpi_legacy_irqs(void)
}
}
+static const struct dmi_system_id surface_quirk[] __initconst = {
+ {
+ .ident = "Microsoft Surface Laptop 4 (AMD)",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
+ DMI_MATCH(DMI_PRODUCT_SKU, "Surface_Laptop_4_1952:1953")
+ },
+ },
+ {}
+};
+
/*
* Parse IOAPIC related entries in MADT
* returns 0 on success, < 0 on error
@@ -1198,6 +1210,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);
+ if (dmi_check_system(surface_quirk)) {
+ pr_warn("Surface hack: Override irq 7\n");
+ mp_override_legacy_irq(7, 3, 3, 7);
+ }
+
/* Fill in identity legacy mappings where no override */
mp_config_acpi_legacy_irqs();
--
2.33.0
From 187697e508db9ba6070581a3aade6234eb15bbcc Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 3 Jun 2021 14:04:26 +0200
Subject: [PATCH] ACPI: Add AMD 13" Surface Laptop 4 model to irq 7 override
quirk
The 13" version of the Surface Laptop 4 has the same problem as the 15"
version, but uses a different SKU. Add that SKU to the quirk as well.
Patchset: amd-gpio
---
arch/x86/kernel/acpi/boot.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 46dfad41b401..78bf6a097dc5 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -1146,12 +1146,19 @@ static void __init mp_config_acpi_legacy_irqs(void)
static const struct dmi_system_id surface_quirk[] __initconst = {
{
- .ident = "Microsoft Surface Laptop 4 (AMD)",
+ .ident = "Microsoft Surface Laptop 4 (AMD 15\")",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
DMI_MATCH(DMI_PRODUCT_SKU, "Surface_Laptop_4_1952:1953")
},
},
+ {
+ .ident = "Microsoft Surface Laptop 4 (AMD 13\")",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
+ DMI_MATCH(DMI_PRODUCT_SKU, "Surface_Laptop_4_1958:1959")
+ },
+ },
{}
};
--
2.33.0
From c4e6f0fb7e31ca186fccfb95e7fca839fadf1dad Mon Sep 17 00:00:00 2001
From: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Date: Tue, 31 Aug 2021 17:36:12 +0530
Subject: [PATCH] pinctrl: amd: Add irq field data
pinctrl_amd use gpiochip_get_data() to get their local state containers
back from the gpiochip passed as amd_gpio chip data.
Hence added irq field data to get directly using amd_gpio chip data.
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Patchset: amd-gpio
---
drivers/pinctrl/pinctrl-amd.c | 9 ++++-----
drivers/pinctrl/pinctrl-amd.h | 1 +
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 5b764740b829..79b8b7f91996 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -904,7 +904,6 @@ static struct pinctrl_desc amd_pinctrl_desc = {
static int amd_gpio_probe(struct platform_device *pdev)
{
int ret = 0;
- int irq_base;
struct resource *res;
struct amd_gpio *gpio_dev;
struct gpio_irq_chip *girq;
@@ -927,9 +926,9 @@ static int amd_gpio_probe(struct platform_device *pdev)
if (!gpio_dev->base)
return -ENOMEM;
- irq_base = platform_get_irq(pdev, 0);
- if (irq_base < 0)
- return irq_base;
+ gpio_dev->irq = platform_get_irq(pdev, 0);
+ if (gpio_dev->irq < 0)
+ return gpio_dev->irq;
#ifdef CONFIG_PM_SLEEP
gpio_dev->saved_regs = devm_kcalloc(&pdev->dev, amd_pinctrl_desc.npins,
@@ -989,7 +988,7 @@ static int amd_gpio_probe(struct platform_device *pdev)
goto out2;
}
- ret = devm_request_irq(&pdev->dev, irq_base, amd_gpio_irq_handler,
+ ret = devm_request_irq(&pdev->dev, gpio_dev->irq, amd_gpio_irq_handler,
IRQF_SHARED, KBUILD_MODNAME, gpio_dev);
if (ret)
goto out2;
diff --git a/drivers/pinctrl/pinctrl-amd.h b/drivers/pinctrl/pinctrl-amd.h
index 95e763424042..1d4317073654 100644
--- a/drivers/pinctrl/pinctrl-amd.h
+++ b/drivers/pinctrl/pinctrl-amd.h
@@ -98,6 +98,7 @@ struct amd_gpio {
struct resource *res;
struct platform_device *pdev;
u32 *saved_regs;
+ int irq;
};
/* KERNCZ configuration*/
--
2.33.0
From de45a91ab9c2e7a0142d8520054bcafc2e291f41 Mon Sep 17 00:00:00 2001
From: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Date: Tue, 31 Aug 2021 17:36:13 +0530
Subject: [PATCH] pinctrl: amd: Handle wake-up interrupt
Enable/disable power management wakeup mode, which is disabled by
default. enable_irq_wake enables wakes the system from sleep.
Hence added enable/disable irq_wake to handle wake-up interrupt.
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Patchset: amd-gpio
---
drivers/pinctrl/pinctrl-amd.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 79b8b7f91996..d19974aceb2e 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -445,6 +445,7 @@ static int amd_gpio_irq_set_wake(struct irq_data *d, unsigned int on)
struct gpio_chip *gc = irq_data_get_irq_chip_data(d);
struct amd_gpio *gpio_dev = gpiochip_get_data(gc);
u32 wake_mask = BIT(WAKE_CNTRL_OFF_S0I3) | BIT(WAKE_CNTRL_OFF_S3);
+ int err;
raw_spin_lock_irqsave(&gpio_dev->lock, flags);
pin_reg = readl(gpio_dev->base + (d->hwirq)*4);
@@ -457,6 +458,15 @@ static int amd_gpio_irq_set_wake(struct irq_data *d, unsigned int on)
writel(pin_reg, gpio_dev->base + (d->hwirq)*4);
raw_spin_unlock_irqrestore(&gpio_dev->lock, flags);
+ if (on)
+ err = enable_irq_wake(gpio_dev->irq);
+ else
+ err = disable_irq_wake(gpio_dev->irq);
+
+ if (err)
+ dev_err(&gpio_dev->pdev->dev, "failed to %s wake-up interrupt\n",
+ on ? "enable" : "disable");
+
return 0;
}
--
2.33.0

View file

@ -1,109 +0,0 @@
From 0d53cf999d48512510aceeccbfaf9f419cdc831a 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 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/
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.
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.
Patchset: amd-gpio
---
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 e55e0c1fad8c..46dfad41b401 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -22,6 +22,7 @@
#include <linux/efi-bgrt.h>
#include <linux/serial_core.h>
#include <linux/pgtable.h>
+#include <linux/dmi.h>
#include <asm/e820/api.h>
#include <asm/irqdomain.h>
@@ -1143,6 +1144,17 @@ static void __init mp_config_acpi_legacy_irqs(void)
}
}
+static const struct dmi_system_id surface_quirk[] __initconst = {
+ {
+ .ident = "Microsoft Surface Laptop 4 (AMD)",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
+ DMI_MATCH(DMI_PRODUCT_SKU, "Surface_Laptop_4_1952:1953")
+ },
+ },
+ {}
+};
+
/*
* Parse IOAPIC related entries in MADT
* returns 0 on success, < 0 on error
@@ -1198,6 +1210,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);
+ if (dmi_check_system(surface_quirk)) {
+ pr_warn("Surface hack: Override irq 7\n");
+ mp_override_legacy_irq(7, 3, 3, 7);
+ }
+
/* Fill in identity legacy mappings where no override */
mp_config_acpi_legacy_irqs();
--
2.33.0
From 6acac49b4e46446dd124ecce991a79607186f9b9 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 3 Jun 2021 14:04:26 +0200
Subject: [PATCH] ACPI: Add AMD 13" Surface Laptop 4 model to irq 7 override
quirk
The 13" version of the Surface Laptop 4 has the same problem as the 15"
version, but uses a different SKU. Add that SKU to the quirk as well.
Patchset: amd-gpio
---
arch/x86/kernel/acpi/boot.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 46dfad41b401..78bf6a097dc5 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -1146,12 +1146,19 @@ static void __init mp_config_acpi_legacy_irqs(void)
static const struct dmi_system_id surface_quirk[] __initconst = {
{
- .ident = "Microsoft Surface Laptop 4 (AMD)",
+ .ident = "Microsoft Surface Laptop 4 (AMD 15\")",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
DMI_MATCH(DMI_PRODUCT_SKU, "Surface_Laptop_4_1952:1953")
},
},
+ {
+ .ident = "Microsoft Surface Laptop 4 (AMD 13\")",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
+ DMI_MATCH(DMI_PRODUCT_SKU, "Surface_Laptop_4_1958:1959")
+ },
+ },
{}
};
--
2.33.0

View file

@ -1,4 +1,4 @@
From 3c79cce72524bd3b51e17f16d9723ed3c6286afe Mon Sep 17 00:00:00 2001
From 675beeaf1592fc9bf4a52471dde3e133121e07ad Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
Date: Sat, 29 May 2021 22:27:25 +1000
Subject: [PATCH] platform/x86: amd-pmc: Add device HID for AMD PMC

View file

@ -1 +0,0 @@
../../../patches/5.14/0006-surface-hotplug.patch

View file

@ -0,0 +1 @@
../../../patches/5.14/0006-surface-typecover.patch

View file

@ -0,0 +1 @@
../../../patches/5.14/0007-cameras.patch

View file

@ -1 +0,0 @@
../../../patches/5.14/0007-surface-typecover.patch

View file

@ -0,0 +1 @@
../../../patches/5.14/0008-amd-gpio.patch

View file

@ -1 +0,0 @@
../../../patches/5.14/0008-cameras.patch

View file

@ -1 +0,0 @@
../../../patches/5.14/0009-amd-gpio.patch

View file

@ -0,0 +1 @@
../../../patches/5.14/0009-amd-s0ix.patch

View file

@ -1 +0,0 @@
../../../patches/5.14/0010-amd-s0ix.patch

View file

@ -32,11 +32,10 @@ source=(
0003-ath10k.patch
0004-ipts.patch
0005-surface-sam-over-hid.patch
0006-surface-hotplug.patch
0007-surface-typecover.patch
0008-cameras.patch
0009-amd-gpio.patch
0010-amd-s0ix.patch
0006-surface-typecover.patch
0007-cameras.patch
0008-amd-gpio.patch
0009-amd-s0ix.patch
)
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
@ -47,16 +46,15 @@ sha256sums=('SKIP'
'f98065a286a6d2dbb0e226867a6417e344aaa44ef6eac967707e1f09671be445'
'252c7a78ffb1efe9751aabc93cc79031ef69dbc95baa7970cbaabcd5474fe7d8'
'b30cd71018df7e98101ba0cf37054169006b096d2870a9f8467dd96378b02b98'
'80f72345b4965c5c8464deb43026fca97588ac5938883fe07424593fbb55b3c9'
'0839a749bef42257017773f2f359e1e70c0251c17c4d786d1a2074dbb7230c40'
'a6ab627480f6aab16c56687f78b23277ca57738f58c1847fa335286216529e8b'
'69b6c524866aec816d2a2b92a00788927d466cff58926ed9c10d54bd0365fc83'
'82358da06db1ca2c9d4fa9382bc2decc9e6a49aa871d61d11a714426954d99d0'
'1d4518f20abdd5aa9d1693d46c82598f63a57b9bcc934f5e8d912249de819a7d'
'a82efbd0c361e044245c8e75b84cc10fc37f1da96268eb75d18589db43b27ecb'
'b87c3696346fdaccb42e323f6ba7b1ac515503f7329ea304c625058d106c40a3'
'5c121ee439c6b37ac2e153ee13ef487049c74b2e02b026d2e42313c5d379d4fc'
'1d4b556cae3226408c7844067364d946f6f368b5bbae74323562da1516f2ba90')
'92d296b31ee2d85a1ff469d8a382597a675769e12f710458a7fcfba1382ac853'
'813fc7d686bc3dffaba84f678d62294389ce1b63b366c75de15d0e9ecfef6baf'
'f53e09199ffc4aa9f0f432e6be1f9b86115f59c4a20f006b3b03a8312445d3e7'
'06e74731ad5ea94b46a8dbb58a6a3fcbfa41ba11239c9db35e0b7d5a6b669055'
'0e270237cec44eb323b409cb08c218beacbbedf393f1f399b6ffe6dd0c411189'
'077a4c02ad31d985dc3d1e6f49dd5ad4682620fd48c72dc25aaaf42e7473d036'
'7c29d3599aee2d9fe149aa51ce68fd975e0b06f56115b0d69ad6f9bdca15ccd5'
'288700c6bc0ee1046421c5b4870d9361f7bac6769a8ff9db8958951e9937740a'
'6d0977ed149edbe810f6af6630fffb793fd0960d759617e001eef03f40c8c35b')
export KBUILD_BUILD_HOST=archlinux