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

From: John Paul Adrian Glaubitz
Date: Thu Sep 30 2021 - 17:14:55 EST


Hi!

On 9/30/21 23:11, Laurent Vivier wrote:
>>> --- a/arch/m68k/Kconfig.machine
>>> +++ b/arch/m68k/Kconfig.machine
>>> @@ -145,6 +145,23 @@ config SUN3
>>>
>>> If you don't want to compile a kernel exclusively for a Sun 3, say N.
>>>
>>> +config VIRT
>>> + bool "Virtual M68k Machine support"
>>> + depends on MMU
>>> + select MMU_MOTOROLA if MMU
>>> + select M68040
>>> + select LEGACY_TIMER_TICK
>>
>> Can we avoid selecting this for a new platform?
>>
>
> I tried but I was not able to have a working scheduler.
>
> As the machine has been tested with this option and most of the other m68k machines uses it, I will
> keep it.

FWIW, the VM in its current form works very well and reliable and has been
in use as a Debian porterbox for almost a year now without any issues.

root@mitchy:~# uname -a
Linux mitchy 5.10.0-rc1-183617-gd7f4e16357f6 #1 Mon Nov 2 12:06:55 CET 2020 m68k GNU/Linux
root@mitchy:~# uptime
23:13:47 up 332 days, 10:04, 1 user, load average: 0.08, 0.05, 0.06
root@mitchy:~#

Would be great if we could get this feature added upstream so I can enable
this kernel configuration in Debian.

Adrian

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@xxxxxxxxxx
`. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913