]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Make the default for PHYSICAL_START always 64-bit
authorMaciej W. Rozycki <macro@mips.com>
Mon, 26 Mar 2018 18:11:51 +0000 (19:11 +0100)
committerJames Hogan <jhogan@kernel.org>
Wed, 28 Mar 2018 13:58:39 +0000 (14:58 +0100)
commit468eb23d9f914dd464ac97e2257555ca5e33224d
tree9db29e06b3b69eac8a1f541526f5c03bef9a7148
parent42caf02fb91b7b1c79cb6d2906ce940fd37d8adf
MIPS: Make the default for PHYSICAL_START always 64-bit

Make the default for PHYSICAL_START always 64-bit, ensuring that a
correct sign-extended value is used if a 32-bit image is loaded by a
64-bit system, and matching how the load address is set in platform
Makefile fragments (arch/mips/*/Platform) in the absence of the
PHYSICAL_START configuration option.

Of course PHYSICAL_START itself is a misnomer as the load address is
virtual rather than physical (or otherwise sign-extension would not
apply).

Fixes: 929a9c6ae0e1 ("MIPS: kdump: Add support")
Signed-off-by: Maciej W. Rozycki <macro@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Maxim Uvarov <muvarov@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18939/
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/Kconfig