๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.port.m68k
Article #3

Re: SMP 68k (Re: New pmap module for m68k)

#3
From: John Paul Adrian Glaubitz
Date: Mon, 19 Oct 2026 15:45
68 lines
5051 bytes
Hi Romain,

On Mon, 2026-10-19 at 17:07 +0200, Romain Dolbeau wrote:
> Le jeu. 13 nov. 2025 ร  10:05, Romain Dolbeau <romain@dolbeau.org> a รฉcrit :
> > I'd love to see this happen, but building hardware for it is a bit of
> > a pain. Having emulation working as a starting point would be great
> > (for buildhost and test SW before creating HW).
> 
> Well, barely a year later and the world has changed a lot for this
> kind of stuff - whether we like it or not- because of LLMs (I'm not
> using the i-word to describe it).
> 
> ```
> NetBSD/virt68k (virt68k) (constty)
> 
> login: root
> Oct 19 14:54:44 virt68k login: ROOT LOGIN (root) on tty constty
> Last login: Mon Oct 19 11:52:23 2026 on constty
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
>     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
>     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
>     2024, 2025, 2026
>     The NetBSD Foundation, Inc.  All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>     The Regents of the University of California.  All rights reserved.
> 
> NetBSD 11.0 (GENERIC.MP) #15: Sun Oct 18 12:50:46 CEST 2026
> 
> Welcome to NetBWe recommend that you create a non-root account and use
> su(1) for root access.
> virt68k# sysctl hw.ncpu
> hw.ncpu = 8
> virt68k# sysctl hw.model
> hw.model = Qemu 11.1.2: MC68040+MMU+FPU, 4k+4k on-chip physical I/D caches
> virt68k#
> ```
> 
> Took claude code a day to get a first version (of both qemu & netbsd),
> and about another one to "optimize" the pmap code, moving away from
> one big lock and making "make -j" relatively efficient to self-host a
> full kernel rebuild. Whether that would translate to actual hardware
> is a wide open question. But now that software is much less of an
> issue, I need to get around to actually building my SMP MC680x0
> homegrown... (which is basically two CPUs and a big FPGA to handle
> everything else)
> 
> I don't think AI-generated code is welcome in NetBSD, so I'll stop
> here, but if anyone wants to discuss this off-list they're welcome.

I think the QEMU guys (unfortunately) currently don't accept any AI
contributions, but at least the Linux kernel will gladly accept such
contributions if you were to provide Linux support.

I would be interested in the QEMU patches either way.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <de35ce6cc6a39884821502594ec5278a1961f1bd.camel@physik.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <CADuzgbpi8tm+8spCzgQmMiN8qrwz+3ObFMPj=kYzx_a+KfOidA@mail.gmail.com> <>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Newsgroups: muc.lists.netbsd.port.m68k
Subject: Re: SMP 68k (Re: New pmap module for m68k)
Date: Mon, 19 Oct 2026 17:45:36 +0200
Organization: Newsgate at muc.de e.V.
Sender: port-m68k-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <de35ce6cc6a39884821502594ec5278a1961f1bd.camel@physik.fu-berlin.de>
References: <CADuzgbpi8tm+8spCzgQmMiN8qrwz+3ObFMPj=kYzx_a+KfOidA@mail.gmail.com> <>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="57493"; mail-complaints-to="news-admin@muc.de"
User-Agent: Evolution 3.60.2
Authentication-Results: mail.netbsd.org (amavisd-new);
	dkim=pass (2048-bit key) header.d=fu-berlin.de
X-Greylist: delayed 481 seconds by postgrey-1.37 at homeworld.NetBSD.org; Mon, 19 Oct 2026 15:53:42 UTC
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=fu-berlin.de; s=fub01; h=MIME-Version:Content-Transfer-Encoding:
	Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:From:
	Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type:
	Content-Transfer-Encoding:Content-ID:Content-Description:In-Reply-To:
	References; bh=HXUDN0HPBKOi4H3Smcw09fJSSnwnwTh6j9a+Lk9Lo3k=; t=1792425222;
	x=1793030022; b=Et0fRwKi2WDQMytWYIE6yDJ9t1oMK1Yy8Wty6Cbdv6E2MEnqBvHvrYiWoUsOs
	cHe97+s6yzX8ZSV5Rg8xNHc9TDWFHZ5l6xSpBwIY6NJd5nJuSTph61pQ4FJhzgdbhkNDOefcUBCXm
	2UnHzP2f3Fjk2pnO219vJucgOUHLebMd9tTHKlgeMsPCRWJ6EH5/6mgUg10elz8NUEahxNhLxjCx/
	XMBVG+CepdRCXESWdDNxFIAI/fm1rfW/7sReTCAgpAo/0dLkOW/5Xsglzok6CI49rjy+hXfYXhKcd
	DAJA3edkBI8Yfl04Y6kiHGxrr2VBxSCk3O9oppibxmSatKXHyg==;
In-Reply-To: <CADuzgbpi8tm+8spCzgQmMiN8qrwz+3ObFMPj=kYzx_a+KfOidA@mail.gmail.com>
X-Original-Sender: glaubitz@physik.fu-berlin.de
X-Originating-IP: 91.19.169.10
X-ZEDAT-Hint: PO
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes