Skip to content

Commit 37bfc1c

Browse files
pelwellpopcornmix
authored andcommitted
ARM: dts: bcm2835: Use the L2 non-allocating alias
The /soc/dma-ranges property on BCM2835 currently results in DMA addresses in the range 0x40000000-0x5fffffff. This will allocate in the system L2 cache, which may adversely affect performance. Change the dma-ranges property to give addresses in the range 0x80000000-0x9fffffff, which are coherent with L2 but non-allocating. See: raspberrypi#3602 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent 3e5fd6a commit 37bfc1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm/boot/dts/bcm2835.dtsi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
soc {
2121
ranges = <0x7e000000 0x20000000 0x02000000>;
22-
dma-ranges = <0x40000000 0x00000000 0x20000000>;
22+
dma-ranges = <0x80000000 0x00000000 0x20000000>;
2323
};
2424

2525
arm-pmu {

0 commit comments

Comments
 (0)