Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp671517pxb; Thu, 30 Sep 2021 14:38:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZzZ4G1fmudbj/vCfjI1bFdSlDA3vtOIDf6RfU3ypPpWFc+pREpMx1McUeVWox32qmJHIw X-Received: by 2002:a17:906:4ace:: with SMTP id u14mr1853151ejt.118.1633037916033; Thu, 30 Sep 2021 14:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633037916; cv=none; d=google.com; s=arc-20160816; b=OYChfSmEXqslj37kHqbc9uzE1afovTH34yaqxNjOz5wC1jDh34kVCJYGAxoQgDABDv wIBJktBBphE+ozRXT35PJio3hxOIxg8SEXqWvXKKWw9+M3a10k6LAWOwJSC95PHwrOTp qMof9f2kkmD/f0gRZtVoYKwp82lqnTCmT7SDjPgHrzi8WRgYerdtQT5O/QXHuZELtnA6 xkqdK6gw8fM3tBx2ONZ1Sy/IQXr/tQjArTo2bjL90at0qM4WXtjC9Fy6zqaEnXZNaXBZ kDY2bazu352SKWm+QrZGsBIuILmJmA5dtCy6Em78m4gOQLtmV4IbP2YPOEXBmWjcJEF5 o3HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=vdBEThjXgqAPrWSPoV7dta9YcKR77ucvOU6S/BADqeY=; b=bLOMY6pI9sSVJyLlNKvSRu4nkBWkvS5GOZwlb8hHIhk49fcaoiPWYez6vqvLFDS1qJ 2Bl1jnD6HpR6HggkO1wLf3tscxIVA6reVkB90OeiRtbEDqBbpdxbhkS9opfPFsy3E5+U Zt3F13jgWFF6u1FBXF33YjZ4LYdpzpW7MUrp4Nw4gYNFKZoL5pSgd/Q4Cdq9MYC0ESfl i1roxg/JCg5f58QAyj5BSObJsKdvuja6iqHLQPJVP0K12Fk8FTT8NaxYQaplQY9QokE7 SWF1lgnWK0OuIH0w5m53TaYoGJH+oL8T5bTgYbL7r2gt/fIajsG2cPcoQiqurWHlo9Y0 eVew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nd25si5271971ejc.391.2021.09.30.14.38.11; Thu, 30 Sep 2021 14:38:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349117AbhI3VQg (ORCPT + 99 others); Thu, 30 Sep 2021 17:16:36 -0400 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:42339 "EHLO outpost1.zedat.fu-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348652AbhI3VQg (ORCPT ); Thu, 30 Sep 2021 17:16:36 -0400 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.94) with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1mW3OF-0042kT-Kz; Thu, 30 Sep 2021 23:14:51 +0200 Received: from p57bd97e9.dip0.t-ipconnect.de ([87.189.151.233] helo=[192.168.178.81]) by inpost2.zedat.fu-berlin.de (Exim 4.94) with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from ) id 1mW3OF-003e2L-7n; Thu, 30 Sep 2021 23:14:51 +0200 Message-ID: <506fe100-04b6-e465-f4b8-bae58ab505ac@physik.fu-berlin.de> Date: Thu, 30 Sep 2021 23:14:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Subject: Re: [PATCH 2/2] m68k: introduce a virtual m68k machine Content-Language: en-US To: Laurent Vivier , Geert Uytterhoeven Cc: Linux Kernel Mailing List , linux-m68k , linux-rtc@vger.kernel.org, Alessandro Zummo , Alexandre Belloni References: <20210323221430.3735147-1-laurent@vivier.eu> <20210323221430.3735147-3-laurent@vivier.eu> <90ab81cd-0d83-9537-b7d8-40e4bffa152e@vivier.eu> From: John Paul Adrian Glaubitz In-Reply-To: <90ab81cd-0d83-9537-b7d8-40e4bffa152e@vivier.eu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 87.189.151.233 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913