Re: [PATCH 2/2] m68k: introduce a virtual m68k machine

From: Laurent Vivier
Date: Tue Apr 27 2021 - 13:20:19 EST


Hi,

Le 23/03/2021 à 23:14, Laurent Vivier a écrit :
> This machine allows to have up to 3.2 GiB and 128 Virtio devices.
>
> It is based on android goldfish devices.
>
> Signed-off-by: Laurent Vivier <laurent@xxxxxxxxx>
> ---
> arch/m68k/Kbuild | 1 +
> arch/m68k/Kconfig.machine | 17 +++
> arch/m68k/configs/virt_defconfig | 93 ++++++++++++++++
> arch/m68k/include/asm/irq.h | 3 +-
> arch/m68k/include/asm/pgtable_mm.h | 7 ++
> arch/m68k/include/asm/setup.h | 44 ++++++--
> arch/m68k/include/asm/virt.h | 26 +++++
> arch/m68k/include/uapi/asm/bootinfo-virt.h | 18 ++++
> arch/m68k/include/uapi/asm/bootinfo.h | 1 +
> arch/m68k/kernel/Makefile | 1 +
> arch/m68k/kernel/head.S | 30 ++++++
> arch/m68k/kernel/setup_mm.c | 9 ++
> arch/m68k/mm/kmap.c | 20 ++--
> arch/m68k/virt/Makefile | 6 ++
> arch/m68k/virt/config.c | 118 +++++++++++++++++++++
> arch/m68k/virt/ints.c | 110 +++++++++++++++++++
> arch/m68k/virt/platform.c | 80 ++++++++++++++
> arch/m68k/virt/timer.c | 91 ++++++++++++++++
> 18 files changed, 658 insertions(+), 17 deletions(-)
> create mode 100644 arch/m68k/configs/virt_defconfig
> create mode 100644 arch/m68k/include/asm/virt.h
> create mode 100644 arch/m68k/include/uapi/asm/bootinfo-virt.h
> create mode 100644 arch/m68k/virt/Makefile
> create mode 100644 arch/m68k/virt/config.c
> create mode 100644 arch/m68k/virt/ints.c
> create mode 100644 arch/m68k/virt/platform.c
> create mode 100644 arch/m68k/virt/timer.c
>

As 5.12 has been released, is this possible to consider having this new machine in the next release?

All changes are contained under arch/m68k and protected by the CONFIG_VIRT flag. This should not
have any impact on the other m68k machines. In any case, I'll be able to maintain the machine and
fix any problem.

Thanks,
Laurent