tile: support arch_irq_work_raise
Tile includes a hypervisor hook to deliver messages to arbitrary tiles, so we can use that to raise an interrupt as soon as possible on our own core. Unfortunately the Tilera hypervisor disabled that support on principle in previous releases, but it will be available in MDE 4.3.4 and later. Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
This commit is contained in:
@@ -69,6 +69,7 @@ static inline int xy_to_cpu(int x, int y)
|
||||
#define MSG_TAG_STOP_CPU 2
|
||||
#define MSG_TAG_CALL_FUNCTION_MANY 3
|
||||
#define MSG_TAG_CALL_FUNCTION_SINGLE 4
|
||||
#define MSG_TAG_IRQ_WORK 5
|
||||
|
||||
/* Hook for the generic smp_call_function_many() routine. */
|
||||
static inline void arch_send_call_function_ipi_mask(struct cpumask *mask)
|
||||
|
||||
Reference in New Issue
Block a user