]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Check if secondary CPUs want own PDC calls
authorHelge Deller <deller@gmx.de>
Fri, 12 Jan 2018 21:51:22 +0000 (22:51 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 2 Mar 2018 09:04:46 +0000 (10:04 +0100)
commit30bb54a03de8d407571d34be5179f941e14e88c1
tree97a87552f61c8f9575e10dc9f46fbed93d0ce893
parent2effc24a2de1b021d125cebccf4e5d95ca1d8309
parisc: Check if secondary CPUs want own PDC calls

The architecture specification says (for 64-bit systems): PDC is a per
processor resource, and operating system software must be prepared to
manage separate pointers to PDCE_PROC for each processor.  The address
of PDCE_PROC for the monarch processor is stored in the Page Zero
location MEM_PDC. The address of PDCE_PROC for each non-monarch
processor is passed in gr26 when PDCE_RESET invokes OS_RENDEZ.

Currently we still use one PDC for all CPUs, but in case we face a
machine which is following the specification let's warn about it.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/head.S
arch/parisc/kernel/smp.c