* [RFC PATCH v3 07/19] smp, hexagon: kill SMP single function call interrupt
[not found] <1386173591-28514-1-git-send-email-liuj97@gmail.com>
@ 2013-12-04 16:12 ` Jiang Liu
2013-12-05 1:42 ` rkuo
0 siblings, 1 reply; 2+ messages in thread
From: Jiang Liu @ 2013-12-04 16:12 UTC (permalink / raw)
To: Andrew Morton, Shaohua Li, Richard Kuo, Thomas Gleixner,
Paul Gortmaker, Srivatsa S. Bhat, linux-hexagon, linux-kernel
Cc: Jiang Liu, Ingo Molnar, Peter Zijlstra, Steven Rostedt,
Jiri Kosina, Wang YanQing, linux-arch
Commit 9a46ad6d6df3b54 "smp: make smp_call_function_many() use logic
similar to smp_call_function_single()" has unified the way to handle
single and multiple cross-CPU function calls. Now only one intterupt
is needed for architecture specific code to support generic SMP function
call interfaces, so kill the redundant single function call interrupt.
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Shaohua Li <shli@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: linux-hexagon@vger.kernel.org
Signed-off-by: Jiang Liu <liuj97@gmail.com>
---
arch/hexagon/include/asm/smp.h | 1 -
arch/hexagon/kernel/smp.c | 6 +-----
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/hexagon/include/asm/smp.h b/arch/hexagon/include/asm/smp.h
index 2b9b974..ca171c1 100644
--- a/arch/hexagon/include/asm/smp.h
+++ b/arch/hexagon/include/asm/smp.h
@@ -29,7 +29,6 @@ enum ipi_message_type {
IPI_NOP = 0,
IPI_RESCHEDULE = 1,
IPI_CALL_FUNC,
- IPI_CALL_FUNC_SINGLE,
IPI_CPU_STOP,
IPI_TIMER,
};
diff --git a/arch/hexagon/kernel/smp.c b/arch/hexagon/kernel/smp.c
index 9faaa94..ff759f2 100644
--- a/arch/hexagon/kernel/smp.c
+++ b/arch/hexagon/kernel/smp.c
@@ -64,10 +64,6 @@ static inline void __handle_ipi(unsigned long *ops, struct ipi_data *ipi,
generic_smp_call_function_interrupt();
break;
- case IPI_CALL_FUNC_SINGLE:
- generic_smp_call_function_single_interrupt();
- break;
-
case IPI_CPU_STOP:
/*
* call vmstop()
@@ -248,7 +244,7 @@ void smp_send_stop(void)
void arch_send_call_function_single_ipi(int cpu)
{
- send_ipi(cpumask_of(cpu), IPI_CALL_FUNC_SINGLE);
+ send_ipi(cpumask_of(cpu), IPI_CALL_FUNC);
}
void arch_send_call_function_ipi_mask(const struct cpumask *mask)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC PATCH v3 07/19] smp, hexagon: kill SMP single function call interrupt
2013-12-04 16:12 ` [RFC PATCH v3 07/19] smp, hexagon: kill SMP single function call interrupt Jiang Liu
@ 2013-12-05 1:42 ` rkuo
0 siblings, 0 replies; 2+ messages in thread
From: rkuo @ 2013-12-05 1:42 UTC (permalink / raw)
To: Jiang Liu
Cc: Andrew Morton, Shaohua Li, Thomas Gleixner, Paul Gortmaker,
Srivatsa S. Bhat, linux-hexagon, linux-kernel, Ingo Molnar,
Peter Zijlstra, Steven Rostedt, Jiri Kosina, Wang YanQing,
linux-arch
On Thu, Dec 05, 2013 at 12:12:58AM +0800, Jiang Liu wrote:
> Commit 9a46ad6d6df3b54 "smp: make smp_call_function_many() use logic
> similar to smp_call_function_single()" has unified the way to handle
> single and multiple cross-CPU function calls. Now only one intterupt
> is needed for architecture specific code to support generic SMP function
> call interfaces, so kill the redundant single function call interrupt.
>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Shaohua Li <shli@kernel.org>
> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Cc: Ingo Molnar <mingo@elte.hu>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Cc: Jiri Kosina <trivial@kernel.org>
> Cc: Richard Kuo <rkuo@codeaurora.org>
> Cc: linux-hexagon@vger.kernel.org
> Signed-off-by: Jiang Liu <liuj97@gmail.com>
> ---
> arch/hexagon/include/asm/smp.h | 1 -
> arch/hexagon/kernel/smp.c | 6 +-----
> 2 files changed, 1 insertion(+), 6 deletions(-)
Seems to work fine for Hexagon. Thanks!
Acked-by: Richard Kuo <rkuo@codeaurora.org>
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-05 1:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1386173591-28514-1-git-send-email-liuj97@gmail.com>
2013-12-04 16:12 ` [RFC PATCH v3 07/19] smp, hexagon: kill SMP single function call interrupt Jiang Liu
2013-12-05 1:42 ` rkuo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).