diff options
author | Suresh Warrier <warrier@linux.vnet.ibm.com> | 2015-12-17 14:59:03 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2016-02-29 16:25:06 +1100 |
commit | bd7f561f76563f0b21701628874d8adc863b0c25 (patch) | |
tree | 836b532ce16706052af703b1dbab04fa8f4d340f /arch/powerpc/include/asm/smp.h | |
parent | d3695aa4f452bc09c834a5010484f65fca37d87c (diff) | |
download | linux-bd7f561f76563f0b21701628874d8adc863b0c25.tar.gz linux-bd7f561f76563f0b21701628874d8adc863b0c25.tar.bz2 linux-bd7f561f76563f0b21701628874d8adc863b0c25.zip |
powerpc/smp: Support more IPI messages
This patch increases the number of demuxed messages for a
controller with a single ipi to 8 for 64-bit systems.
This is required because we want to use the IPI mechanism
to send messages from a CPU running in KVM real mode in a
guest to a CPU in the host to take some action. Currently,
we only support 4 messages and all 4 are already taken.
Define a fifth message PPC_MSG_RM_HOST_ACTION for this
purpose.
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/include/asm/smp.h')
-rw-r--r-- | arch/powerpc/include/asm/smp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h index 825663c30945..9ef9c37cb398 100644 --- a/arch/powerpc/include/asm/smp.h +++ b/arch/powerpc/include/asm/smp.h @@ -114,6 +114,9 @@ extern int cpu_to_core_id(int cpu); #define PPC_MSG_TICK_BROADCAST 2 #define PPC_MSG_DEBUGGER_BREAK 3 +/* This is only used by the powernv kernel */ +#define PPC_MSG_RM_HOST_ACTION 4 + /* for irq controllers that have dedicated ipis per message (4) */ extern int smp_request_message_ipi(int virq, int message); extern const char *smp_ipi_name[]; |