OpenCloudOS-Kernel/arch/powerpc/sysdev/xics
Suresh Warrier ec13e9b6b1 powerpc/xics: Add icp_native_cause_ipi_rm
Function to cause an IPI by directly updating the MFFR register
in the XICS. The function is meant for real-mode callers since
they cannot use the smp_ops->cause_ipi function which uses an
ioremapped address.

Normal usage is for the the KVM real mode code to set the IPI message
using smp_muxed_ipi_message_pass and then invoke icp_native_cause_ipi_rm
to cause the actual IPI.

The function requires kvm_hstate.xics_phys to have been initialized
with the physical address of XICS.

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>
2016-02-29 16:25:06 +11:00
..
Kconfig powerpc: Add kconfig for muxed smp ipi support 2011-05-19 15:31:05 +10:00
Makefile powerpc/powernv: Add OPAL ICS backend 2011-09-20 16:09:59 +10:00
icp-hv.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
icp-native.c powerpc/xics: Add icp_native_cause_ipi_rm 2016-02-29 16:25:06 +11:00
ics-opal.c powerpc, irq: Use access helper irq_data_get_affinity_mask() 2015-09-15 17:06:28 +02:00
ics-rtas.c powerpc, irq: Use access helper irq_data_get_affinity_mask() 2015-09-15 17:06:28 +02:00
xics-common.c genirq/irqdomain: Allow irq domain aliasing 2015-07-30 00:14:36 +02:00