linux_dsm_epyc7002/arch/powerpc/platforms/85xx
Benjamin Herrenschmidt b9f1cd71db powerpc/book3e: More doorbell cleanups. Sample the PIR register
The doorbells use the content of the PIR register to match messages
from other CPUs. This may or may not be the same as our linux CPU
number, so using that as the "target" is no right.

Instead, we sample the PIR register at boot on every processor
and use that value subsequently when sending IPIs.

We also use a per-cpu message mask rather than a global array which
should limit cache line contention.

Note: We could use the CPU number in the device-tree instead of
the PIR register, as they are supposed to be equivalent. This
might prove useful if doorbells are to be used to kick CPUs out
of FW at boot time, thus before we can sample the PIR. This is
however not the case now and using the PIR just works.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-07-09 15:29:53 +10:00
..
corenet_ds.c powerpc/p4080: Add basic support for p4080ds platform 2009-11-20 16:45:38 -06:00
corenet_ds.h powerpc/p4080: Add basic support for p4080ds platform 2009-11-20 16:45:38 -06:00
Kconfig powerpc/85xx/86xx: Fix build w/ CONFIG_PCI=n 2010-04-19 23:12:21 -05:00
ksi8560.c powerpc/85xx: Move gianfar mdio nodes under the ethernet nodes 2009-03-24 08:35:13 -05:00
Makefile powerpc/p4080: Add basic support for p4080ds platform 2009-11-20 16:45:38 -06:00
mpc85xx_ads.c powerpc/85xx: Move gianfar mdio nodes under the ethernet nodes 2009-03-24 08:35:13 -05:00
mpc85xx_cds.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask 2009-03-30 18:00:26 -07:00
mpc85xx_ds.c powerpc: Remove swiotlb_pci_dma_ops 2009-08-28 14:24:09 +10:00
mpc85xx_mds.c powerpc/85xx: Add P1021MDS board support 2010-05-24 21:29:25 -05:00
mpc85xx_rdb.c powerpc/85xx: Added P1020RDB Platform support. 2009-11-11 21:43:16 -06:00
mpc8536_ds.c powerpc: Remove swiotlb_pci_dma_ops 2009-08-28 14:24:09 +10:00
p4080_ds.c powerpc/p4080: Add basic support for p4080ds platform 2009-11-20 16:45:38 -06:00
sbc8548.c powerpc/85xx: Move gianfar mdio nodes under the ethernet nodes 2009-03-24 08:35:13 -05:00
sbc8560.c powerpc/85xx: sbc8560 - Fix warm reboot with board specific reset function 2009-08-24 20:48:12 -05:00
smp.c powerpc/book3e: More doorbell cleanups. Sample the PIR register 2010-07-09 15:29:53 +10:00
socrates_fpga_pic.c powerpc/85xx: Convert socrates_fpga_pic_lock to raw_spinlock 2010-03-04 10:42:57 -06:00
socrates_fpga_pic.h powerpc/85xx: Add support for the "socrates" board (MPC8544). 2009-03-27 06:42:08 -05:00
socrates.c powerpc/85xx: Stop using ppc_md.init on socrates 2009-06-23 08:09:55 -05:00
stx_gp3.c powerpc: Remove trailing space in messages 2010-02-09 13:56:23 +11:00
tqm85xx.c powerpc/85xx: Move gianfar mdio nodes under the ethernet nodes 2009-03-24 08:35:13 -05:00
xes_mpc85xx.c of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00