Skip to content

Commit 19c8c80

Browse files
authored
Merge pull request #1468 from kernelkit/fix-rpi-display
linux: Fix stability of Raspberry pi display 1
2 parents d5df85a + db422ec commit 19c8c80

43 files changed

Lines changed: 708 additions & 112 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

board/aarch64/raspberrypi-rpi64/dts/broadcom/bcm2711-rpi-4-b.dts

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,18 @@
22
#include "infix.dtsi"
33

44
/ {
5-
/* Dynamic GPU reservation */
6-
gpu-reserved {
7-
size = <0x0 0x10000000>; /* 256MB */
8-
alignment = <0x0 0x1000000>; /* 16MB aligned */
9-
alloc-ranges = <0x0 0x10000000 0x1 0x00000000>; /* Allow anywhere in RAM */
10-
no-map;
11-
};
12-
13-
/* CMA pool */
14-
cma-reserved {
15-
compatible = "shared-dma-pool";
16-
size = <0x0 0x10000000>; /* 256MB */
17-
alignment = <0x0 0x1000000>; /* 16MB aligned */
18-
linux,cma-default;
19-
reusable;
20-
};
21-
225
chosen {
236
/* 8250 auxiliary UART instead of pl011 */
247
stdout-path = "serial1:115200n8";
258
};
269
};
2710

11+
/* Override upstream 64MB CMA with 256MB for vc4 GPU */
12+
&rmem {
13+
cma: linux,cma {
14+
size = <0x10000000>; /* 256MB */
15+
};
16+
};
2817

2918
&vc4 {
3019
status = "okay";

doc/ChangeLog.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ Change Log
33

44
All notable changes to the project are documented in this file.
55

6+
[v26.04.0][UNRELEASED] -
7+
-------------------------
8+
9+
### Changes
10+
11+
- Upgrade Linux kernel to 6.18.21 (LTS)
12+
13+
### Fixes
14+
15+
616
[v26.03.0][] - 2026-03-31
717
-------------------------
818

@@ -2025,7 +2035,7 @@ Supported YANG models in addition to those used by sysrepo and netopeer:
20252035
- N/A
20262036

20272037
[buildroot]: https://buildroot.org/
2028-
[UNRELEASED]: https://github.com/kernelkit/infix/compare/v26.02.0...HEAD
2038+
[UNRELEASED]: https://github.com/kernelkit/infix/compare/v26.03.0...HEAD
20292039
[v26.03.0]: https://github.com/kernelkit/infix/compare/v26.02.0...v26.03.0
20302040
[v26.02.0]: https://github.com/kernelkit/infix/compare/v26.01.0...v26.02.0
20312041
[v26.01.0]: https://github.com/kernelkit/infix/compare/v25.11.0...v26.01.0

patches/linux/6.18.21/0001-net-phy-marvell10g-Support-firmware-loading-on-88X33.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
From 657a79b59e67bac4af66f63bcf740238af399aba Mon Sep 17 00:00:00 2001
22
From: Tobias Waldekranz <tobias@waldekranz.com>
33
Date: Tue, 19 Sep 2023 18:38:10 +0200
4-
Subject: [PATCH 01/33] net: phy: marvell10g: Support firmware loading on
4+
Subject: [PATCH 01/41] net: phy: marvell10g: Support firmware loading on
55
88X3310
6+
Organization: Wires
67

78
When probing, if a device is waiting for firmware to be loaded into
89
its RAM, ask userspace for the binary and load it over XMDIO.
@@ -15,7 +16,7 @@ fall back.
1516
1 file changed, 161 insertions(+)
1617

1718
diff --git a/drivers/net/phy/marvell10g.c b/drivers/net/phy/marvell10g.c
18-
index 8fd42131cdbf..44294519231e 100644
19+
index 8fd42131cdbf9..44294519231ed 100644
1920
--- a/drivers/net/phy/marvell10g.c
2021
+++ b/drivers/net/phy/marvell10g.c
2122
@@ -25,6 +25,7 @@

patches/linux/6.18.21/0002-net-phy-marvell10g-Fix-power-up-when-strapped-to-sta.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
From 6684303b2262468f91f4aab0755a35f8dc2ee141 Mon Sep 17 00:00:00 2001
22
From: Tobias Waldekranz <tobias@waldekranz.com>
33
Date: Tue, 21 Nov 2023 20:15:24 +0100
4-
Subject: [PATCH 02/33] net: phy: marvell10g: Fix power-up when strapped to
4+
Subject: [PATCH 02/41] net: phy: marvell10g: Fix power-up when strapped to
55
start powered down
6+
Organization: Wires
67

78
On devices which are hardware strapped to start powered down (PDSTATE
89
== 1), make sure that we clear the power-down bit on all units
@@ -12,7 +13,7 @@ affected by this setting.
1213
1 file changed, 15 insertions(+), 3 deletions(-)
1314

1415
diff --git a/drivers/net/phy/marvell10g.c b/drivers/net/phy/marvell10g.c
15-
index 44294519231e..40439db49601 100644
16+
index 44294519231ed..40439db49601d 100644
1617
--- a/drivers/net/phy/marvell10g.c
1718
+++ b/drivers/net/phy/marvell10g.c
1819
@@ -322,11 +322,23 @@ static int mv3310_power_down(struct phy_device *phydev)

patches/linux/6.18.21/0003-net-phy-marvell10g-Add-LED-support-for-88X3310.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
From ee1464a4becdb06df87ae167fb56d9ac1530512f Mon Sep 17 00:00:00 2001
22
From: Tobias Waldekranz <tobias@waldekranz.com>
33
Date: Wed, 15 Nov 2023 20:58:42 +0100
4-
Subject: [PATCH 03/33] net: phy: marvell10g: Add LED support for 88X3310
4+
Subject: [PATCH 03/41] net: phy: marvell10g: Add LED support for 88X3310
5+
Organization: Wires
56

67
Pickup the LEDs from the state in which the hardware reset or
78
bootloader left them, but also support further configuration via
@@ -21,7 +22,7 @@ Trigger support:
2122
1 file changed, 422 insertions(+)
2223

2324
diff --git a/drivers/net/phy/marvell10g.c b/drivers/net/phy/marvell10g.c
24-
index 40439db49601..7ae4744f147b 100644
25+
index 40439db49601d..7ae4744f147bb 100644
2526
--- a/drivers/net/phy/marvell10g.c
2627
+++ b/drivers/net/phy/marvell10g.c
2728
@@ -28,6 +28,7 @@

patches/linux/6.18.21/0004-net-phy-marvell10g-Support-LEDs-tied-to-a-single-med.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
From cfe0f07454be8ab659b33fafd83a57b2d44f2fdf Mon Sep 17 00:00:00 2001
22
From: Tobias Waldekranz <tobias@waldekranz.com>
33
Date: Tue, 12 Dec 2023 09:51:05 +0100
4-
Subject: [PATCH 04/33] net: phy: marvell10g: Support LEDs tied to a single
4+
Subject: [PATCH 04/41] net: phy: marvell10g: Support LEDs tied to a single
55
media side
6+
Organization: Wires
67

78
In a combo-port setup, i.e. where both the copper and fiber interface
89
are available to the user, the LEDs may be physically located either
@@ -18,7 +19,7 @@ versa for the SFP cage.
1819
1 file changed, 22 insertions(+), 1 deletion(-)
1920

2021
diff --git a/drivers/net/phy/marvell10g.c b/drivers/net/phy/marvell10g.c
21-
index 7ae4744f147b..5e48355ffcef 100644
22+
index 7ae4744f147bb..5e48355ffcef4 100644
2223
--- a/drivers/net/phy/marvell10g.c
2324
+++ b/drivers/net/phy/marvell10g.c
2425
@@ -192,6 +192,9 @@ struct mv3310_chip {

patches/linux/6.18.21/0005-net-phy-Do-not-resume-PHY-when-attaching.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
From e0d9221901b235ffb4c0ea58748e8e5263eb0d9f Mon Sep 17 00:00:00 2001
22
From: Tobias Waldekranz <tobias@waldekranz.com>
33
Date: Wed, 27 Mar 2024 10:10:19 +0100
4-
Subject: [PATCH 05/33] net: phy: Do not resume PHY when attaching
4+
Subject: [PATCH 05/41] net: phy: Do not resume PHY when attaching
5+
Organization: Wires
56

67
The PHY should not start negotiating with its link-partner until
78
explicitly instructed to do so.
@@ -19,7 +20,7 @@ administratively down.
1920
1 file changed, 1 deletion(-)
2021

2122
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c
22-
index 2353d6eced68..9b0983453393 100644
23+
index 2353d6eced68d..9b09834533933 100644
2324
--- a/drivers/net/phy/phy_device.c
2425
+++ b/drivers/net/phy/phy_device.c
2526
@@ -1750,7 +1750,6 @@ int phy_attach_direct(struct net_device *dev, struct phy_device *phydev,

patches/linux/6.18.21/0006-net-bridge-avoid-classifying-unknown-multicast-as-mr.patch

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
From 86cdec8b0959cf957b2811a23ddf77648161a402 Mon Sep 17 00:00:00 2001
22
From: Joachim Wiberg <troglobit@gmail.com>
33
Date: Mon, 4 Mar 2024 16:47:28 +0100
4-
Subject: [PATCH 06/33] net: bridge: avoid classifying unknown multicast as
4+
Subject: [PATCH 06/41] net: bridge: avoid classifying unknown multicast as
55
mrouters_only
6+
Organization: Wires
67

78
Unknown multicast, MAC/IPv4/IPv6, should always be flooded according to
89
the per-port mcast_flood setting, as well as to detected and configured
@@ -26,7 +27,7 @@ Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2627
7 files changed, 57 insertions(+), 14 deletions(-)
2728

2829
diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
29-
index e52f8207ab27..306fa8a94c81 100644
30+
index e52f8207ab278..306fa8a94c819 100644
3031
--- a/include/uapi/linux/if_bridge.h
3132
+++ b/include/uapi/linux/if_bridge.h
3233
@@ -835,6 +835,7 @@ enum br_boolopt_id {
@@ -38,7 +39,7 @@ index e52f8207ab27..306fa8a94c81 100644
3839
};
3940

4041
diff --git a/net/bridge/br.c b/net/bridge/br.c
41-
index c37e52e2f29a..0759bc37d6f0 100644
42+
index c37e52e2f29ad..0759bc37d6f0f 100644
4243
--- a/net/bridge/br.c
4344
+++ b/net/bridge/br.c
4445
@@ -312,6 +312,9 @@ int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on,
@@ -61,7 +62,7 @@ index c37e52e2f29a..0759bc37d6f0 100644
6162
/* shouldn't be called with unsupported options */
6263
WARN_ON(1);
6364
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c
64-
index 525d4eccd194..6278dfc9612f 100644
65+
index 525d4eccd194a..6278dfc9612f5 100644
6566
--- a/net/bridge/br_device.c
6667
+++ b/net/bridge/br_device.c
6768
@@ -89,10 +89,10 @@ netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev)
@@ -101,7 +102,7 @@ index 525d4eccd194..6278dfc9612f 100644
101102
br_stp_timer_init(br);
102103
br_multicast_init(br);
103104
diff --git a/net/bridge/br_forward.c b/net/bridge/br_forward.c
104-
index dea09096ad0f..f0a613238e0d 100644
105+
index dea09096ad0fb..f0a613238e0d5 100644
105106
--- a/net/bridge/br_forward.c
106107
+++ b/net/bridge/br_forward.c
107108
@@ -199,15 +199,20 @@ static struct net_bridge_port *maybe_deliver(
@@ -140,7 +141,7 @@ index dea09096ad0f..f0a613238e0d 100644
140141
continue;
141142
break;
142143
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c
143-
index 2cbae0f9ae1f..0c539bf4bebe 100644
144+
index 2cbae0f9ae1f0..0c539bf4bebec 100644
144145
--- a/net/bridge/br_input.c
145146
+++ b/net/bridge/br_input.c
146147
@@ -186,9 +186,13 @@ int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb
@@ -170,7 +171,7 @@ index 2cbae0f9ae1f..0c539bf4bebe 100644
170171
br_multicast_flood(mdst, skb, brmctx, local_rcv, false);
171172
}
172173
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
173-
index 5855eb050208..06641afb99a8 100644
174+
index 5855eb0502085..06641afb99a8b 100644
174175
--- a/net/bridge/br_multicast.c
175176
+++ b/net/bridge/br_multicast.c
176177
@@ -3836,6 +3836,11 @@ static void br_multicast_err_count(const struct net_bridge *br,
@@ -206,7 +207,7 @@ index 5855eb050208..06641afb99a8 100644
206207
ipv6_addr_is_all_snoopers(&ipv6_hdr(skb)->daddr))
207208
br_ip6_multicast_mrd_rcv(brmctx, pmctx, skb);
208209
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
209-
index b9b2981c4841..ccbaaa96f7c7 100644
210+
index b9b2981c48414..ccbaaa96f7c70 100644
210211
--- a/net/bridge/br_private.h
211212
+++ b/net/bridge/br_private.h
212213
@@ -489,6 +489,7 @@ enum net_bridge_opts {

patches/linux/6.18.21/0007-net-bridge-Ignore-router-ports-when-forwarding-L2-mu.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
From 31794e03e7f1d66f7fdff708cdaa40453e591204 Mon Sep 17 00:00:00 2001
22
From: Joachim Wiberg <troglobit@gmail.com>
33
Date: Tue, 5 Mar 2024 06:44:41 +0100
4-
Subject: [PATCH 07/33] net: bridge: Ignore router ports when forwarding L2
4+
Subject: [PATCH 07/41] net: bridge: Ignore router ports when forwarding L2
55
multicast
6+
Organization: Wires
67

78
Multicast router ports are either statically configured or learned from
89
control protocol traffic (IGMP/MLD/PIM). These protocols regulate IP
@@ -16,7 +17,7 @@ Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1617
1 file changed, 4 insertions(+), 1 deletion(-)
1718

1819
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
19-
index ccbaaa96f7c7..d7187bead496 100644
20+
index ccbaaa96f7c70..d7187bead4968 100644
2021
--- a/net/bridge/br_private.h
2122
+++ b/net/bridge/br_private.h
2223
@@ -1097,7 +1097,10 @@ br_multicast_get_first_rport_node(struct net_bridge_mcast *brmctx,

patches/linux/6.18.21/0008-net-bridge-drop-delay-for-applying-strict-multicast-.patch

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
From 984d59e5f06c3741e1c76daf4bed6883eb339e97 Mon Sep 17 00:00:00 2001
22
From: Joachim Wiberg <troglobit@gmail.com>
33
Date: Thu, 4 Apr 2024 16:36:30 +0200
4-
Subject: [PATCH 08/33] net: bridge: drop delay for applying strict multicast
4+
Subject: [PATCH 08/41] net: bridge: drop delay for applying strict multicast
55
filtering
6+
Organization: Wires
67

78
This *local* patch drops the initial delay before applying strict multicast
89
filtering, introduced in [1] and recently updated in [2].
@@ -24,7 +25,7 @@ Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2425
2 files changed, 8 insertions(+), 38 deletions(-)
2526

2627
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
27-
index 06641afb99a8..bacff6c2e968 100644
28+
index 06641afb99a8b..bacff6c2e9684 100644
2829
--- a/net/bridge/br_multicast.c
2930
+++ b/net/bridge/br_multicast.c
3031
@@ -1760,10 +1760,6 @@ static void br_ip6_multicast_querier_expired(struct timer_list *t)
@@ -163,7 +164,7 @@ index 06641afb99a8..bacff6c2e968 100644
163164
#endif
164165

165166
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
166-
index d7187bead496..83dc15fdcefd 100644
167+
index d7187bead4968..83dc15fdcefdc 100644
167168
--- a/net/bridge/br_private.h
168169
+++ b/net/bridge/br_private.h
169170
@@ -80,7 +80,6 @@ struct bridge_mcast_own_query {

0 commit comments

Comments
 (0)