🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.netbsd.port.m68k
4 messages
4 total messages Started by Romain Dolbeau Sun, 25 Oct 2026 14:55
Re: New pmap module for m68k
#4
Author: Romain Dolbeau
Date: Sun, 25 Oct 2026 14:55
24 lines
3776 bytes
Le lun. 10 nov. 2025 à 15:02, Jason Thorpe <thorpej@me.com> a écrit :
> I keep forgetting about the UPA bits (partially because the Hibler pmap uses one of them as a software-defined bit, which we thankfully got away with for all these years).
> Yes, it would be possible to do that with UPA, but it would need special support in the pmap module (and any other place that has reason to consult a PTE value).

As far as I can tell, only U0 (bits 8 in the page descriptor, visible
to pin UPA0) is used by the NetBSD kernel (for PG_W), while the first
available UR bit from the '040 (bits 11, not outputed to external
hardware) is not used. If PG_W was moved from bit 8 to bit 11, the UPA
bits would be freed for the SMP-intended purpose of snooping (with
Motorola suggesting wiring SC0/1 to UPA0/1).

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
Re: New pmap module for m68k
#10
Author: Jason Thorpe
Date: Thu, 05 Nov 2026 16:25
22 lines
5336 bytes
> On Oct 25, 2026, at 7:55 AM, Romain Dolbeau <romain@dolbeau.org> wrote:
> 
> As far as I can tell, only U0 (bits 8 in the page descriptor, visible
> to pin UPA0) is used by the NetBSD kernel (for PG_W), while the first
> available UR bit from the '040 (bits 11, not outputed to external
> hardware) is not used. If PG_W was moved from bit 8 to bit 11, the UPA
> bits would be freed for the SMP-intended purpose of snooping (with
> Motorola suggesting wiring SC0/1 to UPA0/1).

The U0 bit is only used in the older Utah/Hibler pmap_motorola.c, largely because it was original written to support the HP MMU (used in the HP 9000/320 and 350) and the 68851, and 68040 support was shoe-horned in there and the bit was never moved elsewhere.

-- thorpej


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: New pmap module for m68k
#11
Author: Romain Dolbeau
Date: Thu, 05 Nov 2026 17:24
20 lines
3510 bytes
Le jeu. 5 nov. 2026 à 17:26, Jason Thorpe <thorpej@me.com> a écrit :
> The U0 bit is only used in the older Utah/Hibler pmap_motorola.c, largely because it was original written to support the HP MMU (used in the HP 9000/320 and 350) and the 68851, and 68040 support was shoe-horned in there and the bit was never moved elsewhere.

OK, thank you for confirming.

I don't see the pmap replacement in the 11.1 changelog, I'm guessing
it's too major for a minor revision and only scheduled for 12.x ?

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
Re: New pmap module for m68k
#12
Author: Jason Thorpe
Date: Thu, 05 Nov 2026 17:25
25 lines
5294 bytes

> On Nov 5, 2026, at 9:24 AM, Romain Dolbeau <romain@dolbeau.org> wrote:
> 
> Le jeu. 5 nov. 2026 à 17:26, Jason Thorpe <thorpej@me.com> a écrit :
>> The U0 bit is only used in the older Utah/Hibler pmap_motorola.c, largely because it was original written to support the HP MMU (used in the HP 9000/320 and 350) and the 68851, and 68040 support was shoe-horned in there and the bit was never moved elsewhere.
> 
> OK, thank you for confirming.
> 
> I don't see the pmap replacement in the 11.1 changelog, I'm guessing
> it's too major for a minor revision and only scheduled for 12.x ?

Right, but you can always play with it in -current.

-- thorpej


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads