Skip to content

Commit 2f73b35

Browse files
prabhakarladpalmer-dabbelt
authored andcommitted
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>
1 parent 54adc24 commit 2f73b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/Kconfig.errata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ menu "CPU errata selection"
22

33
config ERRATA_ANDES
44
bool "Andes AX45MP errata"
5-
depends on RISCV_ALTERNATIVE
5+
depends on RISCV_ALTERNATIVE && RISCV_SBI
66
help
77
All Andes errata Kconfig depend on this Kconfig. Disabling
88
this Kconfig will disable all Andes errata. Please say "Y"

0 commit comments

Comments
 (0)