CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2026/04/18 11:17:03

Modified files:
        sys/arch/sparc64/sparc64: locore.s pmap.c 

Log message:
The parking mutex uses data structures on the stack and expects CPUs to be
able to modify that data for other CPUs.  Unfortunately on some sparc64
systems (sun4u systems that don't use Fujitsu SPARC64 CPUs) use a trick
where the interrupt stack is mapped using a fixed alias on each CPU.  This
means a CPU can only access its own interrupt stack.  Fix this by using
the "real" address of the interrupt stack.  We still need the fixed alias
though to find our own "struct cpu_info" on these systems.  So on
MULTIPROCESSOR kernel we need to use another locked TLB entry.

tested by bluhm@, claudio@, tb@, jca@, dlg@
ok dlg@, jca@

Reply via email to