]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Add PDC locking functions for rendezvous code
authorHelge Deller <deller@gmx.de>
Tue, 29 Mar 2022 12:15:29 +0000 (14:15 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 29 Mar 2022 19:37:12 +0000 (21:37 +0200)
commitff83112ca4dc8edaeeea56fd1564c819484365e5
tree36b7cf9d67d48b39850a6585e15343da2361066c
parent0429716f97ac994e457da3ee8a385b3137dea5b0
parisc: Add PDC locking functions for rendezvous code

Add pdc_cpu_rendezvous_lock() and pdc_cpu_rendezvous_unlock()
to lock PDC while CPU is transitioning into rendezvous state.
This is needed, because the transition phase may take up to 8 seconds.

Add pdc_pat_get_PDC_entrypoint() to get PDC entry point for current CPU.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/pdc.h
arch/parisc/include/asm/pdcpat.h
arch/parisc/kernel/firmware.c