mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
b9f1cd71db
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> |
||
---|---|---|
.. | ||
corenet_ds.c | ||
corenet_ds.h | ||
Kconfig | ||
ksi8560.c | ||
Makefile | ||
mpc85xx_ads.c | ||
mpc85xx_cds.c | ||
mpc85xx_ds.c | ||
mpc85xx_mds.c | ||
mpc85xx_rdb.c | ||
mpc8536_ds.c | ||
p4080_ds.c | ||
sbc8548.c | ||
sbc8560.c | ||
smp.c | ||
socrates_fpga_pic.c | ||
socrates_fpga_pic.h | ||
socrates.c | ||
stx_gp3.c | ||
tqm85xx.c | ||
xes_mpc85xx.c |