mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
mm: The first 1MB mem is wasted for CPU series coming after TXLX [1/1]
PD#SWPL-3744 Problem: For the previous Amlogic CPU series(before TXLX), the CPU booting vector locates at physical address starting from 0x00. To avoid influencing cpu booting procedure, we have to reserve the first 1MB physical memory. But it has changed since TXLX, the normal text section can safely use 0~1M physical address. So it's no need to reserve the first 1MB in DTS. Solution: Change the starting address of usable memory from 0x100000 to 0x0 for CPU series coming after TXLX. Verify: Locally on W400 Change-Id: I2df7859a38feca48abd58459e8b231ee15ada9e2 Signed-off-by: changqing.gao <changqing.gao@amlogic.com> Signed-off-by: Luan Yuan <luan.yuan@amlogic.com> Conflicts: arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x40000000>;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -46,7 +46,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x100000 0x5ff00000>;
|
||||
linux,usable-memory = <0x0 0x60000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x40000000>;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x7ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x80000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x3ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x40000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
memory@00000000 {
|
||||
device_type = "memory";
|
||||
linux,usable-memory = <0x0 0x100000 0x0 0x5ff00000>;
|
||||
linux,usable-memory = <0x0 0x0 0x0 0x60000000>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
|
||||
Reference in New Issue
Block a user