Skip to content

Commit 0e0d499

Browse files
VincentZWCpalmer-dabbelt
authored andcommitted
riscv: enable SiFive errata CIP-453 and CIP-1200 Kconfig only if CONFIG_64BIT=y
The corresponding hardware issues of CONFIG_ERRATA_SIFIVE_CIP_453 and CONFIG_ERRATA_SIFIVE_CIP_1200 only exist in the SiFive 64bit CPU cores. Therefore, these two errata are required only if CONFIG_64BIT=y Reported-by: kernel test robot <[email protected]> Signed-off-by: Vincent Chen <[email protected]> Fixes: bff3ff5 ("riscv: sifive: Apply errata "cip-1200" patch") Fixes: 800149a ("riscv: sifive: Apply errata "cip-453" patch") Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 8db6f93 commit 0e0d499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/riscv/Kconfig.erratas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ config ERRATA_SIFIVE
2121

2222
config ERRATA_SIFIVE_CIP_453
2323
bool "Apply SiFive errata CIP-453"
24-
depends on ERRATA_SIFIVE
24+
depends on ERRATA_SIFIVE && 64BIT
2525
default y
2626
help
2727
This will apply the SiFive CIP-453 errata to add sign extension
@@ -32,7 +32,7 @@ config ERRATA_SIFIVE_CIP_453
3232

3333
config ERRATA_SIFIVE_CIP_1200
3434
bool "Apply SiFive errata CIP-1200"
35-
depends on ERRATA_SIFIVE
35+
depends on ERRATA_SIFIVE && 64BIT
3636
default y
3737
help
3838
This will apply the SiFive CIP-1200 errata to repalce all

0 commit comments

Comments
 (0)