Skip to content

arm/versatile: no-MMU support

Greg Ungerer linux-arm-kernel linux-kbuild 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest4 patches 0 repliesNew

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: versatile: support no-MMU mode addressingarch/arm/mach-versatile/versatile_dt.c+4 -00 replies
2/4ARM: versatile: define empty debug_ll_io_init() for no-MMUarch/arm/include/asm/mach/map.h+1 -00 replies
3/4ARM: versatile: empty Makefile.boot needed for no-MMU compilearch/arm/mach-versatile/Makefile.boot+3 -00 replies
4/4ARM: versatile: support configuring versatile machine for no-MMUarch/arm/Kconfig arch/arm/Kconfig.debug arch/arm/mach-versatile/Kconfig+16 -325 replies
4/4ARM: versatile: support configuring versatile machine for no-MMU+0 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchVladimir Murzin
1/4
2/4R-b
3/4
4/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCHv4 0/4] arm/versatile: no-MMU support

This is a rebased resend of the no-MMU patches to support the Versatile platform. It incorporates changes suggested by Russell (don't use a multiplatorm arrangement) and rebased onto 4.17.

The following patches support configuring and building the versatile machine with a no-MMU kernel.

There is only a few minor changes required. It was previously possible in older kernels to build for versatile with CONFIG_MMU disabled, but the change to devicetree lost that capability. These changes make it possible again.

One patch is a fix for address translation (broken in older kernels too), two are build problems when CONFIG_MMU is disabled, and the last is the actual configuration changes needed.

The motivation for this is that the versatile machine is well supported in qemu. And this provides an excellent platform for development and testing no-MMU support on ARM in general. With these patches applied it is possible to build and run a kernel with MMU disabled in qemu.

Russell: is this something you would take via your patch tracker?

---
 arch/arm/Kconfig                       |   11 +++++++++++
 arch/arm/Kconfig.debug                 |    3 ++-
 arch/arm/include/asm/mach/map.h        |    1 +
 arch/arm/mach-versatile/Kconfig        |    5 +++--
 arch/arm/mach-versatile/Makefile.boot  |    3 +++
 arch/arm/mach-versatile/versatile_dt.c |    4 ++++
 6 files changed, 24 insertions(+), 3 deletions(-)