[parisc-linux-cvs] linux grundler
Grant Grundler
grundler@puffin.external.hp.com
Wed, 7 Feb 2001 23:52:52 -0700
CVSROOT: /home/cvs/parisc
Module name: linux
Changes by: grundler 01/02/07 23:52:52
Modified files:
arch/parisc64/kernel: head.S
Log message:
Puts PDC_PSW call to SET_PSW_DEFAULTS in the common Monarch/Slave
boot path. This is needed for SMP since the PD_PSW call only acts
on the CPU making the call. The CPU must have this set before the
first trap oocurs. The first trap occurs on the RFI that brings
us into virtual mode (start_parisc() for Monarch or smp_call_in()
for slave CPUs).
PALO currently calls PDC_PSW for the kernel. Paul Bame agrees it
might be better (for SMP support) if the OS always did it.
Code tested on A500 with and without CONFIG_SMP.
Previous versions tested on C3K and the PDC_PSW call worked.
(recent cleanups involve %sp setup for slave CPU)