Re: [PATCH v4 11/21] arm64: Extract early FDT mapping from kaslr_early_init()

2021-01-23 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 09:45:23AM +, Marc Zyngier wrote: > +void __init early_fdt_map(u64 dt_phys) > +{ > + int fdt_size; > + > + early_fixmap_init(); > + early_fdt_ptr = fixmap_remap_fdt(dt_phys, _size, PAGE_KERNEL); > +} asmlinkage here as well I think. -- Catalin

Re: [PATCH v4 11/21] arm64: Extract early FDT mapping from kaslr_early_init()

2021-01-22 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 09:45:23AM +, Marc Zyngier wrote: > As we want to parse more options very early in the kernel lifetime, > let's always map the FDT early. This is achieved by moving that > code out of kaslr_early_init(). > > No functionnal change expected. > > Signed-off-by: Marc

[PATCH v4 11/21] arm64: Extract early FDT mapping from kaslr_early_init()

2021-01-18 Thread Marc Zyngier
As we want to parse more options very early in the kernel lifetime, let's always map the FDT early. This is achieved by moving that code out of kaslr_early_init(). No functionnal change expected. Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/setup.h | 11 +++