Update v5.11 patches

Changes:
 - WiFi:
   - Add workaround for deep sleep on buggy hardware
   - Fix manual host-sleep activation
   - Fix DELBA requests
   - Ignore BTCOEX events as they are sometimes buggy (improves WiFi
     speeds)
   - Other small fixes

 - SAM:
   - Code cleanup and small fixes

Links:
 - kernel: db2f9336a2
 - SAM: a33f6762be
This commit is contained in:
Maximilian Luz 2021-04-23 12:08:33 +02:00
parent 9dc119b8de
commit 37bb401066
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
11 changed files with 733 additions and 131 deletions

View file

@ -1,4 +1,4 @@
From afb902f13c58d0890aa610f9c5dbc96fe9c92e1a Mon Sep 17 00:00:00 2001
From 4129b8860405204efa77e5a09cb9e530b0815906 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 a13df41ab34f69badf8b7d8f6064605759f063a6 Mon Sep 17 00:00:00 2001
From d87b0de53fd533ee736845fe39655de142825940 Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Mon, 28 Sep 2020 17:46:49 +0900
Subject: [PATCH] mwifiex: pcie: add DMI-based quirk impl for Surface devices
@ -206,7 +206,7 @@ index 000000000000..5326ae7e5671
--
2.31.1
From 158ea25a8053a513a493b88a0cfd2d2d72035159 Mon Sep 17 00:00:00 2001
From b558c15343428e905b412608c6bdb469150c97ab Mon Sep 17 00:00:00 2001
From: Tsuchiya Yuto <kitakar@gmail.com>
Date: Tue, 29 Sep 2020 17:25:22 +0900
Subject: [PATCH] mwifiex: pcie: add reset_d3cold quirk for Surface gen4+
@ -407,7 +407,7 @@ index 5326ae7e5671..8b9dcb5070d8 100644
--
2.31.1
From c03a2b1f21daa4eaf0ddd8a6f6d35e021f2110e6 Mon Sep 17 00:00:00 2001
From ee1453e7167cf8c7f48e5c83fae49a7bd4f4636f 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
@ -586,7 +586,7 @@ index 8b9dcb5070d8..3ef7440418e3 100644
--
2.31.1
From 5883fe34837c9dddd1a80e9d2ce108a466245e4f Mon Sep 17 00:00:00 2001
From 94e10f110ff36575142b662f95af232b3e1dfd27 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
@ -648,7 +648,7 @@ index f0a6fa0a7ae5..34dcd84f02a6 100644
--
2.31.1
From 22c67ccd5992a5112c28908a562a0181c77b7590 Mon Sep 17 00:00:00 2001
From bb028865378c16e5ae32955913431adc948365b5 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+
@ -803,7 +803,7 @@ index 3ef7440418e3..a95ebac06e13 100644
--
2.31.1
From d2de949fd14a103f56e97d447fbc66adcee3c81a Mon Sep 17 00:00:00 2001
From 013766a363fb199f791ab7ec888ee19b2f1d0f0a 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
@ -970,7 +970,7 @@ index a95ebac06e13..4ec2ae72f632 100644
--
2.31.1
From eab962236d4c1f72edacbc5648d005b49fcd0e27 Mon Sep 17 00:00:00 2001
From 7a60c41373013c3409cf39ae011da9f0ef7bf3df 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
@ -1048,7 +1048,7 @@ index a4f834a50a98..e276f84a41bd 100644
--
2.31.1
From 3bc0e8d0121a7a03ea1de3050d661ceac69bf7a6 Mon Sep 17 00:00:00 2001
From be1744f8cfb38ae16598187a62e3ef76dde15f99 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
@ -1149,7 +1149,7 @@ index a6b9dc6700b1..d50fd8570475 100644
--
2.31.1
From 15c114e7765e6003f6ef6851e7833f8f15c415d0 Mon Sep 17 00:00:00 2001
From 874cb55e25e5b0fef42eb05a3c62b6e7bdbc3e30 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
@ -1382,7 +1382,7 @@ index d50fd8570475..3a79a55bbfd2 100644
--
2.31.1
From 71a25e6d46fd0c6611b80f4d42f6e0e681be0d2b Mon Sep 17 00:00:00 2001
From cc416c1ef1147d440456b148090854d49adee0cd 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
@ -1450,7 +1450,7 @@ index 3a79a55bbfd2..66e978088061 100644
--
2.31.1
From 67d7087dea8b8d661e9e20e80a86b4f580dbbc2f Mon Sep 17 00:00:00 2001
From aa55ac4914a168eeb8ad7bca305bfeeb349134a3 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
@ -1626,7 +1626,7 @@ index 66e978088061..db30f595e9f9 100644
--
2.31.1
From ba13cb5ec778e224a1ea02f8a6540725f6bff92d Mon Sep 17 00:00:00 2001
From e45162255a3f6cd51fac667f7e720721d1a5c57b 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
@ -1729,7 +1729,7 @@ index db30f595e9f9..60de1cec77c7 100644
--
2.31.1
From 926699e98bc1e2d24cf62ab953902dca3b19c6b5 Mon Sep 17 00:00:00 2001
From 0dfc3e82dc31809ae52384bf6c0c6ac54c8d941f 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
@ -1818,7 +1818,7 @@ index 60de1cec77c7..a37b504bd084 100644
--
2.31.1
From 5ec5db6fa62ad6470b25feb5c2a2c3dd1f06dd1a Mon Sep 17 00:00:00 2001
From da15e76840574a87e7c5fc2264bd86d4047a44d6 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
@ -1845,7 +1845,7 @@ index a37b504bd084..e65f285e3efe 100644
--
2.31.1
From c4a178035eeb2e4825b03cac0e2c895658719755 Mon Sep 17 00:00:00 2001
From 606f08b0699b8f336189d3f10b68a1374547b578 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
@ -1900,7 +1900,7 @@ index e65f285e3efe..a290312313f3 100644
--
2.31.1
From de649d317d403eec91d079f088ab6e2450056ff8 Mon Sep 17 00:00:00 2001
From f6db81291fe7db0c4bb0cbb6dfc8143b9dc0f252 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
@ -1932,7 +1932,7 @@ index a290312313f3..1e1cf523e228 100644
--
2.31.1
From 235020001c534ca54d8745fc5a256838188c2a34 Mon Sep 17 00:00:00 2001
From fb88d055917ddf06101dac581778d3e26c3b644e 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
@ -1989,7 +1989,7 @@ index 9ac12ff4a5c1..4123c8bb6b6f 100644
--
2.31.1
From 31aba713708a5249a58cfdf22fa63529b705068f Mon Sep 17 00:00:00 2001
From 01b361f5545cecf51cfb3a3b1cab5daf95493f9e 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
@ -2078,3 +2078,443 @@ index 4123c8bb6b6f..b5491509d6a2 100644
--
2.31.1
From 6b1fe6ca8dcee7ab81ce2f09044b079e06bc1f48 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
activated manually
When powersaving (so either wifi powersaving or deep sleep, depending on
which state the firmware is in) is disabled, the way the firmware goes
into host sleep is different: Usually the firmware implicitely enters
host sleep on the next SLEEP event we get when we configured host sleep
via HSCFG before. When powersaving is disabled though, there are no
SLEEP events, the way we enter host sleep in that case is different: The
firmware will send us a HS_ACT_REQ event and after that we "manually"
make the firmware enter host sleep by sending it another HSCFG command
with the action HS_ACTIVATE.
Now waking up from host sleep appears to be different depending on
whether powersaving is enabled again: When powersaving is enabled, the
firmware implicitely leaves host sleep as soon as it wakes up and sends
us an AWAKE event. When powersaving is disabled though, it apparently
doesn't implicitely leave host sleep, but instead we need to send it a
HSCFG command with the HS_CONFIGURE action and the HS_CFG_CANCEL
condition. We didn't do that so far, which is why waking up from host
sleep was broken when powersaving is disabled.
So add some additional state to mwifiex_adapter where we keep track of
whether host sleep was activated manually via HS_ACTIVATE, and if that
was the case, deactivate it manually again via HS_CFG_CANCEL.
Patchset: wifi
---
drivers/net/wireless/marvell/mwifiex/cmdevt.c | 21 +++++++++++++++++++
drivers/net/wireless/marvell/mwifiex/main.c | 18 ++++++++++++++++
drivers/net/wireless/marvell/mwifiex/main.h | 1 +
.../net/wireless/marvell/mwifiex/sta_cmd.c | 4 ++++
4 files changed, 44 insertions(+)
diff --git a/drivers/net/wireless/marvell/mwifiex/cmdevt.c b/drivers/net/wireless/marvell/mwifiex/cmdevt.c
index 3a11342a6bde..5487df8f994d 100644
--- a/drivers/net/wireless/marvell/mwifiex/cmdevt.c
+++ b/drivers/net/wireless/marvell/mwifiex/cmdevt.c
@@ -608,6 +608,11 @@ int mwifiex_send_cmd(struct mwifiex_private *priv, u16 cmd_no,
return -1;
}
+ if (priv->adapter->hs_activated_manually &&
+ cmd_no != HostCmd_CMD_802_11_HS_CFG_ENH) {
+ mwifiex_cancel_hs(priv, MWIFIEX_ASYNC_CMD);
+ priv->adapter->hs_activated_manually = false;
+ }
/* Get a new command node */
cmd_node = mwifiex_get_cmd_node(adapter);
@@ -714,6 +719,15 @@ mwifiex_insert_cmd_to_pending_q(struct mwifiex_adapter *adapter,
}
}
+ /* Same with exit host sleep cmd, luckily that can't happen at the same time as EXIT_PS */
+ if (command == HostCmd_CMD_802_11_HS_CFG_ENH) {
+ struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg =
+ &host_cmd->params.opt_hs_cfg;
+
+ if (le16_to_cpu(hs_cfg->action) == HS_ACTIVATE)
+ add_tail = false;
+ }
+
spin_lock_bh(&adapter->cmd_pending_q_lock);
if (add_tail)
list_add_tail(&cmd_node->list, &adapter->cmd_pending_q);
@@ -1216,6 +1230,13 @@ mwifiex_process_hs_config(struct mwifiex_adapter *adapter)
__func__);
adapter->if_ops.wakeup(adapter);
+
+ if (adapter->hs_activated_manually) {
+ mwifiex_cancel_hs(mwifiex_get_priv (adapter, MWIFIEX_BSS_ROLE_ANY),
+ MWIFIEX_ASYNC_CMD);
+ adapter->hs_activated_manually = false;
+ }
+
adapter->hs_activated = false;
clear_bit(MWIFIEX_IS_HS_CONFIGURED, &adapter->work_flags);
clear_bit(MWIFIEX_IS_SUSPENDED, &adapter->work_flags);
diff --git a/drivers/net/wireless/marvell/mwifiex/main.c b/drivers/net/wireless/marvell/mwifiex/main.c
index ee52fb839ef7..aa44bcbebca4 100644
--- a/drivers/net/wireless/marvell/mwifiex/main.c
+++ b/drivers/net/wireless/marvell/mwifiex/main.c
@@ -401,6 +401,12 @@ int mwifiex_main_process(struct mwifiex_adapter *adapter)
!adapter->scan_processing) &&
!adapter->data_sent &&
!skb_queue_empty(&adapter->tx_data_q)) {
+ if (adapter->hs_activated_manually) {
+ mwifiex_cancel_hs(mwifiex_get_priv(adapter, MWIFIEX_BSS_ROLE_ANY),
+ MWIFIEX_ASYNC_CMD);
+ adapter->hs_activated_manually = false;
+ }
+
mwifiex_process_tx_queue(adapter);
if (adapter->hs_activated) {
clear_bit(MWIFIEX_IS_HS_CONFIGURED,
@@ -418,6 +424,12 @@ int mwifiex_main_process(struct mwifiex_adapter *adapter)
!mwifiex_bypass_txlist_empty(adapter) &&
!mwifiex_is_tdls_chan_switching
(mwifiex_get_priv(adapter, MWIFIEX_BSS_ROLE_STA))) {
+ if (adapter->hs_activated_manually) {
+ mwifiex_cancel_hs(mwifiex_get_priv(adapter, MWIFIEX_BSS_ROLE_ANY),
+ MWIFIEX_ASYNC_CMD);
+ adapter->hs_activated_manually = false;
+ }
+
mwifiex_process_bypass_tx(adapter);
if (adapter->hs_activated) {
clear_bit(MWIFIEX_IS_HS_CONFIGURED,
@@ -434,6 +446,12 @@ int mwifiex_main_process(struct mwifiex_adapter *adapter)
!adapter->data_sent && !mwifiex_wmm_lists_empty(adapter) &&
!mwifiex_is_tdls_chan_switching
(mwifiex_get_priv(adapter, MWIFIEX_BSS_ROLE_STA))) {
+ if (adapter->hs_activated_manually) {
+ mwifiex_cancel_hs(mwifiex_get_priv(adapter, MWIFIEX_BSS_ROLE_ANY),
+ MWIFIEX_ASYNC_CMD);
+ adapter->hs_activated_manually = false;
+ }
+
mwifiex_wmm_process_tx(adapter);
if (adapter->hs_activated) {
clear_bit(MWIFIEX_IS_HS_CONFIGURED,
diff --git a/drivers/net/wireless/marvell/mwifiex/main.h b/drivers/net/wireless/marvell/mwifiex/main.h
index 5923c5c14c8d..90012cbcfd15 100644
--- a/drivers/net/wireless/marvell/mwifiex/main.h
+++ b/drivers/net/wireless/marvell/mwifiex/main.h
@@ -986,6 +986,7 @@ struct mwifiex_adapter {
struct timer_list wakeup_timer;
struct mwifiex_hs_config_param hs_cfg;
u8 hs_activated;
+ u8 hs_activated_manually;
u16 hs_activate_wait_q_woken;
wait_queue_head_t hs_activate_wait_q;
u8 event_body[MAX_EVENT_SIZE];
diff --git a/drivers/net/wireless/marvell/mwifiex/sta_cmd.c b/drivers/net/wireless/marvell/mwifiex/sta_cmd.c
index d3a968ef21ef..76db9a7b8199 100644
--- a/drivers/net/wireless/marvell/mwifiex/sta_cmd.c
+++ b/drivers/net/wireless/marvell/mwifiex/sta_cmd.c
@@ -396,6 +396,10 @@ mwifiex_cmd_802_11_hs_cfg(struct mwifiex_private *priv,
if (hs_activate) {
hs_cfg->action = cpu_to_le16(HS_ACTIVATE);
hs_cfg->params.hs_activate.resp_ctrl = cpu_to_le16(RESP_NEEDED);
+
+ adapter->hs_activated_manually = true;
+ mwifiex_dbg(priv->adapter, CMD,
+ "cmd: Activating host sleep manually\n");
} else {
hs_cfg->action = cpu_to_le16(HS_CONFIGURE);
hs_cfg->params.hs_config.conditions = hscfg_param->conditions;
--
2.31.1
From 124e514887217763a02a178f5ba8f16e542acf99 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
hardware revision
The 88W8897 pcie card with the hardware revision 20 apparently has a
hardware issue where the card wakes up from deep sleep randomly and very
often, somewhat depending on the card activity, maybe the hardware has a
floating wakeup pin or something.
Those continuous wakeups prevent the card from entering host sleep when
the computer suspends. And because the host won't answer to events from
the card anymore while it's suspended, the firmwares internal
powersaving state machine seems to get confused and the card can't sleep
anymore at all after that.
Since we can't work around that hardware bug in the firmware, let's
get the hardware revision string from the firmware and match it with
known bad revisions. Then disable auto deep sleep for those revisions,
which makes sure we no longer get those spurious wakeups.
Patchset: wifi
---
drivers/net/wireless/marvell/mwifiex/main.c | 14 ++++++++++++++
drivers/net/wireless/marvell/mwifiex/main.h | 1 +
.../net/wireless/marvell/mwifiex/sta_cmdresp.c | 16 ++++++++++++++++
3 files changed, 31 insertions(+)
diff --git a/drivers/net/wireless/marvell/mwifiex/main.c b/drivers/net/wireless/marvell/mwifiex/main.c
index aa44bcbebca4..f09a39ce645f 100644
--- a/drivers/net/wireless/marvell/mwifiex/main.c
+++ b/drivers/net/wireless/marvell/mwifiex/main.c
@@ -226,6 +226,19 @@ static int mwifiex_process_rx(struct mwifiex_adapter *adapter)
return 0;
}
+static void maybe_quirk_fw_disable_ds(struct mwifiex_adapter *adapter)
+{
+ struct mwifiex_private *priv = mwifiex_get_priv(adapter, MWIFIEX_BSS_ROLE_STA);
+ struct mwifiex_ver_ext ver_ext;
+
+ set_bit(MWIFIEX_IS_REQUESTING_FW_VEREXT, &adapter->work_flags);
+
+ memset(&ver_ext, 0, sizeof(ver_ext));
+ ver_ext.version_str_sel = 1;
+ mwifiex_send_cmd(priv, HostCmd_CMD_VERSION_EXT,
+ HostCmd_ACT_GEN_GET, 0, &ver_ext, false);
+}
+
/*
* The main process.
*
@@ -356,6 +369,7 @@ int mwifiex_main_process(struct mwifiex_adapter *adapter)
if (adapter->hw_status == MWIFIEX_HW_STATUS_INIT_DONE) {
adapter->hw_status = MWIFIEX_HW_STATUS_READY;
mwifiex_init_fw_complete(adapter);
+ maybe_quirk_fw_disable_ds(adapter);
}
}
diff --git a/drivers/net/wireless/marvell/mwifiex/main.h b/drivers/net/wireless/marvell/mwifiex/main.h
index 90012cbcfd15..1e829d84b1f6 100644
--- a/drivers/net/wireless/marvell/mwifiex/main.h
+++ b/drivers/net/wireless/marvell/mwifiex/main.h
@@ -524,6 +524,7 @@ enum mwifiex_adapter_work_flags {
MWIFIEX_IS_SUSPENDED,
MWIFIEX_IS_HS_CONFIGURED,
MWIFIEX_IS_HS_ENABLING,
+ MWIFIEX_IS_REQUESTING_FW_VEREXT,
};
struct mwifiex_band_config {
diff --git a/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c b/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
index 6b5d35d9e69f..8e49ebca1847 100644
--- a/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
+++ b/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
@@ -708,6 +708,22 @@ static int mwifiex_ret_ver_ext(struct mwifiex_private *priv,
{
struct host_cmd_ds_version_ext *ver_ext = &resp->params.verext;
+ if (test_and_clear_bit(MWIFIEX_IS_REQUESTING_FW_VEREXT, &priv->adapter->work_flags)) {
+ if (strncmp(ver_ext->version_str, "ChipRev:20, BB:9b(10.00), RF:40(21)", 128) == 0) {
+ struct mwifiex_ds_auto_ds auto_ds = {
+ .auto_ds = DEEP_SLEEP_OFF,
+ };
+
+ mwifiex_dbg(priv->adapter, MSG,
+ "Bad HW revision detected, disabling deep sleep\n");
+
+ mwifiex_send_cmd(priv, HostCmd_CMD_802_11_PS_MODE_ENH,
+ DIS_AUTO_PS, BITMAP_AUTO_DS, &auto_ds, false);
+ }
+
+ return 0;
+ }
+
if (version_ext) {
version_ext->version_str_sel = ver_ext->version_str_sel;
memcpy(version_ext->version_str, ver_ext->version_str,
--
2.31.1
From f0ed81021c5ef6787fc722b805b6f326c01a428e 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
disabled
It's not an error if someone chooses to put their computer to sleep, not
wanting it to wake up because the person next door has just discovered
what a magic packet is. So change the loglevel of this annoying message
from ERROR to INFO.
Patchset: wifi
---
drivers/net/wireless/marvell/mwifiex/cfg80211.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index 1e1cf523e228..1cdd66c37cfc 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -3480,7 +3480,7 @@ static int mwifiex_cfg80211_suspend(struct wiphy *wiphy,
}
if (!wowlan) {
- mwifiex_dbg(adapter, ERROR,
+ mwifiex_dbg(adapter, INFO,
"None of the WOWLAN triggers enabled\n");
ret = 0;
goto done;
--
2.31.1
From 31daf6ae339d2b89b7de946b3d69b52f17216022 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
upload
Sometimes the KEY_MATERIAL command can fail with the 88W8897 firmware
(when this happens exactly seems pretty random). This appears to prevent
the access point from starting, so it seems like a good idea to log an
error in that case.
Patchset: wifi
---
drivers/net/wireless/marvell/mwifiex/cfg80211.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index 1cdd66c37cfc..6ad935c1bb47 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -519,8 +519,14 @@ mwifiex_cfg80211_set_default_mgmt_key(struct wiphy *wiphy,
encrypt_key.is_igtk_def_key = true;
eth_broadcast_addr(encrypt_key.mac_addr);
- return mwifiex_send_cmd(priv, HostCmd_CMD_802_11_KEY_MATERIAL,
- HostCmd_ACT_GEN_SET, true, &encrypt_key, true);
+ if (mwifiex_send_cmd(priv, HostCmd_CMD_802_11_KEY_MATERIAL,
+ HostCmd_ACT_GEN_SET, true, &encrypt_key, true)) {
+ mwifiex_dbg(priv->adapter, ERROR,
+ "Sending KEY_MATERIAL command failed\n");
+ return -1;
+ }
+
+ return 0;
}
/*
--
2.31.1
From 7342f05bc4652898626a55f4a3255e247a46dc53 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
We're sending DELBA requests here, not ADDBA requests.
Patchset: wifi
---
drivers/net/wireless/marvell/mwifiex/11n.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/marvell/mwifiex/11n.c b/drivers/net/wireless/marvell/mwifiex/11n.c
index 6696bce56178..b0695432b26a 100644
--- a/drivers/net/wireless/marvell/mwifiex/11n.c
+++ b/drivers/net/wireless/marvell/mwifiex/11n.c
@@ -125,7 +125,7 @@ int mwifiex_ret_11n_delba(struct mwifiex_private *priv,
tx_ba_tbl->ra);
} else { /*
* In case of failure, recreate the deleted stream in case
- * we initiated the ADDBA
+ * we initiated the DELBA
*/
if (!INITIATOR_BIT(del_ba_param_set))
return 0;
--
2.31.1
From 6787d70bad4014ed611886b8231447a328a8082e 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
We're currently failing to set the initiator bit for DELBA requests:
While we set the bit on our del_ba_param_set bitmask, we forget to
actually copy that bitmask over to the command struct, which means we
never actually set the initiator bit.
Fix that and copy the bitmask over to the host_cmd_ds_11n_delba command
struct.
Patchset: wifi
---
drivers/net/wireless/marvell/mwifiex/11n.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/marvell/mwifiex/11n.c b/drivers/net/wireless/marvell/mwifiex/11n.c
index b0695432b26a..9ff2058bcd7e 100644
--- a/drivers/net/wireless/marvell/mwifiex/11n.c
+++ b/drivers/net/wireless/marvell/mwifiex/11n.c
@@ -657,14 +657,15 @@ int mwifiex_send_delba(struct mwifiex_private *priv, int tid, u8 *peer_mac,
uint16_t del_ba_param_set;
memset(&delba, 0, sizeof(delba));
- delba.del_ba_param_set = cpu_to_le16(tid << DELBA_TID_POS);
- del_ba_param_set = le16_to_cpu(delba.del_ba_param_set);
+ del_ba_param_set = tid << DELBA_TID_POS;
+
if (initiator)
del_ba_param_set |= IEEE80211_DELBA_PARAM_INITIATOR_MASK;
else
del_ba_param_set &= ~IEEE80211_DELBA_PARAM_INITIATOR_MASK;
+ delba.del_ba_param_set = cpu_to_le16(del_ba_param_set);
memcpy(&delba.peer_mac_addr, peer_mac, ETH_ALEN);
/* We don't wait for the response of this command */
--
2.31.1
From 9918e8f33e170074ba3a2e7bb2a70926baf56e16 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
The firmware of the pcie 88W8897 chip sends those events very
unreliably, which means we sometimes end up actually capping the window
size while bluetooth is disabled, artifically limiting wifi speeds even
though it's not needed.
Since we can't fix the firmware, let's just ignore those events, it
seems that the Windows driver also doesn't change the rx/tx block ack
buffer sizes when bluetooth gets enabled or disabled, so this is
consistent with the Windows driver.
Patchset: wifi
---
drivers/net/wireless/marvell/mwifiex/sta_event.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/wireless/marvell/mwifiex/sta_event.c b/drivers/net/wireless/marvell/mwifiex/sta_event.c
index 68c63268e2e6..933111a3511c 100644
--- a/drivers/net/wireless/marvell/mwifiex/sta_event.c
+++ b/drivers/net/wireless/marvell/mwifiex/sta_event.c
@@ -1057,9 +1057,7 @@ int mwifiex_process_sta_event(struct mwifiex_private *priv)
adapter->event_skb);
break;
case EVENT_BT_COEX_WLAN_PARA_CHANGE:
- dev_dbg(adapter->dev, "EVENT: BT coex wlan param update\n");
- mwifiex_bt_coex_wlan_param_update_event(priv,
- adapter->event_skb);
+ dev_dbg(adapter->dev, "EVENT: ignoring BT coex wlan param update\n");
break;
case EVENT_RXBA_SYNC:
dev_dbg(adapter->dev, "EVENT: RXBA_SYNC\n");
--
2.31.1

View file

@ -1,4 +1,4 @@
From dc97afb056f2b79a556cd82afc7b8c0acd40b8f3 Mon Sep 17 00:00:00 2001
From 18ebd984721f0a8f91cc485379233a32f07141ca 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 a7e179626b63..fdcc0eedc49f 100644
--
2.31.1
From 8ed45ea578fd71f7273b8f08181ef37d3541f6f8 Mon Sep 17 00:00:00 2001
From 4470e166117c2267a8c3267002cc8a5ed3ccbbfd Mon Sep 17 00:00:00 2001
From: Dorian Stoll <dorian.stoll@tmsp.io>
Date: Thu, 25 Feb 2021 09:37:47 +0100
Subject: [PATCH] misc: mei: Remove client devices before shutting down bus
@ -65,7 +65,7 @@ index bcee77768b91..21ed765003e1 100644
--
2.31.1
From d335a14145999600b6a538ee178b54e234bbf938 Mon Sep 17 00:00:00 2001
From 5299397cce68977ef2b198390be18b3318f44f91 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 da57c77ce0b29e7066f4884a7ddcffb7daa2aa29 Mon Sep 17 00:00:00 2001
From c81ceea41bcbc98672f271c7c5fd79108bbf59f3 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 37c510d9347a..aed579942436 100644
--
2.31.1
From 2162f273db4c2cc519b0c06532a05d7d9dc060b9 Mon Sep 17 00:00:00 2001
From d24e73f2657fc7fa56d2bf637cd66167309b3b5b 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,4 +1,4 @@
From aa9f0d45478a3362ebbd7dcd94334ee80b79d42a Mon Sep 17 00:00:00 2001
From 4935aa5a79217d2ff23e66a4296da80225a26cf1 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 21 Dec 2020 19:39:51 +0100
Subject: [PATCH] platform/surface: Add Surface Aggregator subsystem
@ -9160,7 +9160,7 @@ index 000000000000..64276fbfa1d5
--
2.31.1
From d7f116f7e4b6e04a26d06be3a2e2add293360e67 Mon Sep 17 00:00:00 2001
From 51f85accf918c6e7835e11fc41750ff4782e035c Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 21 Dec 2020 19:39:52 +0100
Subject: [PATCH] platform/surface: aggregator: Add control packet allocation
@ -9322,7 +9322,7 @@ index 058f111292ca..e8757d03f279 100644
--
2.31.1
From feb4bb07e255c4e1475ebf00d20bdd8185d20492 Mon Sep 17 00:00:00 2001
From f1366ddc8701296849f7fa04b68296418aef8c8a Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 21 Dec 2020 19:39:53 +0100
Subject: [PATCH] platform/surface: aggregator: Add event item allocation
@ -9550,7 +9550,7 @@ index 60d312f71436..37593234fb31 100644
--
2.31.1
From 4bdaa1be0b504d82f132d7a4dae9e13e8521a0fa Mon Sep 17 00:00:00 2001
From 7ccb34b5aa95aa2d49d3fb2efa74aad873fe7820 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 21 Dec 2020 19:39:54 +0100
Subject: [PATCH] platform/surface: aggregator: Add trace points
@ -10444,7 +10444,7 @@ index 000000000000..dcca8007d876
--
2.31.1
From 114b0bfca8f9786c4d25cb880267da58f11bbce6 Mon Sep 17 00:00:00 2001
From c9b25e2a2ac5c197017e105c0d5dcb98b655a035 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 21 Dec 2020 19:39:55 +0100
Subject: [PATCH] platform/surface: aggregator: Add error injection
@ -10953,7 +10953,7 @@ index dcca8007d876..eb332bb53ae4 100644
--
2.31.1
From d029b2fee9d83f8e88b5b80d3a0983b12d5af5eb Mon Sep 17 00:00:00 2001
From f698424b6b2b09ef2a423d4f704ca54582042db4 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 21 Dec 2020 19:39:56 +0100
Subject: [PATCH] platform/surface: aggregator: Add dedicated bus and device
@ -12052,7 +12052,7 @@ index fb4827027536..d21d2871387b 100644
--
2.31.1
From 1c78ce82c4425897f1be9522bb2edff1b7e4b28b Mon Sep 17 00:00:00 2001
From 5ef736bef447efc75a1e717bc1aee5c6e3e3d67e Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 21 Dec 2020 19:39:57 +0100
Subject: [PATCH] docs: driver-api: Add Surface Aggregator subsystem
@ -13691,7 +13691,7 @@ index 530792c869c4..8e6fe82c1072 100644
--
2.31.1
From a4a090fad671d013d153da67f9e3ba90b2e3145d Mon Sep 17 00:00:00 2001
From a2c52b3c67b65d7570ccc8d7b61b3628275df9e6 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 21 Dec 2020 19:39:58 +0100
Subject: [PATCH] platform/surface: Add Surface Aggregator user-space interface
@ -14303,7 +14303,7 @@ index 000000000000..fbcce04abfe9
--
2.31.1
From 9e59f052ef8c13aed7068ce20f47343ee8c58101 Mon Sep 17 00:00:00 2001
From 4c612a63eb953a5b7330cb1b1616a11ccc1a05fa Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 21 Dec 2020 19:39:59 +0100
Subject: [PATCH] platform/surface: Add Surface ACPI Notify driver
@ -15418,7 +15418,7 @@ index 000000000000..8e3e86c7d78c
--
2.31.1
From 850539f07bb85f0ff2cc0ee8d4fcabfb8e0ea683 Mon Sep 17 00:00:00 2001
From 4fdd77fa8b4cb7d991b17a7a3cd1b8fc7d099419 Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Mon, 11 Jan 2021 14:46:48 +0000
Subject: [PATCH] platform/surface: fix potential integer overflow on shift of
@ -15456,7 +15456,7 @@ index 8cd67a669c86..ef9c1f8e8336 100644
--
2.31.1
From 49ee9d37c3f2569d708443d625f8b68f885a2439 Mon Sep 17 00:00:00 2001
From f5c7531620f324a5b052b5186c5eac2d1e37cb1c Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 11 Jan 2021 16:48:50 +0100
Subject: [PATCH] platform/surface: aggregator_cdev: Fix access of
@ -15496,7 +15496,7 @@ index 340d15b148b9..979340cdd9de 100644
--
2.31.1
From 3d78120155d432c582fc80db9784c16a7a0db6fa Mon Sep 17 00:00:00 2001
From feebf0b3db5062c74a6c566eef463783097ec33b Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Mon, 11 Jan 2021 16:48:51 +0100
Subject: [PATCH] platform/surface: aggregator_cdev: Add comments regarding
@ -15565,7 +15565,7 @@ index 979340cdd9de..79e28fab7e40 100644
--
2.31.1
From 77902d5d83b2fad061b6d08cb567f25044f99b89 Mon Sep 17 00:00:00 2001
From 83e8aa0e0e9465964457902844d3b191fcf369c2 Mon Sep 17 00:00:00 2001
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Date: Thu, 14 Jan 2021 09:04:52 +0100
Subject: [PATCH] platform/surface: aggregator: fix a kernel-doc markup
@ -15600,7 +15600,7 @@ index bb1c862411a2..25db4d638cfa 100644
--
2.31.1
From 02cece2c36d9df409883e450fce311220c463681 Mon Sep 17 00:00:00 2001
From 651198966b33cc8849797c1fd16fae436b6af18d Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 14 Jan 2021 16:08:26 +0100
Subject: [PATCH] platform/surface: aggregator: Fix kernel-doc references
@ -15637,7 +15637,7 @@ index 25db4d638cfa..52a83a8fcf82 100644
--
2.31.1
From 129aab4cfef21cc1a6d19f00c8d991ad7402526f Mon Sep 17 00:00:00 2001
From 5c8673aca2495e558d8b011f7286d33417a747da Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 26 Jan 2021 18:22:02 +0100
Subject: [PATCH] platform/surface: aggregator: Fix braces in if condition with
@ -15700,7 +15700,7 @@ index 74f0faaa2b27..583315db8b02 100644
--
2.31.1
From 6748d041329a3a6bf624e99cb8bd3f294208ab05 Mon Sep 17 00:00:00 2001
From 1861d51ba1caa402c155c7374c76c7c26703954f Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 11 Feb 2021 13:41:49 +0100
Subject: [PATCH] platform/surface: aggregator: Fix access of unaligned value
@ -15740,7 +15740,7 @@ index 583315db8b02..15d96eac6811 100644
--
2.31.1
From 002783c0500b184064929bc3038d25e696d201fb Mon Sep 17 00:00:00 2001
From b46589dd6b134875945851eea6839a05f40d9a8e Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 7 Feb 2021 03:42:45 +0100
Subject: [PATCH] platform/surface: Set up Surface Aggregator device registry
@ -16135,7 +16135,7 @@ index 000000000000..a051d941ad96
--
2.31.1
From 8b302e73b96f76d09f74ece307845c8666a11860 Mon Sep 17 00:00:00 2001
From 9a74bba8cd80b1c4ccc0b270ba05932994167ef0 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 7 Feb 2021 04:14:35 +0100
Subject: [PATCH] platform/surface: aggregator_registry: Add base device hub
@ -16461,7 +16461,7 @@ index a051d941ad96..6c23d75a044c 100644
--
2.31.1
From 75d07e3aa3769e7478819d665453550a610d766d Mon Sep 17 00:00:00 2001
From bed1cee4f6e1ce732c9cc10682e516596c30609c Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 7 Feb 2021 04:55:09 +0100
Subject: [PATCH] platform/surface: aggregator_registry: Add battery subsystem
@ -16547,7 +16547,7 @@ index 6c23d75a044c..cde279692842 100644
--
2.31.1
From 5207c7d5c49484139121adff9d386125553b234e Mon Sep 17 00:00:00 2001
From d86247216073a01cfc5f8a072a995dd408f2e729 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 7 Feb 2021 05:01:08 +0100
Subject: [PATCH] platform/surface: aggregator_registry: Add platform profile
@ -16646,7 +16646,7 @@ index cde279692842..33904613dd4b 100644
--
2.31.1
From 12b0d8b0fd686f27b270376fa9495dfeba5e05ba Mon Sep 17 00:00:00 2001
From ad93bb27ebc30997b8c88b65abbbd4c8fe20ef2b Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 7 Feb 2021 05:06:41 +0100
Subject: [PATCH] platform/surface: aggregator_registry: Add DTX device
@ -16687,7 +16687,7 @@ index 33904613dd4b..dc044d06828b 100644
--
2.31.1
From 596a15d189cf7a66ea6c795f3b590fcad34c7fe4 Mon Sep 17 00:00:00 2001
From 8d1e4f41c53bb40813a6e21af9b9c18b25237af9 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sun, 7 Feb 2021 05:16:44 +0100
Subject: [PATCH] platform/surface: aggregator_registry: Add HID subsystem
@ -16780,7 +16780,7 @@ index dc044d06828b..caee90d135c5 100644
--
2.31.1
From cca59fd7d642f0d1720debdbeedde37c89acd94c Mon Sep 17 00:00:00 2001
From 727aba2e96ac02582f9af1e8a06386737546ee6b Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 9 Mar 2021 17:03:15 +0100
Subject: [PATCH] platform/surface: aggregator_registry: Add support for
@ -16821,7 +16821,7 @@ index caee90d135c5..6de74e893d06 100644
--
2.31.1
From 2b03354a37ae3c10691d97ffc5706d68322d7785 Mon Sep 17 00:00:00 2001
From 68c3ccc69592a88f51ef347838da497f40f3f02e 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
@ -16862,7 +16862,7 @@ index 6de74e893d06..304d601980ed 100644
--
2.31.1
From 5d62a3bbd2bf4befaaa919b662c732bff287306a Mon Sep 17 00:00:00 2001
From 11c91d6c3257d90d3d89afec30eecc8945f6807f Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 7 Apr 2021 01:51:47 +0200
Subject: [PATCH] platform/surface: aggregator_registry: Give devices time to
@ -17103,7 +17103,7 @@ index 304d601980ed..dd1d6504b004 100644
--
2.31.1
From d66fcdd4fd2653d705bbe4689c63c913710678a5 Mon Sep 17 00:00:00 2001
From 65877c1ec32f2d16f7298c1e8e12d5ca23082632 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 9 Feb 2021 02:46:40 +0100
Subject: [PATCH] platform/surface: Add DTX driver
@ -18594,7 +18594,7 @@ index 000000000000..0833aab0d819
--
2.31.1
From b379ef38e28bc5aed1f7e6d9a089974d7082b151 Mon Sep 17 00:00:00 2001
From 5d7c8efaa3efd5fedb0b75fc59316ff71990ba04 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 9 Feb 2021 02:50:11 +0100
Subject: [PATCH] platform/surface: dtx: Add support for native SSAM devices
@ -18735,7 +18735,7 @@ index a95adc1094aa..4bb5d286bf95 100644
--
2.31.1
From 162f3725baa417c00c8ffdc4ba437cbd1bfd9fff Mon Sep 17 00:00:00 2001
From ac6af50e075a893ee8417c981698cda39aa921e5 Mon Sep 17 00:00:00 2001
From: kernel test robot <lkp@intel.com>
Date: Wed, 7 Apr 2021 01:51:07 +0200
Subject: [PATCH] platform/surface: fix semicolon.cocci warnings
@ -18775,7 +18775,7 @@ index 4bb5d286bf95..2591b875b016 100644
--
2.31.1
From 9d96fcd202939519927a4482d3ef4e9194e994e1 Mon Sep 17 00:00:00 2001
From e39b78c77e757e2c4ee2c74f421bd2cfe25bcfd6 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Tue, 9 Feb 2021 02:55:31 +0100
Subject: [PATCH] docs: driver-api: Add Surface DTX driver documentation
@ -19543,7 +19543,7 @@ index 1a60e353df38..a6a4f5afdfa8 100644
--
2.31.1
From ab1b6838dfc3bdc2c7d6a45d20a301bf5c948a97 Mon Sep 17 00:00:00 2001
From e52af1227feeede8e4cc6c83d52e91ebc0efa39d Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 11 Feb 2021 20:08:50 +0100
Subject: [PATCH] HID: Add support for Surface Aggregator Module HID transport
@ -20286,7 +20286,7 @@ index 000000000000..4b1a7b57e035
--
2.31.1
From 425e53bf599e1bedcf96dbf468858e46ba6ae37e Mon Sep 17 00:00:00 2001
From 0a443c83fd90299992b08c28af9d8e9bdf19719a Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 11 Feb 2021 20:10:17 +0100
Subject: [PATCH] HID: surface-hid: Add support for legacy keyboard interface
@ -20678,7 +20678,46 @@ index 000000000000..0635341bc517
--
2.31.1
From a0ef8debe0f579c95b04b79c54ffa4e0b31c37a5 Mon Sep 17 00:00:00 2001
From 30a98bf69748f487de66a40ac54995879da6e872 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
We want to convert from 16 bit (unsigned) little endian values contained
in a packed struct to CPU native endian values here, not the other way
around. So replace cpu_to_le16() with get_unaligned_le16(), using the
latter instead of le16_to_cpu() to acknowledge that we are reading from
a packed struct.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: b05ff1002a5c ("HID: Add support for Surface Aggregator Module HID transport")
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Patchset: surface-sam
---
drivers/hid/surface-hid/surface_hid_core.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/hid/surface-hid/surface_hid_core.c b/drivers/hid/surface-hid/surface_hid_core.c
index 7b27ec392232..5571e74abe91 100644
--- a/drivers/hid/surface-hid/surface_hid_core.c
+++ b/drivers/hid/surface-hid/surface_hid_core.c
@@ -168,9 +168,9 @@ int surface_hid_device_add(struct surface_hid_device *shid)
shid->hid->dev.parent = shid->dev;
shid->hid->bus = BUS_HOST;
- shid->hid->vendor = cpu_to_le16(shid->attrs.vendor);
- shid->hid->product = cpu_to_le16(shid->attrs.product);
- shid->hid->version = cpu_to_le16(shid->hid_desc.hid_version);
+ shid->hid->vendor = get_unaligned_le16(&shid->attrs.vendor);
+ shid->hid->product = get_unaligned_le16(&shid->attrs.product);
+ shid->hid->version = get_unaligned_le16(&shid->hid_desc.hid_version);
shid->hid->country = shid->hid_desc.country_code;
snprintf(shid->hid->name, sizeof(shid->hid->name), "Microsoft Surface %04X:%04X",
--
2.31.1
From dd81ac6460934f2bc7ba64f16efc58f8d6fb8c5c Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 12 Feb 2021 21:06:12 +0100
Subject: [PATCH] power: supply: Add battery driver for Surface Aggregator
@ -21635,7 +21674,7 @@ index 000000000000..1f114f3f3f59
--
2.31.1
From f827f1cf2a3da30820babe778df2ffd4a05b629d Mon Sep 17 00:00:00 2001
From bbb553f4677fbffa0fd4f210142c38881a3454e8 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 12 Feb 2021 21:07:17 +0100
Subject: [PATCH] power: supply: Add AC driver for Surface Aggregator Module
@ -22001,7 +22040,95 @@ index 000000000000..e89ffab86e9c
--
2.31.1
From 8d4056222b04e79f0bebb95adb758da2db7ac3f6 Mon Sep 17 00:00:00 2001
From 0f7c9c97b0b3e56a6ec2738a9dc403b86d105ae6 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
The sparse tool complains as follows:
drivers/power/supply/surface_battery.c:700:1: warning:
symbol 'dev_attr_alarm' was not declared. Should it be static?
drivers/power/supply/surface_battery.c:805:1: warning:
symbol 'surface_battery_pm_ops' was not declared. Should it be static?
This symbol is not used outside of surface_battery.c, so this
commit marks it static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Acked-by: Maximilian Luz <luzmaximilian@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Patchset: surface-sam
---
drivers/power/supply/surface_battery.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/surface_battery.c b/drivers/power/supply/surface_battery.c
index 1f114f3f3f59..41342f4534f6 100644
--- a/drivers/power/supply/surface_battery.c
+++ b/drivers/power/supply/surface_battery.c
@@ -697,7 +697,7 @@ static ssize_t alarm_store(struct device *dev, struct device_attribute *attr, co
return count;
}
-DEVICE_ATTR_RW(alarm);
+static DEVICE_ATTR_RW(alarm);
static struct attribute *spwr_battery_attrs[] = {
&dev_attr_alarm.attr,
@@ -802,7 +802,7 @@ static int __maybe_unused surface_battery_resume(struct device *dev)
{
return spwr_battery_recheck_full(dev_get_drvdata(dev));
}
-SIMPLE_DEV_PM_OPS(surface_battery_pm_ops, NULL, surface_battery_resume);
+static SIMPLE_DEV_PM_OPS(surface_battery_pm_ops, NULL, surface_battery_resume);
static int surface_battery_probe(struct ssam_device *sdev)
{
--
2.31.1
From e18615ab606fb52e08b3d5b124df035f04849fda 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
'surface_ac_pm_ops' static
The sparse tool complains as follows:
drivers/power/supply/surface_charger.c:229:1: warning:
symbol 'surface_ac_pm_ops' was not declared. Should it be static?
This symbol is not used outside of surface_charger.c, so this
commit marks it static.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Acked-by: Maximilian Luz <luzmaximilian@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.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 e89ffab86e9c..367f63116d35 100644
--- a/drivers/power/supply/surface_charger.c
+++ b/drivers/power/supply/surface_charger.c
@@ -226,7 +226,7 @@ static int __maybe_unused surface_ac_resume(struct device *dev)
{
return spwr_ac_recheck(dev_get_drvdata(dev));
}
-SIMPLE_DEV_PM_OPS(surface_ac_pm_ops, NULL, surface_ac_resume);
+static SIMPLE_DEV_PM_OPS(surface_ac_pm_ops, NULL, surface_ac_resume);
static int surface_ac_probe(struct ssam_device *sdev)
{
--
2.31.1
From f79a37f8687cd928b3f275a72fdb5d9e8967df48 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Sat, 13 Feb 2021 19:58:50 +0100
Subject: [PATCH] platform/surface: Add performance mode driver
@ -22188,7 +22315,7 @@ index 000000000000..3b92a43f8606
--
2.31.1
From 67d060f3d8a83dc138aee5b2def4416946fa3c7c Mon Sep 17 00:00:00 2001
From 430ca4fa5dd82846b26198d9f1abe32efbe28f22 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
@ -22420,7 +22547,7 @@ index 3b92a43f8606..a9114e001d0d 100644
.command_id = 0x03,
});
diff --git a/drivers/power/supply/surface_battery.c b/drivers/power/supply/surface_battery.c
index 1f114f3f3f59..4116dd839ecd 100644
index 41342f4534f6..7efa431a62b2 100644
--- a/drivers/power/supply/surface_battery.c
+++ b/drivers/power/supply/surface_battery.c
@@ -85,25 +85,25 @@ static_assert(sizeof(struct spwr_bst) == 16);
@ -22454,7 +22581,7 @@ index 1f114f3f3f59..4116dd839ecd 100644
.command_id = 0x04,
});
diff --git a/drivers/power/supply/surface_charger.c b/drivers/power/supply/surface_charger.c
index e89ffab86e9c..c2dd7e604d14 100644
index 367f63116d35..81a5b79822c9 100644
--- a/drivers/power/supply/surface_charger.c
+++ b/drivers/power/supply/surface_charger.c
@@ -28,13 +28,13 @@ enum sam_battery_sta {
@ -22701,3 +22828,38 @@ index 02f3e06c0a60..4441ad667c3f 100644
--
2.31.1
From a557c4987a6c85fb99cc22ea3e531e3ef481a2b8 Mon Sep 17 00:00:00 2001
From: Dan Carpenter <dan.carpenter@oracle.com>
Date: Tue, 20 Apr 2021 11:44:02 +0300
Subject: [PATCH] platform/surface: aggregator: fix a bit test
The "funcs" variable is a u64. If "func" is more than 31 then the
BIT() shift will wrap instead of testing the high bits.
Fixes: c167b9c7e3d6 ("platform/surface: Add Surface Aggregator subsystem")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/YH6UUhJhGk3mk13b@mwanda
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Patchset: surface-sam
---
drivers/platform/surface/aggregator/controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/surface/aggregator/controller.c b/drivers/platform/surface/aggregator/controller.c
index aa6f37b4f46e..88ec47cae5bf 100644
--- a/drivers/platform/surface/aggregator/controller.c
+++ b/drivers/platform/surface/aggregator/controller.c
@@ -1040,7 +1040,7 @@ static int ssam_dsm_load_u32(acpi_handle handle, u64 funcs, u64 func, u32 *ret)
union acpi_object *obj;
u64 val;
- if (!(funcs & BIT(func)))
+ if (!(funcs & BIT_ULL(func)))
return 0; /* Not supported, leave *ret at its default value */
obj = acpi_evaluate_dsm_typed(handle, &SSAM_SSH_DSM_GUID,
--
2.31.1

View file

@ -1,4 +1,4 @@
From 167806478ba789c51bf57060bf38e4f061622c5a Mon Sep 17 00:00:00 2001
From 997e94ed949736d0ab011e8004f58cd40b122cc1 Mon Sep 17 00:00:00 2001
From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Date: Tue, 16 Mar 2021 16:51:40 +0100
Subject: [PATCH] PCI: PM: Do not read power state in pci_enable_device_flags()
@ -66,7 +66,7 @@ index 9449dfde2841..5ddc27d9a275 100644
--
2.31.1
From bf317edee515d08cc4662218b7ea773df90408c3 Mon Sep 17 00:00:00 2001
From 50ccd79055ad31b5edbac55a4be3b784eec0d3b8 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Fri, 5 Feb 2021 02:26:57 +0100
Subject: [PATCH] platform/surface: Add Surface Hot-Plug driver

View file

@ -1,4 +1,4 @@
From ae17b19cb947a60b1e7dc02d73c1dbf809f53248 Mon Sep 17 00:00:00 2001
From 4861b8c32a401ec275f4cef7f6e90d184b9d7f12 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 c4e393621d7f1d456a524688cc9e95a2002e968d Mon Sep 17 00:00:00 2001
From 36fce68a552cf6d382881f8744da7c8253a98df9 Mon Sep 17 00:00:00 2001
From: Max Leiter <maxwell.leiter@gmail.com>
Date: Sat, 19 Dec 2020 17:50:55 -0800
Subject: [PATCH] iio:light:apds9960 add detection for MSHW0184 ACPI device in

View file

@ -1,4 +1,4 @@
From a082c93a41b73294896359c5a68099937ad3f7c9 Mon Sep 17 00:00:00 2001
From 398ccc8021ffe93e4c3a184fbecec97f4550fd5d Mon Sep 17 00:00:00 2001
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Wed, 30 Dec 2020 22:44:05 +0200
Subject: [PATCH] media: ipu3-cio2: Add headers that ipu3-cio2.h is direct user
@ -50,7 +50,7 @@ index ccf0b85ae36f..62187ab5ae43 100644
--
2.31.1
From 0f3b39c1e9afa9f49f5c55e99962b6fecd73e035 Mon Sep 17 00:00:00 2001
From dc3d21e86a20f00612e279e6337ef61322714417 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 24 Oct 2020 22:42:28 +0100
Subject: [PATCH] device property: Return true in fwnode_device_is_available
@ -95,7 +95,7 @@ index 35b95c6ac0c6..0bf5260f14c6 100644
--
2.31.1
From bbc253b41cffea34e5fbe955c2735788c2cca432 Mon Sep 17 00:00:00 2001
From a648125881ad588d9fd0779cb6c6b906f5da4859 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 21 Nov 2020 22:06:38 +0000
Subject: [PATCH] device property: Call fwnode_graph_get_endpoint_by_id() for
@ -139,7 +139,7 @@ index 0bf5260f14c6..1421e9548857 100644
--
2.31.1
From 18f6463b2a5a92ffd09ab7b85b176ad338a602b5 Mon Sep 17 00:00:00 2001
From 7ca9dfa166d50b03f506c5569ed94cc68acc6d22 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 25 Oct 2020 22:49:08 +0000
Subject: [PATCH] software_node: Enforce parent before child ordering of nodes
@ -242,7 +242,7 @@ index fbfb01ff1856..edfdd67daccd 100644
--
2.31.1
From d067949bea958a8956f7ed5cb48ae7cbac0c81c4 Mon Sep 17 00:00:00 2001
From a43cf2d598e58367c90e284ad22e2eac28e42e57 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 21 Oct 2020 22:25:03 +0100
Subject: [PATCH] software_node: unregister software_nodes in reverse order
@ -297,7 +297,7 @@ index edfdd67daccd..b22290106284 100644
--
2.31.1
From 057b455fd97ac0813e49ef4774a7452c582b96e5 Mon Sep 17 00:00:00 2001
From ba3e917e59a23e2e862dc5aca1a3ae3de575b5ac Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Tue, 22 Dec 2020 13:09:05 +0000
Subject: [PATCH] device property: Define format macros for ports and endpoints
@ -338,7 +338,7 @@ index fde4ad97564c..77414e431e89 100644
--
2.31.1
From 84b7e4c852936f4e7e8f789d8b37fd46205f9994 Mon Sep 17 00:00:00 2001
From 4edd3f4ccc1f89ebb1f110bc7b1dae3252fec297 Mon Sep 17 00:00:00 2001
From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Date: Tue, 15 Sep 2020 15:47:46 +0100
Subject: [PATCH] software_node: Add support for fwnode_graph*() family of
@ -506,7 +506,7 @@ index b22290106284..0e90bbf6e08c 100644
--
2.31.1
From 4d9c8abb5fa2559a5422537fea892e0e935d4ae9 Mon Sep 17 00:00:00 2001
From 99e32d7716de0b94ec9606ee61339c16dc2f2c1c Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Oct 2020 23:07:22 +0100
Subject: [PATCH] lib/test_printf.c: Use helper function to unwind array of
@ -544,7 +544,7 @@ index 7ac87f18a10f..7d60f24240a4 100644
--
2.31.1
From 7702bf371e6d8b299cf47df6ca4c5c92ceb07662 Mon Sep 17 00:00:00 2001
From 2a58e8efd9509de137dcd24ef1f29a6e1a8bdbd4 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Oct 2020 23:11:36 +0100
Subject: [PATCH] ipu3-cio2: Add T: entry to MAINTAINERS
@ -575,7 +575,7 @@ index d1b36e222cd1..c6c13433ecf6 100644
--
2.31.1
From fa1586cb2e6148f7a85df0e27613c8f99ae61961 Mon Sep 17 00:00:00 2001
From b93f4fd1fc0aef74e476ddf6a42489e854a1bf35 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 10 Oct 2020 22:47:21 +0100
Subject: [PATCH] ipu3-cio2: Rename ipu3-cio2.c
@ -610,7 +610,7 @@ rename to drivers/media/pci/intel/ipu3/ipu3-cio2-main.c
--
2.31.1
From 07071f6c93c57aa4149193d89d0cad427045cf4b Mon Sep 17 00:00:00 2001
From f680c7ad9cacf0a0760a2029ea5f34717432c6f8 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 21 Oct 2020 21:53:05 +0100
Subject: [PATCH] media: v4l2-core: v4l2-async: Check sd->fwnode->secondary in
@ -651,7 +651,7 @@ index e3ab003a6c85..9dd896d085ec 100644
--
2.31.1
From 23016927a20dd94458623fc781482cba8df65e1e Mon Sep 17 00:00:00 2001
From 4e1d915919f87503ffb10e22a0245a2aa662a480 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 15 Nov 2020 08:15:34 +0000
Subject: [PATCH] ACPI / bus: Add acpi_dev_get_next_match_dev() and helper
@ -760,7 +760,7 @@ index 37dac195adbb..f28b097c658f 100644
--
2.31.1
From 2a1919defac310a6dd015796e7d3f7e66cc81420 Mon Sep 17 00:00:00 2001
From 24ac73639cd41b871c35ad3889638e79d341f438 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 19 Dec 2020 23:55:04 +0000
Subject: [PATCH] media: v4l2-fwnode: Include v4l2_fwnode_bus_type
@ -837,7 +837,7 @@ index 4365430eea6f..77fd6a3ec308 100644
--
2.31.1
From f76aaa7b9bedb3a6abc676514d3274f299fe639c Mon Sep 17 00:00:00 2001
From bcda20553b3ce26683e881a69a4fe59109214cec Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 21 Oct 2020 21:53:44 +0100
Subject: [PATCH] ipu3-cio2: Add cio2-bridge to ipu3-cio2 driver
@ -1435,7 +1435,7 @@ index 62187ab5ae43..dc3e343a37fb 100644
--
2.31.1
From 2f820d861e22c0fd792e65a7356e36d09776d705 Mon Sep 17 00:00:00 2001
From b8fd456bd40f98efea6caaf3b85174a52ca351e4 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 2 Dec 2020 12:38:10 +0000
Subject: [PATCH] acpi: utils: move acpi_lpss_dep() to utils
@ -1537,7 +1537,7 @@ index ddca1550cce6..78b38775f18b 100644
--
2.31.1
From 5ec2ffad83866d657971f51f01dadc729573f9ea Mon Sep 17 00:00:00 2001
From 6a3cb9888878b21cbb0f7b81326fe55d558e7cd5 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 26 Nov 2020 21:12:41 +0000
Subject: [PATCH] acpi: utils: Add function to fetch dependent acpi_devices
@ -1623,7 +1623,7 @@ index f28b097c658f..9bec3373f850 100644
--
2.31.1
From 13ffa13f7c86f245c5f5ab580c7a9ed93e4dfef0 Mon Sep 17 00:00:00 2001
From 3f0ab906c2c321ee482368989e3f733cb93ce444 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 16 Nov 2020 21:38:49 +0000
Subject: [PATCH] i2c: i2c-core-base: Use format macro in i2c_dev_set_name()
@ -1645,10 +1645,10 @@ Patchset: cameras
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/i2c-core-base.c b/drivers/i2c/i2c-core-base.c
index 63ebf722a424..547b8926cac8 100644
index f21362355973..e2cf16f27d65 100644
--- a/drivers/i2c/i2c-core-base.c
+++ b/drivers/i2c/i2c-core-base.c
@@ -811,12 +811,12 @@ static void i2c_dev_set_name(struct i2c_adapter *adap,
@@ -812,12 +812,12 @@ static void i2c_dev_set_name(struct i2c_adapter *adap,
struct acpi_device *adev = ACPI_COMPANION(&client->dev);
if (info && info->dev_name) {
@ -1691,7 +1691,7 @@ index 56622658b215..65acae61dc5c 100644
--
2.31.1
From b84182a8210a788d8e9dddb0a2c91a748413f029 Mon Sep 17 00:00:00 2001
From f1101eb252f94cba2d8ea9dbdd0d20e20526bafe Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 2 Dec 2020 16:41:42 +0000
Subject: [PATCH] i2c: i2c-core-acpi: Add i2c_acpi_dev_name()
@ -1749,7 +1749,7 @@ index 65acae61dc5c..b82aac05b17f 100644
--
2.31.1
From ac0e71467c067f90c0e3aa0e42e28ffa7cc70690 Mon Sep 17 00:00:00 2001
From 53c2d59333e17ab487e9b851a2ad589c9e8d5387 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 16 Nov 2020 00:16:56 +0000
Subject: [PATCH] gpio: gpiolib-acpi: Export acpi_get_gpiod()
@ -1813,7 +1813,7 @@ index 2f7508c3c2d6..b01109930678 100644
--
2.31.1
From b34e1b8ad351b7506c24cec9ce39710abf430353 Mon Sep 17 00:00:00 2001
From bd525597d6f66d928a60ec0c83a3991fb0ede4b0 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 12 Dec 2020 23:56:59 +0000
Subject: [PATCH] mfd: Remove tps68470 MFD driver
@ -2004,7 +2004,7 @@ index 4a4df4ffd18c..000000000000
--
2.31.1
From eb48c27bca0a7f7c2085b6b95a6fea5db21a97aa Mon Sep 17 00:00:00 2001
From eb3cb8a549153828a64eaa4c4e0b955c3cb069ef Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 15 Jan 2021 12:37:31 +0000
Subject: [PATCH] platform: x86: Add intel_skl_int3472 driver
@ -2973,7 +2973,7 @@ index 000000000000..3fe27ec0caff
--
2.31.1
From 7dbd35bd673a07d2bf867eee1b7e0e723d5cb1b1 Mon Sep 17 00:00:00 2001
From 1293fca0561290d6fbcda13e6234e773e226b950 Mon Sep 17 00:00:00 2001
From: Jake Day <jake@ninebysix.com>
Date: Fri, 25 Sep 2020 10:24:53 -0400
Subject: [PATCH] media: i2c: Add support for the OV5693 image sensor
@ -6330,7 +6330,7 @@ index 000000000000..9a508e1f3624
--
2.31.1
From 30e2d3ee7790a8a4923ed581f0969dad382f286f Mon Sep 17 00:00:00 2001
From cfc86ca29a107c7c806ccab6b6e14c1793ac8f39 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 17 Jan 2021 19:08:18 +0000
Subject: [PATCH] media: i2c: Add reset pin toggling to ov5693
@ -6371,7 +6371,7 @@ index 32485e4ed42b..f9ced52ad37a 100644
--
2.31.1
From d203a6a9b19bb142d20b92f1e443c05ab2f5a196 Mon Sep 17 00:00:00 2001
From 3d575a0f963840fca4c7ddebb24510975a7d8dfe Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 17 Jan 2021 21:39:15 +0000
Subject: [PATCH] media: i2c: Fix misnamed variable in power_down() for ov5693
@ -6400,7 +6400,7 @@ index f9ced52ad37a..9fd44a3d1d85 100644
--
2.31.1
From 58c774ea02082c02699ec5cdce178079c68bd8ce Mon Sep 17 00:00:00 2001
From 1f9f9895412b0d61d59dee22fc3ee5a313b45c88 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
@ -6563,7 +6563,7 @@ index dd0ffcafa489..924d99d20328 100644
--
2.31.1
From 496dc81959dd9baf5f9adc2518f31517c87c9c0d Mon Sep 17 00:00:00 2001
From 388706db2e6b7083be0f55b1f1bbb5635e997c22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20W=C3=BCthrich?= <me@fabwu.ch>
Date: Fri, 22 Jan 2021 21:23:47 +0100
Subject: [PATCH] ov5693: Add orientation and rotation controls
@ -6619,7 +6619,7 @@ index 9fd44a3d1d85..1a85800df7ed 100644
--
2.31.1
From bdbcd43479428f7d06345e21ac484000acca81c1 Mon Sep 17 00:00:00 2001
From 3ff4701332617e1142a1b278badbee24b1b69cb0 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 23 Jan 2021 00:28:32 +0000
Subject: [PATCH] platform: x86: Stylistic updates for intel-skl-int3472
@ -7036,7 +7036,7 @@ index 3fe27ec0caff..40629291b339 100644
--
2.31.1
From 16e5af83656629ba1c9742913e3afec5f03dc5d9 Mon Sep 17 00:00:00 2001
From f263ff284a60e7f71f2cd9efa9c2e3675beabbc5 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 23 Jan 2021 00:30:15 +0000
Subject: [PATCH] platform: x86: Add recalc_rate opp to int3472-discrete clock
@ -7163,7 +7163,7 @@ index 42ae8396eb64..98eb1ec3399e 100644
--
2.31.1
From d59c1e586be7a83e6ea389a21e22bc3bfa99ad7c Mon Sep 17 00:00:00 2001
From 978eaa5b8f5a9ff412b60ef8f460ba13b9b45504 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
@ -7267,7 +7267,7 @@ index 924d99d20328..e1e388cc9f45 100644
--
2.31.1
From 7d8a47742b055f8ea8f082b9c0f2d393968684d5 Mon Sep 17 00:00:00 2001
From 5c1f7987a2a9e2b5466a6c44af13d1dd493ff61d Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 8 Feb 2021 21:44:38 +0000
Subject: [PATCH] media: i2c: Tidy up ov5693_init_controls()
@ -7389,7 +7389,7 @@ index 9a508e1f3624..26819cf3f4d2 100644
--
2.31.1
From b06e8dd1c80a608ef33ee28d3d6ff4a95e598bf1 Mon Sep 17 00:00:00 2001
From 440026fdd10f70e089644090703728db8446e181 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 8 Feb 2021 21:46:49 +0000
Subject: [PATCH] media: i2c: Remove OV5693_PPL_DEFAULT
@ -7427,7 +7427,7 @@ index a9747ab783d7..7fb368eec327 100644
--
2.31.1
From 874ded1906643b8598721c38ef22e4150ba1c1be Mon Sep 17 00:00:00 2001
From 2eb2ff5f9e4fbc31d35e850b936d0da77d156055 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 8 Feb 2021 22:53:02 +0000
Subject: [PATCH] media: i2c: Add vblank control to ov5693 driver
@ -7503,7 +7503,7 @@ index 26819cf3f4d2..9d7eed97963b 100644
--
2.31.1
From 8d424a3a016f6a999a9cae91089029f147a57c92 Mon Sep 17 00:00:00 2001
From cdb484f53aa33ef63d24d274ab224c8c5fc9e42c Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 10 Feb 2021 00:36:32 +0000
Subject: [PATCH] media: i2c: update exposure control for ov5693
@ -7578,7 +7578,7 @@ index 1950d7ac2d54..cea767230aa9 100644
--
2.31.1
From c0664d73bdcde69852d061643f68717a771a75b6 Mon Sep 17 00:00:00 2001
From 4ac51034cb5acb4acba9a182b134b38ac7d140a6 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 10 Feb 2021 00:39:42 +0000
Subject: [PATCH] media: i2c: Fix incorrect bit-setting
@ -7614,7 +7614,7 @@ index cea767230aa9..f681dbfcec56 100644
--
2.31.1
From 3acf90ffcb62634e7a836cd134a44d880c3a7cd9 Mon Sep 17 00:00:00 2001
From d8bf3dfcb5f7c452c129e8f6f7971cba53f0e8ce Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 10 Feb 2021 16:25:48 +0000
Subject: [PATCH] media: i2c: Don't set stream on during mode config
@ -7764,7 +7764,7 @@ index 9d7eed97963b..965208078c2b 100644
--
2.31.1
From b7595a8f55fcd945d43f6512d09839802f11bb1c Mon Sep 17 00:00:00 2001
From 486efadb7f926ebf4346cd419ccb4b2a43c8aec4 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 10 Feb 2021 16:35:24 +0000
Subject: [PATCH] media: i2c: Update gain control for ov5693
@ -7836,7 +7836,7 @@ index f681dbfcec56..51eb3b05d121 100644
--
2.31.1
From 5879a0c58e9e3477620ed3a66189a0d37075f95b Mon Sep 17 00:00:00 2001
From e72b44942db2f444f80f66f76226af9b462b3b28 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 10 Feb 2021 23:44:39 +0000
Subject: [PATCH] media: i2c: Fixup gain read
@ -7899,7 +7899,7 @@ index 51eb3b05d121..952558c4f33b 100644
--
2.31.1
From b92b4266a7b2e29046a2f0b8eb9e4bc688cbde5f Mon Sep 17 00:00:00 2001
From 1bf598dca246260f9793f682461de2d96dc90f09 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 11 Feb 2021 00:40:10 +0000
Subject: [PATCH] media: i2c: Update controls on stream
@ -7934,7 +7934,7 @@ index 952558c4f33b..dd31083eeb7b 100644
--
2.31.1
From 6ea51b9c24267ff6a3e52add5a7743b79e6ac547 Mon Sep 17 00:00:00 2001
From 0b7cb15c06a16069329435b3b169dd4edfb85c09 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 11 Feb 2021 23:29:15 +0000
Subject: [PATCH] media: i2c: Correct link frequency value
@ -7973,7 +7973,7 @@ index 965208078c2b..7f1d31a82d3d 100644
--
2.31.1
From 437c47c41a5aa79390e5511adc75758533c7f057 Mon Sep 17 00:00:00 2001
From ca95fa863217c5a948af31aec118cdaf38af716c Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 25 Jan 2021 23:12:09 +0000
Subject: [PATCH] media: i2c: Cleanup ov5693 driver
@ -8894,7 +8894,7 @@ index 7f1d31a82d3d..70ccb3aae4c7 100644
--
2.31.1
From e7886a93b7e2171813f4d8a336bbae24f0185f66 Mon Sep 17 00:00:00 2001
From cfe6be8f1b497b5c00d415658b22c218b45ee72a Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 28 Jan 2021 12:04:38 +0000
Subject: [PATCH] media: i2c: Add pm_runtime support to ov5693 driver
@ -9239,7 +9239,7 @@ index 70ccb3aae4c7..b78d3b474a43 100644
--
2.31.1
From a3917d26396d59263cce19019b653f30f809616c Mon Sep 17 00:00:00 2001
From 6d6971c2596c8db9988e383989eb5ed010d5bd2b Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 28 Jan 2021 12:07:36 +0000
Subject: [PATCH] media: i2c: Remove old power methods from ov5693
@ -9410,7 +9410,7 @@ index f2eaa5f71a31..ce26ce86fbd5 100644
--
2.31.1
From 703c1b602e908794ba42314f634b8af55af88bd3 Mon Sep 17 00:00:00 2001
From bb9aa4d1bcb0043c6a9bb0d1660678ce9a1527d2 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 28 Jan 2021 12:14:00 +0000
Subject: [PATCH] media: i2c: Trim unused headers from ov5693
@ -9451,7 +9451,7 @@ index ce26ce86fbd5..b3b391a49fdb 100644
--
2.31.1
From 3ed69236a3b6219feddef5b7ed7432d524db791a Mon Sep 17 00:00:00 2001
From c3bd0bcb4483e5b58754eee6cad7e38525246289 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 13 Feb 2021 21:39:35 +0000
Subject: [PATCH] media: i2c: Remove VCM stuff
@ -9870,7 +9870,7 @@ index b3b391a49fdb..2c82b6578de9 100644
--
2.31.1
From fef45861258f953c0d433ac7566e73361d669b71 Mon Sep 17 00:00:00 2001
From 0e2114d36e51abebdfdf4e88cb19860f52898ee3 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 13 Feb 2021 22:16:08 +0000
Subject: [PATCH] media: i2c: Tidy up ov5693 sensor init
@ -10026,7 +10026,7 @@ index 2c82b6578de9..313bc9177328 100644
--
2.31.1
From 58218603d39abab0dbd342c39cd8c880f29924de Mon Sep 17 00:00:00 2001
From eab887390dacd747c562c72b2d4e71f8cbf0a398 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 12 Feb 2021 16:14:04 +0000
Subject: [PATCH] media: i2c: cleanup macros in ov5693.h
@ -10172,7 +10172,7 @@ index b78d3b474a43..6502777eb5f3 100644
--
2.31.1
From ad6aa21ed5897c8a9269d1eff50671b26f2651f0 Mon Sep 17 00:00:00 2001
From 85e1485053594a0d7e45d59df66215a2c711f141 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 12 Feb 2021 16:19:09 +0000
Subject: [PATCH] media: i2c: use devm_kzalloc() to initialise ov5693
@ -10202,7 +10202,7 @@ index 313bc9177328..d092ed698eb3 100644
--
2.31.1
From 1d33a05a6b45c78e1f90b51e4986e5666202d658 Mon Sep 17 00:00:00 2001
From 922cf0b1febb221db7074e6e9acbf451995edc1a Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 12 Feb 2021 16:26:21 +0000
Subject: [PATCH] media: i2c: Check for supported clk rate in probe
@ -10259,7 +10259,7 @@ index 6502777eb5f3..0dfbbe9a0ff2 100644
--
2.31.1
From dfcbf1767ca60e4e4db00ea2edb13e9ec15f31f0 Mon Sep 17 00:00:00 2001
From 004c9b32c5ae2fefae4d2ce8820fcd392ee81899 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 13 Feb 2021 23:17:50 +0000
Subject: [PATCH] media: i2c: Use devres to fetch gpios
@ -10333,7 +10333,7 @@ index 8082d37841da..c580159079d2 100644
--
2.31.1
From 754d627d965195050120e97df361bb3d9bf39461 Mon Sep 17 00:00:00 2001
From 3686fe279fd17138434e286ae42e14ca5fe33875 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sat, 13 Feb 2021 23:20:47 +0000
Subject: [PATCH] media: i2c: Use devres to fetch regulators
@ -10376,7 +10376,7 @@ index c580159079d2..9f61b470f8ba 100644
--
2.31.1
From 90005353dad8de0f14f2b23bc1f9d4bc695bb8aa Mon Sep 17 00:00:00 2001
From 536392178212b9bb178a4968dac6d9c20d5c64fb Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 14 Feb 2021 12:39:14 +0000
Subject: [PATCH] media: i2c: remove debug print
@ -10455,7 +10455,7 @@ index 9f61b470f8ba..622a7ddf4063 100644
--
2.31.1
From f42a3f8c91c25231150ff9d43f27eb50c6711459 Mon Sep 17 00:00:00 2001
From 9104ca8009736d973b991deef22bedff844ac567 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 14 Feb 2021 14:32:50 +0000
Subject: [PATCH] media: i2c: Remove unused resolutions from ov5693
@ -10884,7 +10884,7 @@ index 0dfbbe9a0ff2..29e6735112da 100644
--
2.31.1
From b709ee7e58eeed03d5f141efaaadfad397700c8f Mon Sep 17 00:00:00 2001
From 82b2f67cd3592b26f106030bc9933b90c7243c45 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 14 Feb 2021 14:45:58 +0000
Subject: [PATCH] media: i2c: update set_fmt() for ov5693

View file

@ -1,4 +1,4 @@
From 812d37e4a90efb97f8f96747d8afd33c768345da Mon Sep 17 00:00:00 2001
From 6c9fa9448aed9ba6a222ac77f742e7672a49cf99 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

@ -47,16 +47,16 @@ sha256sums=('e704c30be406ee348911e2fcf1f1a18f67ef7cb0fccf68a12c6ccc94c38842ad'
'd8d5d11c80424985642b0eea6ace3256b5a1e5e69d637104523460a5ebdda202'
'3fbd134c61de6f4fa86567bb0faf02c4eb2c54111b6dc45367b8f6e9ef06556e'
'9474de18769968c5558fedda5be354fe0babf1365541d4d0ac8e1ac47d4bbb88'
'f2e46bca7d41b19a02555f2fbdf808b37229ba98edce366c24152007ca405559'
'f1868d07446e36831ce4627fb4ba65606fe1e049e4b16c6bd069eedf53a866a0'
'daa4e2180b4a03ef275413ccaf1897dc5617798d66c686edd5170062f9a18e35'
'c2fa91aa1746c80cf955c9e06d14566e69e796b40b61661aba8b1aaf3b97b815'
'c23f9b70aed4473811230e364071475276af9e04ca08cf02738ffa6175383fa7'
'78e87d8093b25d474c0c08ad1d2c1c722943951dc5da97ef50429ff167d43466'
'bf1e30c550ce73edeb1ac72fee7cea0ac2bc847844e79c221d12033354b98ad5'
'2933e5bfe73f21c3dec1a42da42210970040da6c42ffa0c31413ffa08f395247'
'363d8e81272cd15f7c75791a415e428705114d958640f7d3d3d819b16e166983'
'78ddf3915f640b89ecf3813a8d2498f31be2f524fd5e4f8d0a9c233d300e9713')
'9ce30ecbb1f3e29efcbfdee84dac420a6cfc344ca97c361288878776422cf8fc'
'c731a35a8abae7ec976e2f798b6490eff3bc2dabb4a8c698dd6e3a6da08aa645'
'10a961fd179a4859168dab85da739ad38717129cdcd766a3682ff1f0564acfca'
'151922eb26362293b91dafb00d52d07f0e286d145fb9647e6e7efd1d3dd0116e'
'62cf853af2616b1873045d5e7542a7f03a240a21d5a5e83e0639e762f355f2d4'
'040335e94b707febba6b249b518869cd1e3f4690f869e4fce92ac0fdc12c047a'
'ab4ab54d9b28dd49bab8742b7f2bdb1af3b88def65e02671640edfc18b220fec'
'96899c274eacc50d5d796ec9d793e8f2cfad5252a9ab6f418d4319325250f01b'
'c1af615a4747af7fa2e449f344d76fc6db1e49e2c47353785a466ff37d2dfeb2'
'c153472b1fa0855d4a078953b3976033edfb758966ba8d7e342f9208b1ba3b27')
export KBUILD_BUILD_HOST=archlinux