diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-04-09 19:34:03 +1000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-04-18 14:07:52 +0200 |
commit | 471ba0e686cb13752bc1ff3216c54b69a2d250ea (patch) | |
tree | 23268643553d24fd331f93c268e1aacc5b14a1df /include/linux/avf | |
parent | 2d65c42b43e53d61f1fd6b8d0a097451a4cffa24 (diff) | |
download | linux-471ba0e686cb13752bc1ff3216c54b69a2d250ea.tar.gz linux-471ba0e686cb13752bc1ff3216c54b69a2d250ea.tar.bz2 linux-471ba0e686cb13752bc1ff3216c54b69a2d250ea.zip |
irq_work: Do not raise an IPI when queueing work on the local CPU
The QEMU PowerPC/PSeries machine model was not expecting a self-IPI,
and it may be a bit surprising thing to do, so have irq_work_queue_on
do local queueing when target is the current CPU.
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= <clg@kaod.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190409093403.20994-1-npiggin@gmail.com
[ Simplified the preprocessor comments.
Fixed unbalanced curly brackets pointed out by Thomas. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/avf')
0 files changed, 0 insertions, 0 deletions