From fe33d0d7338a6ba34a5c23adf0997e00994ae761 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 29 Apr 2024 15:36:06 +0200 Subject: [PATCH] patches/linux: adjust log level for unauthorized usb devices The fact that a USB device currently is not authorized is not an error. This patch adjusts the log level to slip below 'quiet' to prevent logs to console at boot. Signed-off-by: Joachim Wiberg --- ...-support-for-PHY-LEDs-polarity-modes.patch | 4 +- ...rt-setting-the-MDC-frequency-on-XSMI.patch | 3 +- ...x-Create-API-to-read-a-single-stat-c.patch | 3 +- ...sa-mv88e6xxx-Give-each-hw-stat-an-ID.patch | 3 +- ...xx-Add-eth-mac-counter-group-support.patch | 3 +- ...x-Limit-histogram-counters-to-ingres.patch | 3 +- ...e6xxx-Add-rmon-counter-group-support.patch | 3 +- ...dsa-mv88e6xxx-Add-LED-infrastructure.patch | 4 +- ...-mv88e6xxx-Add-LED-support-for-6393X.patch | 4 +- ...x-Fix-timeout-on-waiting-for-PPU-on-.patch | 4 +- ...MDB-memberships-whose-L2-addresses-o.patch | 4 +- ...0g-Support-firmware-loading-on-88X33.patch | 4 +- ...0g-Fix-power-up-when-strapped-to-sta.patch | 4 +- ...rvell10g-Add-LED-support-for-88X3310.patch | 4 +- ...0g-Support-LEDs-tied-to-a-single-med.patch | 4 +- ...ie-tlv-Let-device-probe-even-when-TL.patch | 4 +- ...-classifying-unknown-multicast-as-mr.patch | 3 +- ...e-router-ports-when-forwarding-L2-mu.patch | 2 +- ...t-EtherType-based-priority-overrides.patch | 4 +- ...x-Support-EtherType-based-priority-o.patch | 4 +- ...phy-Do-not-resume-PHY-when-attaching.patch | 4 +- ...x-Improve-indirect-register-access-p.patch | 4 +- ...delay-for-applying-strict-multicast-.patch | 3 +- ...x-Honor-ports-being-managed-via-in-b.patch | 4 +- ...6xxx-Fix-port-policy-config-on-6393X.patch | 4 +- ...x-Limit-rsvd2cpu-policy-to-user-port.patch | 4 +- ...t-log-level-for-unauthorized-devices.patch | 49 +++++++++++++++++++ 27 files changed, 98 insertions(+), 45 deletions(-) create mode 100644 patches/linux/0028-usb-core-adjust-log-level-for-unauthorized-devices.patch diff --git a/patches/linux/0001-net-phy-add-support-for-PHY-LEDs-polarity-modes.patch b/patches/linux/0001-net-phy-add-support-for-PHY-LEDs-polarity-modes.patch index 4ceb3e28..9950a6d1 100644 --- a/patches/linux/0001-net-phy-add-support-for-PHY-LEDs-polarity-modes.patch +++ b/patches/linux/0001-net-phy-add-support-for-PHY-LEDs-polarity-modes.patch @@ -1,7 +1,7 @@ From 79abf7872e35080ca5b519bb4ad2acc1fbd96e8c Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Thu, 25 Jan 2024 21:36:59 +0100 -Subject: [PATCH 01/27] net: phy: add support for PHY LEDs polarity modes +Subject: [PATCH 01/28] net: phy: add support for PHY LEDs polarity modes Organization: Addiva Elektronik Add support for PHY LEDs polarity modes. Some PHY require LED to be set @@ -22,7 +22,7 @@ Signed-off-by: Christian Marangi Reviewed-by: Andrew Lunn Link: https://lore.kernel.org/r/20240125203702.4552-4-ansuelsmth@gmail.com Signed-off-by: Jakub Kicinski -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/phy/phy_device.c | 16 ++++++++++++++++ include/linux/phy.h | 22 ++++++++++++++++++++++ diff --git a/patches/linux/0002-net-mvmdio-Support-setting-the-MDC-frequency-on-XSMI.patch b/patches/linux/0002-net-mvmdio-Support-setting-the-MDC-frequency-on-XSMI.patch index d6cf4976..057aecea 100644 --- a/patches/linux/0002-net-mvmdio-Support-setting-the-MDC-frequency-on-XSMI.patch +++ b/patches/linux/0002-net-mvmdio-Support-setting-the-MDC-frequency-on-XSMI.patch @@ -1,7 +1,7 @@ From 424ddb5d5d8ce06c578cc08cbedf519c42dd8b69 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Mon, 4 Dec 2023 11:08:11 +0100 -Subject: [PATCH 02/27] net: mvmdio: Support setting the MDC frequency on XSMI +Subject: [PATCH 02/28] net: mvmdio: Support setting the MDC frequency on XSMI controllers Organization: Addiva Elektronik @@ -14,6 +14,7 @@ Reviewed-by: Andrew Lunn Tested-by: Andrew Lunn Link: https://lore.kernel.org/r/20231204100811.2708884-4-tobias@waldekranz.com Signed-off-by: Jakub Kicinski +Signed-off-by: Joachim Wiberg --- drivers/net/ethernet/marvell/mvmdio.c | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/patches/linux/0003-net-dsa-mv88e6xxx-Create-API-to-read-a-single-stat-c.patch b/patches/linux/0003-net-dsa-mv88e6xxx-Create-API-to-read-a-single-stat-c.patch index 37386d99..b74cf1ca 100644 --- a/patches/linux/0003-net-dsa-mv88e6xxx-Create-API-to-read-a-single-stat-c.patch +++ b/patches/linux/0003-net-dsa-mv88e6xxx-Create-API-to-read-a-single-stat-c.patch @@ -1,7 +1,7 @@ From 337cf21833cef6ab456a8562338de88ab1a84ead Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 14 Dec 2023 14:50:23 +0100 -Subject: [PATCH 03/27] net: dsa: mv88e6xxx: Create API to read a single stat +Subject: [PATCH 03/28] net: dsa: mv88e6xxx: Create API to read a single stat counter Organization: Addiva Elektronik @@ -16,6 +16,7 @@ Reviewed-by: Vladimir Oltean Reviewed-by: Florian Fainelli Signed-off-by: Tobias Waldekranz Signed-off-by: David S. Miller +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 162 ++++++++++++++++++------------- drivers/net/dsa/mv88e6xxx/chip.h | 27 +++--- diff --git a/patches/linux/0004-net-dsa-mv88e6xxx-Give-each-hw-stat-an-ID.patch b/patches/linux/0004-net-dsa-mv88e6xxx-Give-each-hw-stat-an-ID.patch index 7433e33c..590e9e4c 100644 --- a/patches/linux/0004-net-dsa-mv88e6xxx-Give-each-hw-stat-an-ID.patch +++ b/patches/linux/0004-net-dsa-mv88e6xxx-Give-each-hw-stat-an-ID.patch @@ -1,7 +1,7 @@ From dbdbfd57998b4f8224146ac94cd5d0a577326087 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 14 Dec 2023 14:50:25 +0100 -Subject: [PATCH 04/27] net: dsa: mv88e6xxx: Give each hw stat an ID +Subject: [PATCH 04/28] net: dsa: mv88e6xxx: Give each hw stat an ID Organization: Addiva Elektronik With the upcoming standard counter group support, we are no longer @@ -16,6 +16,7 @@ Reviewed-by: Vladimir Oltean Reviewed-by: Florian Fainelli Signed-off-by: Tobias Waldekranz Signed-off-by: David S. Miller +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 138 +++++++++++++++++-------------- 1 file changed, 75 insertions(+), 63 deletions(-) diff --git a/patches/linux/0005-net-dsa-mv88e6xxx-Add-eth-mac-counter-group-support.patch b/patches/linux/0005-net-dsa-mv88e6xxx-Add-eth-mac-counter-group-support.patch index 257e854a..cffb75fc 100644 --- a/patches/linux/0005-net-dsa-mv88e6xxx-Add-eth-mac-counter-group-support.patch +++ b/patches/linux/0005-net-dsa-mv88e6xxx-Add-eth-mac-counter-group-support.patch @@ -1,7 +1,7 @@ From 26815572016d9851ec6362f23746035fb933acf3 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 14 Dec 2023 14:50:26 +0100 -Subject: [PATCH 05/27] net: dsa: mv88e6xxx: Add "eth-mac" counter group +Subject: [PATCH 05/28] net: dsa: mv88e6xxx: Add "eth-mac" counter group support Organization: Addiva Elektronik @@ -12,6 +12,7 @@ Reviewed-by: Vladimir Oltean Reviewed-by: Florian Fainelli Signed-off-by: Tobias Waldekranz Signed-off-by: David S. Miller +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/patches/linux/0006-net-dsa-mv88e6xxx-Limit-histogram-counters-to-ingres.patch b/patches/linux/0006-net-dsa-mv88e6xxx-Limit-histogram-counters-to-ingres.patch index 4f138960..b6f0cb38 100644 --- a/patches/linux/0006-net-dsa-mv88e6xxx-Limit-histogram-counters-to-ingres.patch +++ b/patches/linux/0006-net-dsa-mv88e6xxx-Limit-histogram-counters-to-ingres.patch @@ -1,7 +1,7 @@ From cc5badac76e76692eb516a5c086fcf54a5a93080 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 14 Dec 2023 14:50:27 +0100 -Subject: [PATCH 06/27] net: dsa: mv88e6xxx: Limit histogram counters to +Subject: [PATCH 06/28] net: dsa: mv88e6xxx: Limit histogram counters to ingress traffic Organization: Addiva Elektronik @@ -27,6 +27,7 @@ Reviewed-by: Andrew Lunn Reviewed-by: Vladimir Oltean Signed-off-by: Tobias Waldekranz Signed-off-by: David S. Miller +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 6 +++--- drivers/net/dsa/mv88e6xxx/global1.c | 7 +++---- diff --git a/patches/linux/0007-net-dsa-mv88e6xxx-Add-rmon-counter-group-support.patch b/patches/linux/0007-net-dsa-mv88e6xxx-Add-rmon-counter-group-support.patch index 68088af4..393bd349 100644 --- a/patches/linux/0007-net-dsa-mv88e6xxx-Add-rmon-counter-group-support.patch +++ b/patches/linux/0007-net-dsa-mv88e6xxx-Add-rmon-counter-group-support.patch @@ -1,7 +1,7 @@ From 35ecc84237bfccbe5b93c0aef6c07cc506d43070 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 14 Dec 2023 14:50:28 +0100 -Subject: [PATCH 07/27] net: dsa: mv88e6xxx: Add "rmon" counter group support +Subject: [PATCH 07/28] net: dsa: mv88e6xxx: Add "rmon" counter group support Organization: Addiva Elektronik Report the applicable subset of an mv88e6xxx port's counters using @@ -11,6 +11,7 @@ Reviewed-by: Vladimir Oltean Reviewed-by: Florian Fainelli Signed-off-by: Tobias Waldekranz Signed-off-by: David S. Miller +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/patches/linux/0009-net-dsa-mv88e6xxx-Add-LED-infrastructure.patch b/patches/linux/0009-net-dsa-mv88e6xxx-Add-LED-infrastructure.patch index 10d91a8b..35bef141 100644 --- a/patches/linux/0009-net-dsa-mv88e6xxx-Add-LED-infrastructure.patch +++ b/patches/linux/0009-net-dsa-mv88e6xxx-Add-LED-infrastructure.patch @@ -1,13 +1,13 @@ From 7750d0a5bfae46ab783e8e7087b70175860f808c Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 16 Nov 2023 19:44:32 +0100 -Subject: [PATCH 09/27] net: dsa: mv88e6xxx: Add LED infrastructure +Subject: [PATCH 09/28] net: dsa: mv88e6xxx: Add LED infrastructure Organization: Addiva Elektronik Parse DT for LEDs and register them for devices that support it, though no actual implementations exist yet. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/Makefile | 1 + drivers/net/dsa/mv88e6xxx/chip.c | 5 +- diff --git a/patches/linux/0010-net-dsa-mv88e6xxx-Add-LED-support-for-6393X.patch b/patches/linux/0010-net-dsa-mv88e6xxx-Add-LED-support-for-6393X.patch index 5be787fd..e652e592 100644 --- a/patches/linux/0010-net-dsa-mv88e6xxx-Add-LED-support-for-6393X.patch +++ b/patches/linux/0010-net-dsa-mv88e6xxx-Add-LED-support-for-6393X.patch @@ -1,7 +1,7 @@ From 63fcd626fdb108d2ac07cb0aa16b91fc43894bff Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 16 Nov 2023 21:59:35 +0100 -Subject: [PATCH 10/27] net: dsa: mv88e6xxx: Add LED support for 6393X +Subject: [PATCH 10/28] net: dsa: mv88e6xxx: Add LED support for 6393X Organization: Addiva Elektronik Trigger support: @@ -9,7 +9,7 @@ Trigger support: - "timer" - "netdev" -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 1 + drivers/net/dsa/mv88e6xxx/leds.c | 226 +++++++++++++++++++++++++++++++ diff --git a/patches/linux/0011-net-dsa-mv88e6xxx-Fix-timeout-on-waiting-for-PPU-on-.patch b/patches/linux/0011-net-dsa-mv88e6xxx-Fix-timeout-on-waiting-for-PPU-on-.patch index b14ce613..8b6d649b 100644 --- a/patches/linux/0011-net-dsa-mv88e6xxx-Fix-timeout-on-waiting-for-PPU-on-.patch +++ b/patches/linux/0011-net-dsa-mv88e6xxx-Fix-timeout-on-waiting-for-PPU-on-.patch @@ -1,7 +1,7 @@ From 0bc6f19d18d7c0e374c824bcc86433b04210a378 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Tue, 12 Mar 2024 10:27:24 +0100 -Subject: [PATCH 11/27] net: dsa: mv88e6xxx: Fix timeout on waiting for PPU on +Subject: [PATCH 11/28] net: dsa: mv88e6xxx: Fix timeout on waiting for PPU on 6393X Organization: Addiva Elektronik @@ -9,7 +9,7 @@ In a multi-chip setup, delays of up to 750ms are observed before the device (6393X) signals completion of PPU initialization (Global 1, register 0, bit 15). Therefore, increase the timeout threshold to 1s. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/linux/0012-net-dsa-Support-MDB-memberships-whose-L2-addresses-o.patch b/patches/linux/0012-net-dsa-Support-MDB-memberships-whose-L2-addresses-o.patch index 16f506de..e6e121f6 100644 --- a/patches/linux/0012-net-dsa-Support-MDB-memberships-whose-L2-addresses-o.patch +++ b/patches/linux/0012-net-dsa-Support-MDB-memberships-whose-L2-addresses-o.patch @@ -1,7 +1,7 @@ From fe60e3ad1e3b43a924c311658b15a1106e813661 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Tue, 16 Jan 2024 16:00:55 +0100 -Subject: [PATCH 12/27] net: dsa: Support MDB memberships whose L2 addresses +Subject: [PATCH 12/28] net: dsa: Support MDB memberships whose L2 addresses overlap Organization: Addiva Elektronik @@ -30,7 +30,7 @@ needed to do this is already in place, since it is also needed on CPU and DSA ports. Thus, "implement" this by simply removing the guards which previously skipped reference countung on user ports. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- net/dsa/switch.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/patches/linux/0013-net-phy-marvell10g-Support-firmware-loading-on-88X33.patch b/patches/linux/0013-net-phy-marvell10g-Support-firmware-loading-on-88X33.patch index 48443ddd..19fe58ff 100644 --- a/patches/linux/0013-net-phy-marvell10g-Support-firmware-loading-on-88X33.patch +++ b/patches/linux/0013-net-phy-marvell10g-Support-firmware-loading-on-88X33.patch @@ -1,7 +1,7 @@ From 5f5bf4a50e98c5aff05fe85994a981253ae85987 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Tue, 19 Sep 2023 18:38:10 +0200 -Subject: [PATCH 13/27] net: phy: marvell10g: Support firmware loading on +Subject: [PATCH 13/28] net: phy: marvell10g: Support firmware loading on 88X3310 Organization: Addiva Elektronik @@ -12,7 +12,7 @@ We have no choice but to bail out of the probe if firmware is not available, as the device does not have any built-in image on which to fall back. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/phy/marvell10g.c | 161 +++++++++++++++++++++++++++++++++++ 1 file changed, 161 insertions(+) diff --git a/patches/linux/0014-net-phy-marvell10g-Fix-power-up-when-strapped-to-sta.patch b/patches/linux/0014-net-phy-marvell10g-Fix-power-up-when-strapped-to-sta.patch index ae8c6b8d..b58d1f4e 100644 --- a/patches/linux/0014-net-phy-marvell10g-Fix-power-up-when-strapped-to-sta.patch +++ b/patches/linux/0014-net-phy-marvell10g-Fix-power-up-when-strapped-to-sta.patch @@ -1,7 +1,7 @@ From 27d5241d3ddf70d65af5f4dd029f99f0fea866a5 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Tue, 21 Nov 2023 20:15:24 +0100 -Subject: [PATCH 14/27] net: phy: marvell10g: Fix power-up when strapped to +Subject: [PATCH 14/28] net: phy: marvell10g: Fix power-up when strapped to start powered down Organization: Addiva Elektronik @@ -9,7 +9,7 @@ On devices which are hardware strapped to start powered down (PDSTATE == 1), make sure that we clear the power-down bit on all units affected by this setting. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/phy/marvell10g.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/patches/linux/0015-net-phy-marvell10g-Add-LED-support-for-88X3310.patch b/patches/linux/0015-net-phy-marvell10g-Add-LED-support-for-88X3310.patch index b6a2ad1d..19ea83bf 100644 --- a/patches/linux/0015-net-phy-marvell10g-Add-LED-support-for-88X3310.patch +++ b/patches/linux/0015-net-phy-marvell10g-Add-LED-support-for-88X3310.patch @@ -1,7 +1,7 @@ From e389ee690ce56ef20863aeabdf389bed842d7f42 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Wed, 15 Nov 2023 20:58:42 +0100 -Subject: [PATCH 15/27] net: phy: marvell10g: Add LED support for 88X3310 +Subject: [PATCH 15/28] net: phy: marvell10g: Add LED support for 88X3310 Organization: Addiva Elektronik Pickup the LEDs from the state in which the hardware reset or @@ -18,7 +18,7 @@ Trigger support: - "netdev": Offload link or duplex information to the solid behavior; tx and/or rx activity to blink behavior. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/phy/marvell10g.c | 422 +++++++++++++++++++++++++++++++++++ 1 file changed, 422 insertions(+) diff --git a/patches/linux/0016-net-phy-marvell10g-Support-LEDs-tied-to-a-single-med.patch b/patches/linux/0016-net-phy-marvell10g-Support-LEDs-tied-to-a-single-med.patch index 92a0e0cc..f73083b5 100644 --- a/patches/linux/0016-net-phy-marvell10g-Support-LEDs-tied-to-a-single-med.patch +++ b/patches/linux/0016-net-phy-marvell10g-Support-LEDs-tied-to-a-single-med.patch @@ -1,7 +1,7 @@ From 3113b64290b5b7b20c294535c12ea4c732a02f51 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Tue, 12 Dec 2023 09:51:05 +0100 -Subject: [PATCH 16/27] net: phy: marvell10g: Support LEDs tied to a single +Subject: [PATCH 16/28] net: phy: marvell10g: Support LEDs tied to a single media side Organization: Addiva Elektronik @@ -15,7 +15,7 @@ the offloading of the "netdev" trigger, such that LEDs attached to the RJ45 jack only lights up when a copper link is established, and vice versa for the SFP cage. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/phy/marvell10g.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/patches/linux/0017-nvmem-layouts-onie-tlv-Let-device-probe-even-when-TL.patch b/patches/linux/0017-nvmem-layouts-onie-tlv-Let-device-probe-even-when-TL.patch index 1f4fee17..1cdfdd97 100644 --- a/patches/linux/0017-nvmem-layouts-onie-tlv-Let-device-probe-even-when-TL.patch +++ b/patches/linux/0017-nvmem-layouts-onie-tlv-Let-device-probe-even-when-TL.patch @@ -1,7 +1,7 @@ From 2570c2350d3d614a31e14dd87d0e99e8fcb5096b Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Fri, 24 Nov 2023 23:29:55 +0100 -Subject: [PATCH 17/27] nvmem: layouts: onie-tlv: Let device probe even when +Subject: [PATCH 17/28] nvmem: layouts: onie-tlv: Let device probe even when TLV is invalid Organization: Addiva Elektronik @@ -14,7 +14,7 @@ be successfully probed. Therefore, settle for reporting data corruption issues in the log, and simply refrain from registering any cells in those cases. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/nvmem/layouts/onie-tlv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/linux/0018-net-bridge-avoid-classifying-unknown-multicast-as-mr.patch b/patches/linux/0018-net-bridge-avoid-classifying-unknown-multicast-as-mr.patch index 8e4fb9ac..4bdfac4f 100644 --- a/patches/linux/0018-net-bridge-avoid-classifying-unknown-multicast-as-mr.patch +++ b/patches/linux/0018-net-bridge-avoid-classifying-unknown-multicast-as-mr.patch @@ -1,7 +1,7 @@ From 681ce95c15bff94ac83eb26db3c718594f8dfa16 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 4 Mar 2024 16:47:28 +0100 -Subject: [PATCH 18/27] net: bridge: avoid classifying unknown multicast as +Subject: [PATCH 18/28] net: bridge: avoid classifying unknown multicast as mrouters_only Organization: Addiva Elektronik @@ -16,7 +16,6 @@ Because a multicast router should always receive both known and unknown multicast. Signed-off-by: Joachim Wiberg -Signed-off-by: Tobias Waldekranz --- include/uapi/linux/if_bridge.h | 1 + net/bridge/br.c | 5 +++++ diff --git a/patches/linux/0019-net-bridge-Ignore-router-ports-when-forwarding-L2-mu.patch b/patches/linux/0019-net-bridge-Ignore-router-ports-when-forwarding-L2-mu.patch index 48639c97..0eb4e45b 100644 --- a/patches/linux/0019-net-bridge-Ignore-router-ports-when-forwarding-L2-mu.patch +++ b/patches/linux/0019-net-bridge-Ignore-router-ports-when-forwarding-L2-mu.patch @@ -1,7 +1,7 @@ From 2482848726a5b8185a04d90891693a1713f894b5 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Tue, 5 Mar 2024 06:44:41 +0100 -Subject: [PATCH 19/27] net: bridge: Ignore router ports when forwarding L2 +Subject: [PATCH 19/28] net: bridge: Ignore router ports when forwarding L2 multicast Organization: Addiva Elektronik diff --git a/patches/linux/0020-net-dsa-Support-EtherType-based-priority-overrides.patch b/patches/linux/0020-net-dsa-Support-EtherType-based-priority-overrides.patch index 7e5b3413..3a229089 100644 --- a/patches/linux/0020-net-dsa-Support-EtherType-based-priority-overrides.patch +++ b/patches/linux/0020-net-dsa-Support-EtherType-based-priority-overrides.patch @@ -1,10 +1,10 @@ From 25efcdb13ae720ee662f4b6091b270e48ac4d375 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Thu, 21 Mar 2024 19:12:15 +0100 -Subject: [PATCH 20/27] net: dsa: Support EtherType based priority overrides +Subject: [PATCH 20/28] net: dsa: Support EtherType based priority overrides Organization: Addiva Elektronik -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- include/net/dsa.h | 4 ++++ net/dsa/slave.c | 56 +++++++++++++++++++++++++++++++++++++++++++++-- diff --git a/patches/linux/0021-net-dsa-mv88e6xxx-Support-EtherType-based-priority-o.patch b/patches/linux/0021-net-dsa-mv88e6xxx-Support-EtherType-based-priority-o.patch index da636925..6577dfa5 100644 --- a/patches/linux/0021-net-dsa-mv88e6xxx-Support-EtherType-based-priority-o.patch +++ b/patches/linux/0021-net-dsa-mv88e6xxx-Support-EtherType-based-priority-o.patch @@ -1,11 +1,11 @@ From 213e9a1d9145723897fbba40fc4afc5b5f70c1de Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Fri, 22 Mar 2024 16:15:43 +0100 -Subject: [PATCH 21/27] net: dsa: mv88e6xxx: Support EtherType based priority +Subject: [PATCH 21/28] net: dsa: mv88e6xxx: Support EtherType based priority overrides Organization: Addiva Elektronik -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 64 +++++++++++++++++++++++++++++ drivers/net/dsa/mv88e6xxx/chip.h | 21 ++++++++++ diff --git a/patches/linux/0022-net-phy-Do-not-resume-PHY-when-attaching.patch b/patches/linux/0022-net-phy-Do-not-resume-PHY-when-attaching.patch index bcf63af4..25c5d98e 100644 --- a/patches/linux/0022-net-phy-Do-not-resume-PHY-when-attaching.patch +++ b/patches/linux/0022-net-phy-Do-not-resume-PHY-when-attaching.patch @@ -1,7 +1,7 @@ From 1c1c81864c9803831c2d5b7df0d7da28e566f3b2 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Wed, 27 Mar 2024 10:10:19 +0100 -Subject: [PATCH 22/27] net: phy: Do not resume PHY when attaching +Subject: [PATCH 22/28] net: phy: Do not resume PHY when attaching Organization: Addiva Elektronik The PHY should not start negotiating with its link-partner until @@ -16,7 +16,7 @@ probing (e.g. DSA) would end up with a physical link being established, even though the corresponding interface was still administratively down. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/phy/phy_device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/patches/linux/0023-net-dsa-mv88e6xxx-Improve-indirect-register-access-p.patch b/patches/linux/0023-net-dsa-mv88e6xxx-Improve-indirect-register-access-p.patch index 5dee7ca7..8a8fb76e 100644 --- a/patches/linux/0023-net-dsa-mv88e6xxx-Improve-indirect-register-access-p.patch +++ b/patches/linux/0023-net-dsa-mv88e6xxx-Improve-indirect-register-access-p.patch @@ -1,7 +1,7 @@ From b53e5007cd5be42eb5d9a510d63f89c7c6edd9b6 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Wed, 27 Mar 2024 15:52:43 +0100 -Subject: [PATCH 23/27] net: dsa: mv88e6xxx: Improve indirect register access +Subject: [PATCH 23/28] net: dsa: mv88e6xxx: Improve indirect register access perf on 6393 Organization: Addiva Elektronik @@ -14,7 +14,7 @@ Therefore, add a new set of SMI operations which remaps accesses to such registers to the corresponding directly addressable register. All other accesses use the regular indirect interface. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 7 +++ drivers/net/dsa/mv88e6xxx/global1.h | 3 ++ diff --git a/patches/linux/0024-net-bridge-drop-delay-for-applying-strict-multicast-.patch b/patches/linux/0024-net-bridge-drop-delay-for-applying-strict-multicast-.patch index 27d92424..8bc078d4 100644 --- a/patches/linux/0024-net-bridge-drop-delay-for-applying-strict-multicast-.patch +++ b/patches/linux/0024-net-bridge-drop-delay-for-applying-strict-multicast-.patch @@ -1,7 +1,7 @@ From f53652205b1c044fa00f896d6422c82ac808f16a Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 4 Apr 2024 16:36:30 +0200 -Subject: [PATCH 24/27] net: bridge: drop delay for applying strict multicast +Subject: [PATCH 24/28] net: bridge: drop delay for applying strict multicast filtering Organization: Addiva Elektronik @@ -19,7 +19,6 @@ A proper fix for upstreaming could be to add a knob to disable the delay. [2]: https://lore.kernel.org/netdev/20240127175033.9640-1-linus.luessing@c0d3.blue/ Signed-off-by: Joachim Wiberg -Signed-off-by: Tobias Waldekranz --- net/bridge/br_multicast.c | 42 +++++++-------------------------------- net/bridge/br_private.h | 4 +--- diff --git a/patches/linux/0025-net-dsa-mv88e6xxx-Honor-ports-being-managed-via-in-b.patch b/patches/linux/0025-net-dsa-mv88e6xxx-Honor-ports-being-managed-via-in-b.patch index e8bf609f..41d2d95a 100644 --- a/patches/linux/0025-net-dsa-mv88e6xxx-Honor-ports-being-managed-via-in-b.patch +++ b/patches/linux/0025-net-dsa-mv88e6xxx-Honor-ports-being-managed-via-in-b.patch @@ -1,7 +1,7 @@ From 56208d4cba23496c09f69961a32b1b9662f06aef Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Mon, 22 Apr 2024 23:18:01 +0200 -Subject: [PATCH 25/27] net: dsa: mv88e6xxx: Honor ports being managed via +Subject: [PATCH 25/28] net: dsa: mv88e6xxx: Honor ports being managed via in-band-status Organization: Addiva Elektronik @@ -14,7 +14,7 @@ This state is the default set up by mv88e6xxx_port_setup_mac(), so all we have to do is to make the phylink MAC callbacks no-ops in cases when in-band-status is being used. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/chip.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/patches/linux/0026-net-dsa-mv88e6xxx-Fix-port-policy-config-on-6393X.patch b/patches/linux/0026-net-dsa-mv88e6xxx-Fix-port-policy-config-on-6393X.patch index 433b6d71..67ce671f 100644 --- a/patches/linux/0026-net-dsa-mv88e6xxx-Fix-port-policy-config-on-6393X.patch +++ b/patches/linux/0026-net-dsa-mv88e6xxx-Fix-port-policy-config-on-6393X.patch @@ -1,7 +1,7 @@ From 04023a449a6894c0ec46e246c52e94566b3be4b3 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Wed, 24 Apr 2024 21:35:26 +0200 -Subject: [PATCH 26/27] net: dsa: mv88e6xxx: Fix port policy config on 6393X +Subject: [PATCH 26/28] net: dsa: mv88e6xxx: Fix port policy config on 6393X Organization: Addiva Elektronik mv88e6393x_port_policy_{read,write} expect the `pointer` argument to @@ -16,7 +16,7 @@ never enabled on DSA ports, which broke standalone port isolation in multichip switch trees made up of 6393X decices. Fixes: 6584b26020fc ("net: dsa: mv88e6xxx: implement .port_set_policy for Amethyst") -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/port.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/linux/0027-net-dsa-mv88e6xxx-Limit-rsvd2cpu-policy-to-user-port.patch b/patches/linux/0027-net-dsa-mv88e6xxx-Limit-rsvd2cpu-policy-to-user-port.patch index 572625cd..46aa0645 100644 --- a/patches/linux/0027-net-dsa-mv88e6xxx-Limit-rsvd2cpu-policy-to-user-port.patch +++ b/patches/linux/0027-net-dsa-mv88e6xxx-Limit-rsvd2cpu-policy-to-user-port.patch @@ -1,7 +1,7 @@ From 7529102af1693138349032b7d1339d91d2b6a578 Mon Sep 17 00:00:00 2001 From: Tobias Waldekranz Date: Wed, 24 Apr 2024 22:41:04 +0200 -Subject: [PATCH 27/27] net: dsa: mv88e6xxx: Limit rsvd2cpu policy to user +Subject: [PATCH 27/28] net: dsa: mv88e6xxx: Limit rsvd2cpu policy to user ports on 6393X Organization: Addiva Elektronik @@ -30,7 +30,7 @@ switch would try to trap it back to the CPU. Given that the CPU is trusted, instead assume that it indeed meant for the packet to be forwarded like any other. -Signed-off-by: Tobias Waldekranz +Signed-off-by: Joachim Wiberg --- drivers/net/dsa/mv88e6xxx/port.c | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/patches/linux/0028-usb-core-adjust-log-level-for-unauthorized-devices.patch b/patches/linux/0028-usb-core-adjust-log-level-for-unauthorized-devices.patch new file mode 100644 index 00000000..ef588017 --- /dev/null +++ b/patches/linux/0028-usb-core-adjust-log-level-for-unauthorized-devices.patch @@ -0,0 +1,49 @@ +From c446111df33d9d6064395e37235bbbeee422358e Mon Sep 17 00:00:00 2001 +From: Joachim Wiberg +Date: Mon, 29 Apr 2024 15:14:51 +0200 +Subject: [PATCH 28/28] usb: core: adjust log level for unauthorized devices +Organization: Addiva Elektronik + +The fact that a USB device currently is not authorized is not an error, +so let's adjust the log level so these messages slip below radar for the +commonly used 'quiet' log level. + +Signed-off-by: Joachim Wiberg +--- + drivers/usb/core/driver.c | 4 ++-- + drivers/usb/core/generic.c | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c +index f58a0299fb3b..46450d806373 100644 +--- a/drivers/usb/core/driver.c ++++ b/drivers/usb/core/driver.c +@@ -332,10 +332,10 @@ static int usb_probe_interface(struct device *dev) + return error; + + if (udev->authorized == 0) { +- dev_err(&intf->dev, "Device is not authorized for usage\n"); ++ dev_warn(&intf->dev, "Device is not authorized for usage\n"); + return error; + } else if (intf->authorized == 0) { +- dev_err(&intf->dev, "Interface %d is not authorized for usage\n", ++ dev_warn(&intf->dev, "Interface %d is not authorized for usage\n", + intf->altsetting->desc.bInterfaceNumber); + return error; + } +diff --git a/drivers/usb/core/generic.c b/drivers/usb/core/generic.c +index 740342a2812a..2682bcf3e79f 100644 +--- a/drivers/usb/core/generic.c ++++ b/drivers/usb/core/generic.c +@@ -231,7 +231,7 @@ int usb_generic_driver_probe(struct usb_device *udev) + * with the driver core and lets interface drivers bind to them. + */ + if (udev->authorized == 0) +- dev_err(&udev->dev, "Device is not authorized for usage\n"); ++ dev_warn(&udev->dev, "Device is not authorized for usage\n"); + else { + c = usb_choose_configuration(udev); + if (c >= 0) { +-- +2.34.1 +