commit 76ebcca5c3015dd566e82f9bb576f6ed5e10e933
Author: Jan Palus <[email protected]>
Date:   Thu Aug 3 17:08:37 2023 +0200

    up to 6.4.8

 atheros-disallow-retrain-nongen1-pcie.patch | 17 ++++++++---------
 kernel.spec                                 |  4 ++--
 2 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index 0e22d679..60a87036 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -67,7 +67,7 @@
 
 %define                rel             1
 %define                basever         6.4
-%define                postver         .7
+%define                postver         .8
 
 # define this to '-%{basever}' for longterm branch
 %define                versuffix       %{nil}
@@ -121,7 +121,7 @@ Source0:    
https://www.kernel.org/pub/linux/kernel/v6.x/linux-%{basever}.tar.xz
 # Source0-md5: bb65b2232cf596e7044c56a7c4205f51
 %if "%{postver}" != ".0"
 Patch0:                
https://www.kernel.org/pub/linux/kernel/v6.x/patch-%{version}.xz
-# Patch0-md5:  046bacd50640ca59ac77c89c9fbf50f5
+# Patch0-md5:  f67eada44b3634361a2b25127b0a8161
 %endif
 Source1:       kernel.sysconfig
 
diff --git a/atheros-disallow-retrain-nongen1-pcie.patch 
b/atheros-disallow-retrain-nongen1-pcie.patch
index c3bec28b..76562e04 100644
--- a/atheros-disallow-retrain-nongen1-pcie.patch
+++ b/atheros-disallow-retrain-nongen1-pcie.patch
@@ -143,12 +143,10 @@ Changes since v2:
  include/linux/pci.h     |  2 ++
  3 files changed, 77 insertions(+), 8 deletions(-)
 
-diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c
-index ac0557a305af..729b0389562b 100644
---- a/drivers/pci/pcie/aspm.c
-+++ b/drivers/pci/pcie/aspm.c
-@@ -192,12 +192,56 @@ static void pcie_clkpm_cap_init(struct pcie_link_state 
*link, int blacklist)
-       link->clkpm_disable = blacklist ? 1 : 0;
+--- linux-6.4/drivers/pci/pcie/aspm.c.orig     2023-08-03 14:40:42.800427402 
+0200
++++ linux-6.4/drivers/pci/pcie/aspm.c  2023-08-03 14:44:34.622963310 +0200
+@@ -210,6 +210,44 @@
+       return -ETIMEDOUT;
  }
  
 +static int pcie_downgrade_link_to_gen1(struct pci_dev *parent)
@@ -189,11 +187,12 @@ index ac0557a305af..729b0389562b 100644
 +      return 0;
 +}
 +
- static bool pcie_retrain_link(struct pcie_link_state *link)
+ static int pcie_retrain_link(struct pcie_link_state *link)
  {
        struct pci_dev *parent = link->pdev;
-       unsigned long end_jiffies;
-       u16 reg16;
+@@ -226,6 +264,12 @@
+       if (rc)
+               return rc;
  
 +      if ((link->downstream->dev_flags & 
PCI_DEV_FLAGS_NO_RETRAIN_LINK_WHEN_NOT_GEN1) &&
 +          pcie_downgrade_link_to_gen1(parent)) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/76ebcca5c3015dd566e82f9bb576f6ed5e10e933

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to