linux-stable/arch/powerpc/sysdev/xics
Nicholas Piggin d2e60075a3 powerpc/64: Use array of paca pointers and allocate pacas individually
Change the paca array into an array of pointers to pacas. Allocate
pacas individually.

This allows flexibility in where the PACAs are allocated. Future work
will allocate them node-local. Platforms that don't have address limits
on PACAs would be able to defer PACA allocations until later in boot
rather than allocate all possible ones up-front then freeing unused.

This is slightly more overhead (one additional indirection) for cross
CPU paca references, but those aren't too common.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-03-30 23:34:23 +11:00
..
icp-hv.c powerpc: Change the doorbell IPI calling convention 2017-04-13 23:34:33 +10:00
icp-native.c powerpc/64: Use array of paca pointers and allocate pacas individually 2018-03-30 23:34:23 +11:00
icp-opal.c powerpc: Change the doorbell IPI calling convention 2017-04-13 23:34:33 +10:00
ics-opal.c powerpc: Use pr_warn instead of pr_warning 2017-12-04 11:54:34 +11:00
ics-rtas.c powerpc: Use pr_warn instead of pr_warning 2017-12-04 11:54:34 +11:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xics-common.c powerpc: Use pr_warn instead of pr_warning 2017-12-04 11:54:34 +11:00