summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/xics
diff options
context:
space:
mode:
authorSuresh Warrier <warrier@linux.vnet.ibm.com>2015-12-17 20:59:04 (GMT)
committerPaul Mackerras <paulus@samba.org>2016-02-29 05:25:06 (GMT)
commit31639c77e0a7f9f742c813ae697f337b44981ed2 (patch)
treefc6afc967e3c321c703d1278761d351cf9733e64 /arch/powerpc/sysdev/xics
parentbd7f561f76563f0b21701628874d8adc863b0c25 (diff)
downloadlinux-31639c77e0a7f9f742c813ae697f337b44981ed2.tar.xz
powerpc/smp: Add smp_muxed_ipi_set_message
smp_muxed_ipi_message_pass() invokes smp_ops->cause_ipi, which uses an ioremapped address to access registers on the XICS interrupt controller to cause the IPI. Because of this real mode callers cannot call smp_muxed_ipi_message_pass() for IPI messaging. This patch creates a separate function smp_muxed_ipi_set_message just to set the IPI message without the cause_ipi routine. After calling this function to set the IPI message, real mode callers must cause the IPI by writing to the XICS registers directly. As part of this, we also change smp_muxed_ipi_message_pass to call smp_muxed_ipi_set_message to set the message instead of doing it directly inside the routine. Signed-off-by: Suresh Warrier <warrier@linux.vnet.ibm.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/xics')
0 files changed, 0 insertions, 0 deletions