OSDN Git Service

riscv: Kconfig.errata: Add dependency for RISCV_SBI in ERRATA_ANDES config
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fri, 1 Sep 2023 11:03:20 +0000 (12:03 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 8 Sep 2023 18:25:28 +0000 (11:25 -0700)
commit2f73b35d79d06f5354c859c31e5946391efc45c8
treef4ce1cf56e4933365893e9d8ef1e1205cace2c49
parent54adc24c9a8f6e602f7e9d716107814d10281f8d
riscv: Kconfig.errata: Add dependency for RISCV_SBI in ERRATA_ANDES config

Andes errata uses sbi_ecalll() which is only available if RISCV_SBI is
enabled. So add an dependency for RISCV_SBI in ERRATA_ANDES config to
avoid any build failures.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308311610.ec6bm2G8-lkp@intel.com/
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20230901110320.312674-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig.errata