kernel: bump 5.15 to 5.15.89
[openwrt/openwrt.git] / target / linux / generic / hack-5.15 / 711-net-dsa-mv88e6xxx-disable-ATU-violation.patch
index 46a1ba1d965ea9f285e8b98c97fc3a7416882e8c..ffa44f09607ccdd5e2419dc3cd51342a0e76e31f 100644 (file)
@@ -1,8 +1,17 @@
+From ebd924d773223593142d417c41d4ee6fa16f1805 Mon Sep 17 00:00:00 2001
+From: OpenWrt community <openwrt-devel@lists.openwrt.org>
+Date: Wed, 13 Jul 2022 13:45:56 +0200
+Subject: [PATCH] net/dsa/mv88e6xxx: disable ATU violation
+
+---
+ drivers/net/dsa/mv88e6xxx/chip.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
 --- a/drivers/net/dsa/mv88e6xxx/chip.c
 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
-@@ -2650,6 +2650,9 @@ static int mv88e6xxx_setup_port(struct m
-       if (dsa_is_cpu_port(ds, port))
-               reg = 0;
+@@ -2980,6 +2980,9 @@ static int mv88e6xxx_setup_port(struct m
+       else
+               reg = 1 << port;
  
 +      /* Disable ATU member violation interrupt */
 +      reg |= MV88E6XXX_PORT_ASSOC_VECTOR_IGNORE_WRONG;