Skip to content

Commit 9c4319d

Browse files
SiFiveHollandpalmer-dabbelt
authored andcommitted
riscv: Remove MMU dependency from Zbb and Zicboz
The Zbb and Zicboz ISA extensions have no dependency on an MMU and are equally useful on NOMMU kernels. Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent aea702d commit 9c4319d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/riscv/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,6 @@ config TOOLCHAIN_HAS_ZBB
581581
config RISCV_ISA_ZBB
582582
bool "Zbb extension support for bit manipulation instructions"
583583
depends on TOOLCHAIN_HAS_ZBB
584-
depends on MMU
585584
depends on RISCV_ALTERNATIVE
586585
default y
587586
help
@@ -613,7 +612,6 @@ config RISCV_ISA_ZICBOM
613612

614613
config RISCV_ISA_ZICBOZ
615614
bool "Zicboz extension support for faster zeroing of memory"
616-
depends on MMU
617615
depends on RISCV_ALTERNATIVE
618616
default y
619617
help

0 commit comments

Comments
 (0)