]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: keep 32-bit kernel to 32-bit phys_addr_t
authorOlof Johansson <olof@lixom.net>
Mon, 6 Jan 2020 23:20:24 +0000 (15:20 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 22 Jan 2020 21:10:01 +0000 (13:10 -0800)
commit931be8613534df9f9c3a6fe412e0cecbd0872551
treebb8c863a1ff39ea4ffaaa488c6188de454760437
parentfc36239791272f27d5c527556cedb4d2b0307690
riscv: keep 32-bit kernel to 32-bit phys_addr_t

While rv32 technically has 34-bit physical addresses, no current platforms
use it and it's likely to shake out driver bugs.

Let's keep 64-bit phys_addr_t off on 32-bit builds until one shows up,
since other work will be needed to make such a system useful anyway.

PHYS_ADDR_T_64BIT is def_bool 64BIT, so just remove the select.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig