riscv: make t-head erratas depend on MMU
authorHeiko Stuebner <heiko@sntech.de>
Wed, 7 Sep 2022 15:49:32 +0000 (17:49 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sat, 17 Sep 2022 08:48:22 +0000 (01:48 -0700)
commit2a2018c3ac84c2dc7cfbad117ce9339ea0914622
tree956fe149e6591c4ff99ba9615fc7c989e08d87ee
parent225e47ea20ea4f37031131f4fa7a6c281fac6657
riscv: make t-head erratas depend on MMU

Both basic extensions of SVPBMT and ZICBOM depend on CONFIG_MMU.
Make the T-Head errata implementations of the similar functionality
also depend on it to prevent build errors.

Fixes: a35707c3d850 ("riscv: add memory-type errata for T-Head")
Fixes: d20ec7529236 ("riscv: implement cache-management errata for T-Head SoCs")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Guo Ren <guoren@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220907154932.2858518-1-heiko@sntech.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig.erratas