]> xenbits.xensource.com Git - xen.git/commit
xen arm/arm64: minor improvement in smp_send_call_function_mask()
authorAnup Patel <anup.patel@linaro.org>
Mon, 25 Aug 2014 10:18:40 +0000 (15:48 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 26 Aug 2014 20:31:29 +0000 (21:31 +0100)
commit95f7ed9abb71b897c70893aaa9c4f413aa4b487e
tree2dc532060e64b00d013fc9f347fc400c68eda315
parent986aea7fbe3c6ff3c4d2312ca8a4365930401e40
xen arm/arm64: minor improvement in smp_send_call_function_mask()

Currently, smp_send_call_function_mask() function implemented
by xen arm/arm64 will use IPI to call function on current CPU.

This means that current smp_send_call_function_mask() will do
the following on current CPU:
Trigger SGI for current CPU => Xen takes interrupt on current CPU
=> IPI interrupt handler will call smp_call_function_interrupt()

This patch improves the above by straight away calling
smp_call_function_interrupt() for current CPU. This is very
similar to smp_send_call_function_mask() implemented by Xen x86.

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Acked-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/smp.c