Hey Jesse,Oh that's interesting. Why is it still int the tree?
On Sun, Feb 12, 2023 at 03:55:06PM -0500, Jesse Taube wrote:
32bit risc-v can be configured to run without MMU. This patch adds
an example configuration for RV32 nommu virtual machine.
There's a patch on the list (I think it came in after you sent v1) that
pointed out that the rv32_defconfig in the tree is not actually used if
you do `make ARCH=riscv rv32_defconfig`, but instead a make target is
used.
below? That way rv32_nommu_virt_defconfig would always be kept in syncSounds good! The only gripe I have is the nommu_virt_defconfig is not very minimal, but that's not my problem.
with the rv64 version.
Cheers,
Conor.
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index 7123511d977c..785d438ae5fe 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -173,3 +173,7 @@ rv64_randconfig:
PHONY += rv32_defconfig
rv32_defconfig:
$(Q)$(MAKE) -f $(srctree)/Makefile defconfig 32-bit.config
+
+PHONY += rv32_nommu_virt_defconfig
+rv32_nommu_virt_defconfig:
+ $(Q)$(MAKE) -f $(srctree)/Makefile nommu_virt_defconfig 32-bit.config