openwrt/target/linux/bcm27xx/patches-6.1/950-1056-arm-dt-bcm2712-don-t-unconditionally-enable-MPS-read.patch
Marty Jones 2e715fb4fc bcm27xx: update 6.1 patches to latest version
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y

Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B

Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-01-25 17:46:45 +01:00

36 lines
1.0 KiB
Diff

From cb013b6602de32c647ed08faf899596664a18635 Mon Sep 17 00:00:00 2001
From: Jonathan Bell <jonathan@raspberrypi.com>
Date: Thu, 26 Oct 2023 13:47:54 +0100
Subject: [PATCH] arm: dt: bcm2712: don't unconditionally enable MPS read
completions
RP1 supports it, but it's not a given that an arbitrary EP device
on PCIE2 will. Migrate the property to the rp1_target fragment.
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
---
arch/arm/boot/dts/bcm2712-rpi-5-b.dts | 1 +
arch/arm/boot/dts/bcm2712.dtsi | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/boot/dts/bcm2712-rpi-5-b.dts
+++ b/arch/arm/boot/dts/bcm2712-rpi-5-b.dts
@@ -160,6 +160,7 @@
};
rp1_target: &pcie2 {
+ brcm,enable-mps-rcb;
brcm,vdm-qos-map = <0xbbaa9888>;
aspm-no-l0s;
status = "okay";
--- a/arch/arm/boot/dts/bcm2712.dtsi
+++ b/arch/arm/boot/dts/bcm2712.dtsi
@@ -1086,7 +1086,6 @@
0x00 0x00000000
0x10 0x00000000>;
- brcm,enable-mps-rcb;
brcm,enable-l1ss;
status = "disabled";
};