๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1
From: Romain Dolbeau
Date: Mon, 19 Oct 2026 15:07
56 lines
5088 bytes
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.

Cordially,

-- 
Romain Dolbeau

--
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: <CADuzgbpi8tm+8spCzgQmMiN8qrwz+3ObFMPj=kYzx_a+KfOidA@mail.gmail.com>
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: <CADuzgbpq_Pft5ZyFPD6WPBRcXpAdYcF84LzwLmyAhDYgso_X6g@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: Romain Dolbeau <romain@dolbeau.org>
Newsgroups: muc.lists.netbsd.port.m68k
Subject: SMP 68k (Re: New pmap module for m68k)
Date: Mon, 19 Oct 2026 17:07:25 +0200
Organization: Newsgate at muc.de e.V.
Sender: port-m68k-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <CADuzgbpi8tm+8spCzgQmMiN8qrwz+3ObFMPj=kYzx_a+KfOidA@mail.gmail.com>
References: <CADuzgbpq_Pft5ZyFPD6WPBRcXpAdYcF84LzwLmyAhDYgso_X6g@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="23719"; mail-complaints-to="news-admin@muc.de"
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792422458; x=1793027258;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=l5TYwm8NDK9bSjI0/237/E+yhbs8KwkCXKTEUG178G8=;
        b=PwBjMqYQDF6ZBsOFn/mTMXDE4e6xH7XqIQiV3cYBKVxgkFHb/DDm14iTGC4nEfMiKm
         VlFCciiik+hKBAGcXOZwDCZpVH5jQj/lJXMSZZj5ZGGT/w5Bmtd93ZIoYK8ZEdL97zvB
         nGcJ39AR6pT+NBz7iqKVM8slrhmjLlwyaHXMy0UppXFi9FPZiBb4y8oQ1122hpx7mL6D
         1ucyIV/hTp5ZIPYny7sf3Oh0xz9VBra7BRhsKQDdlrKXmNXOkvI0GhEFrK/P3NjqCvZq
         S2kZTJKVuZXQs1c/YLBuZIcjSTikwApZIH6TLiOXIoI5YR9mDr2H3b0MN2rDelUiU5tR
         9W6Q==
X-Forwarded-Encrypted: i=1; AKwUvBy6vb37JW5VeOeDXHGgQ4QvRES3+cXvh3XeYapTwbWIyEHChkZc4iWK+lAv82hOcjaE9ndgx9ya8MI=@netbsd.org
X-Gm-Message-State: AFq9FYLeuoZJvQ2Gs5dbp02U/66ihL1WlJbuAkwPtvZD5WGOmv1tdRlA
	vQD1RqGk4eLS1dyepLMgpCS1hEYp5tIL255DHsKBcAtzr0vTEcVSIywXW8CeWTv4Z7vS0dhxUke
	iTcyIOZWtVpzbpZpRpkFoKMopEt9PjtxGFgvS
X-Gm-Gg: AYBFou3iAHU7JT9L2UaQoWWPH5jh4R4hg4qf0oB10ZodgWrw9Pq6rw+SELplDH6P16r
	76Q0HKwaMvngx19UZ780sNFDsTzsTZRoEKPOh/Mhjqq6IQJeyK5rsmhGfJHCE0L9o81LjPCGJD8
	w7jxob1q49xK9tfTA0WUxgbUpoGXZoWxExX9xDi3tadkVjXEju0rYuahW2WIzdxEoY8A7z3PH8f
	557w8bvGO3yFNLjo58gQzdfClp5/+UMbuiYW0NeGw64na209LGkjLt9Hm9fQ+y4hPFDOMmuzt6J
	cKzpp67Mt2r8hWM2dDiwdwFwrWZKSzGdQ/N6fSCgid83Juy3b6wW9llZvFEf0gP/0KLn0nN4FSi
	iTjerjjzL07TZqChYc5sZCTz/HimA6P8cmUMufKll5yG4EWZGX1aej2e/n4bqsrC3aozG5b+FH7
	eF2rnK0o8IsMdf9m3Z2PN0Npvnx+nkELGlhv3kcXY8EKbqnrQQGqA=
In-Reply-To: <CADuzgbpq_Pft5ZyFPD6WPBRcXpAdYcF84LzwLmyAhDYgso_X6g@mail.gmail.com>
X-Gm-Features: AclHuK94eGFphBsMKN8MfZl6VEoVTdO0a6AXB6ytNEs2sfwSl8rjEKRBv_SES-s
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes