mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
ARM64: mm: Add log in fixmap_remap_fdt for static memory
memblock_dbg is not up because of parse_early_param get called after setup_machine_fd. To capture fdt reserved info below pr_info is added. Change-Id: Id39ce71c3de63778e987d7ab09a6d41c6aaddc4f Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org> [vinmenon@codeaurora.org: move the location of print for 5.4] Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org> Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
This commit is contained in:
parent
5f35557113
commit
7a9d68ded6
1 changed files with 9 additions and 1 deletions
|
|
@ -174,8 +174,16 @@ static void __init setup_machine_fdt(phys_addr_t dt_phys)
|
|||
void *dt_virt = fixmap_remap_fdt(dt_phys, &size, PAGE_KERNEL);
|
||||
const char *name;
|
||||
|
||||
if (dt_virt)
|
||||
if (dt_virt) {
|
||||
memblock_reserve(dt_phys, size);
|
||||
/*
|
||||
* memblock_dbg is not up because of parse_early_param
|
||||
* get called after setup_machine_fd. To capture fdt
|
||||
* reserved info below pr_info is added.
|
||||
*/
|
||||
pr_info("memblock_reserve: 0x%x %pS\n", size - 1,
|
||||
(void *) _RET_IP_);
|
||||
}
|
||||
|
||||
if (!dt_virt || !early_init_dt_scan(dt_virt)) {
|
||||
pr_crit("\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue