]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Add CONFIG_{NON,}PORTABLE
authorPalmer Dabbelt <palmer@rivosinc.com>
Sat, 21 May 2022 19:33:57 +0000 (12:33 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 14 Jul 2022 18:19:49 +0000 (11:19 -0700)
commit1a8fcc20be6368a2c7add03c3d90b2ff89fd1d0a
tree748968758bba8816e28c0fa7792cef4256a9e267
parentda0b754522d0960898e8dcfb39c6fadbad7ea7ff
RISC-V: Add CONFIG_{NON,}PORTABLE

The RISC-V port has collected a handful of options that are
fundamentally non-portable.  To prevent users from shooting themselves
in the foot, hide them all behind a config entry that explicitly calls
out that non-portable binaries may be produced.

Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/r/20220521193356.26562-1-palmer@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig
arch/riscv/configs/32-bit.config
arch/riscv/configs/nommu_k210_defconfig
arch/riscv/configs/nommu_k210_sdcard_defconfig
arch/riscv/configs/nommu_virt_defconfig
arch/riscv/configs/rv32_defconfig