Re: NetBSD on Sun T5220

Sad Clouds <[email protected]> Wed, 1 Oct 2025 15:41:05 +0100
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Wed, 01 Oct 2025 17:15:24 +1000
matthew green <[email protected]> wrote:

> Sad Clouds writes:
> > On Tue, 30 Sep 2025 19:23:20 +0000 (UTC)
> > Palle Lyckegaard <[email protected]> wrote:
> >
> > > I have additional debugging output that shows that  the register window is 
> > > probably restored with incorrect values probably originating from a spill 
> > > trap at trap level 1 that stores the incorrect register window.
> >
> > Do you know where the code which handles window registers is located?
> > Is it somewhere in src/sys/arch/sparc64/sparc64/locore.s?
> 
> looks like pcbspill_other and spill_normal_to_user_stack in
> locore.s, yeah.  there's more, but these are the low level
> sun4v traps.
> 
> 
> .mrg.

OK thanks. I'll setup identical test environments on both sun4v and
sun4u and see how far I can debug this.