]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
authorArd Biesheuvel <ardb@kernel.org>
Sun, 11 Oct 2020 09:20:16 +0000 (10:20 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 27 Oct 2020 12:10:59 +0000 (12:10 +0000)
commit1cce4ab839c8c01bc2d7dea7474227cf9351b6ed
treeb4089777e1426cbe315e6b2aaacd47913aec835a
parent68ed2672b8fdb9454c449f573990714135c93adc
ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address

Before moving the DT mapping out of the linear region, let's prepare
for this change by removing all the phys-to-virt translations of the
__atags_pointer variable, and perform this translation only once at
setup time.

Tested-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/prom.h
arch/arm/kernel/atags.h
arch/arm/kernel/atags_parse.c
arch/arm/kernel/devtree.c
arch/arm/kernel/setup.c
arch/arm/mm/mmu.c