Searched hist:"50226 c8f956b13577b22fb21175ebd0cdcf0b7ae" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | memblk.h | 50226c8f956b13577b22fb21175ebd0cdcf0b7ae Mon Jul 15 06:17:51 UTC 2019 Joseph Chen <chenjh@rock-chips.com> lib: sysmem: optimise alloc policy
- Allow request region alloc within the first invisiable region reserved by bidram when request region has flags M_ATTR_IGNORE_INVISIBLE. This is a workaround for some firmware memory layout, eg: on RK3308-AArch32, the ATF region is 0~1M(same as RK3308-AArch64), but the kernel would like to alloc at 0x00058000.
- Always make kernel reserved-memory alloc successfully and check overlap with invisible and sysmem allocated regions in sysmem_overflow_check() before bootm. This makes alloc policy more easier.
Change-Id: I533c710a6e69bd930befda441b9ec64415e3f408 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| H A D | sysmem.h | 50226c8f956b13577b22fb21175ebd0cdcf0b7ae Mon Jul 15 06:17:51 UTC 2019 Joseph Chen <chenjh@rock-chips.com> lib: sysmem: optimise alloc policy
- Allow request region alloc within the first invisiable region reserved by bidram when request region has flags M_ATTR_IGNORE_INVISIBLE. This is a workaround for some firmware memory layout, eg: on RK3308-AArch32, the ATF region is 0~1M(same as RK3308-AArch64), but the kernel would like to alloc at 0x00058000.
- Always make kernel reserved-memory alloc successfully and check overlap with invisible and sysmem allocated regions in sysmem_overflow_check() before bootm. This makes alloc policy more easier.
Change-Id: I533c710a6e69bd930befda441b9ec64415e3f408 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | sysmem.c | 50226c8f956b13577b22fb21175ebd0cdcf0b7ae Mon Jul 15 06:17:51 UTC 2019 Joseph Chen <chenjh@rock-chips.com> lib: sysmem: optimise alloc policy
- Allow request region alloc within the first invisiable region reserved by bidram when request region has flags M_ATTR_IGNORE_INVISIBLE. This is a workaround for some firmware memory layout, eg: on RK3308-AArch32, the ATF region is 0~1M(same as RK3308-AArch64), but the kernel would like to alloc at 0x00058000.
- Always make kernel reserved-memory alloc successfully and check overlap with invisible and sysmem allocated regions in sysmem_overflow_check() before bootm. This makes alloc policy more easier.
Change-Id: I533c710a6e69bd930befda441b9ec64415e3f408 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|