[packages/kernel] up to 6.17.8
atler
atler at pld-linux.org
Fri Nov 14 10:17:42 CET 2025
commit d1552dba840e4905e95b464db0a0026d10487cdf
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Nov 14 10:17:07 2025 +0100
up to 6.17.8
ath10k-wmi-wait.patch | 93 ---------------------------------------------------
kernel.spec | 8 ++---
2 files changed, 2 insertions(+), 99 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 4bd359a9..dd7c4480 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -53,7 +53,7 @@
%define rel 1
%define basever 6.17
-%define postver .7
+%define postver .8
# define this to '-%{basever}' for longterm branch
%define versuffix %{nil}
@@ -107,7 +107,7 @@ Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%{basever}.tar.xz
# Source0-md5: ac8cfd661ca56a142bb92f9d9e7754a0
%if "%{postver}" != ".0"
Patch0: https://www.kernel.org/pub/linux/kernel/v6.x/patch-%{version}.xz
-# Patch0-md5: 826c1fd471c66a7c0ef77501cc70e947
+# Patch0-md5: f49ae8d0918f492ee3969d7323c2c2d6
%endif
Source1: kernel.sysconfig
@@ -133,7 +133,6 @@ Source44: kernel-rt.config
Source58: kernel-inittmpfs.config
-Patch1: ath10k-wmi-wait.patch
Patch2: android-enable-building-binder-as-module.patch
# http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.4-2.6.25-rc6.patch
Patch3: kernel-fbcondecor.patch
@@ -544,9 +543,6 @@ cd linux-%{basever}
%endif
%if %{without vanilla}
-# https://lore.kernel.org/stable/03727147-0115-4ce9-b68d-756c6e41db94@onway.ch/T/
-# https://bugzilla.kernel.org/show_bug.cgi?id=220671
-%patch -P1 -p1 -R
%patch -P2 -p1
%if %{with fbcondecor}
diff --git a/ath10k-wmi-wait.patch b/ath10k-wmi-wait.patch
deleted file mode 100644
index 8092b41e..00000000
--- a/ath10k-wmi-wait.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From 85ef57bc230fe3cbe4a91550aa67c77391f08adb Mon Sep 17 00:00:00 2001
-From: Baochen Qiang <baochen.qiang at oss.qualcomm.com>
-Date: Mon, 11 Aug 2025 17:26:45 +0800
-Subject: wifi: ath10k: avoid unnecessary wait for service ready message
-
-[ Upstream commit 51a73f1b2e56b0324b4a3bb8cebc4221b5be4c7a ]
-
-Commit e57b7d62a1b2 ("wifi: ath10k: poll service ready message before
-failing") works around the failure in waiting for the service ready
-message by active polling. Note the polling is triggered after initial
-wait timeout, which means that the wait-till-timeout can not be avoided
-even the message is ready.
-
-A possible fix is to do polling once before wait as well, however this
-can not handle the race that the message arrives right after polling.
-So the solution is to do periodic polling until timeout.
-
-Tested-on: QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00309-QCARMSWPZ-1
-
-Fixes: e57b7d62a1b2 ("wifi: ath10k: poll service ready message before failing")
-Reported-by: Paul Menzel <pmenzel at molgen.mpg.de>
-Closes: https://lore.kernel.org/all/97a15967-5518-4731-a8ff-d43ff7f437b0@molgen.mpg.de
-Signed-off-by: Baochen Qiang <baochen.qiang at oss.qualcomm.com>
-Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan at oss.qualcomm.com>
-Link: https://patch.msgid.link/20250811-ath10k-avoid-unnecessary-wait-v1-1-db2deb87c39b@oss.qualcomm.com
-Signed-off-by: Jeff Johnson <jeff.johnson at oss.qualcomm.com>
-Signed-off-by: Sasha Levin <sashal at kernel.org>
----
- drivers/net/wireless/ath/ath10k/wmi.c | 39 +++++++++++++++++------------------
- 1 file changed, 19 insertions(+), 20 deletions(-)
-
-(limited to 'drivers/net/wireless/ath/ath10k')
-
-diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
-index cb8ae751eb3121..e595b0979a56d3 100644
---- a/drivers/net/wireless/ath/ath10k/wmi.c
-+++ b/drivers/net/wireless/ath/ath10k/wmi.c
-@@ -1764,33 +1764,32 @@ void ath10k_wmi_put_wmi_channel(struct ath10k *ar, struct wmi_channel *ch,
-
- int ath10k_wmi_wait_for_service_ready(struct ath10k *ar)
- {
-+ unsigned long timeout = jiffies + WMI_SERVICE_READY_TIMEOUT_HZ;
- unsigned long time_left, i;
-
-- time_left = wait_for_completion_timeout(&ar->wmi.service_ready,
-- WMI_SERVICE_READY_TIMEOUT_HZ);
-- if (!time_left) {
-- /* Sometimes the PCI HIF doesn't receive interrupt
-- * for the service ready message even if the buffer
-- * was completed. PCIe sniffer shows that it's
-- * because the corresponding CE ring doesn't fires
-- * it. Workaround here by polling CE rings once.
-- */
-- ath10k_warn(ar, "failed to receive service ready completion, polling..\n");
--
-+ /* Sometimes the PCI HIF doesn't receive interrupt
-+ * for the service ready message even if the buffer
-+ * was completed. PCIe sniffer shows that it's
-+ * because the corresponding CE ring doesn't fires
-+ * it. Workaround here by polling CE rings. Since
-+ * the message could arrive at any time, continue
-+ * polling until timeout.
-+ */
-+ do {
- for (i = 0; i < CE_COUNT; i++)
- ath10k_hif_send_complete_check(ar, i, 1);
-
-+ /* The 100 ms granularity is a tradeoff considering scheduler
-+ * overhead and response latency
-+ */
- time_left = wait_for_completion_timeout(&ar->wmi.service_ready,
-- WMI_SERVICE_READY_TIMEOUT_HZ);
-- if (!time_left) {
-- ath10k_warn(ar, "polling timed out\n");
-- return -ETIMEDOUT;
-- }
--
-- ath10k_warn(ar, "service ready completion received, continuing normally\n");
-- }
-+ msecs_to_jiffies(100));
-+ if (time_left)
-+ return 0;
-+ } while (time_before(jiffies, timeout));
-
-- return 0;
-+ ath10k_warn(ar, "failed to receive service ready completion\n");
-+ return -ETIMEDOUT;
- }
-
- int ath10k_wmi_wait_for_unified_ready(struct ath10k *ar)
---
-cgit 1.2.3-korg
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/d1552dba840e4905e95b464db0a0026d10487cdf
More information about the pld-cvs-commit
mailing list