diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-06-17 11:50:49 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-06-21 11:39:39 +0100 |
commit | e17362d683fb6bcda0e419ec0ad7cabb8252c509 (patch) | |
tree | 380bb31b60456ab791aafc27d657864322c3ab54 /drivers/firmware/psci/psci.c | |
parent | 33f087577ed3a048e65e7b50c92704e2f43bd1f7 (diff) | |
download | linux-e17362d683fb6bcda0e419ec0ad7cabb8252c509.tar.gz linux-e17362d683fb6bcda0e419ec0ad7cabb8252c509.tar.bz2 linux-e17362d683fb6bcda0e419ec0ad7cabb8252c509.zip |
ARM: 9097/1: mmu: Declare section start/end correctly
The kernel test robot reported an interesting bug:
A debug print was using %08x with kernel_sec_start and kernel_sec_end
being phys_addr_t which can be either u32 or u64 (possibly more).
Actually these should just be declared as u32 to begin with: they are
declared as such in the assembly in head.S and the kernel definitely
boots in a 32 bit physical address space. Redeclare the kernel_sec_start
and kernel_sec_end to rid the bug.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 6e121df14ccd ("ARM: 9090/1: Map the lowmem and kernel separately")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions