diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-12-17 12:17:20 +1000 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-12-23 18:47:26 +0100 |
commit | f79b5735aa03d6253f2a38e289af242f0100f032 (patch) | |
tree | 072331faebae09dd6782dfb4286b40ffc764f1e4 /core | |
parent | 3e381fcb745c998b5c1e176a976bd46c3659a039 (diff) | |
download | skiboot-f79b5735aa03d6253f2a38e289af242f0100f032.zip skiboot-f79b5735aa03d6253f2a38e289af242f0100f032.tar.gz skiboot-f79b5735aa03d6253f2a38e289af242f0100f032.tar.bz2 |
core/cpu: remove POWER8 IPI loop
POWER8 does not have to loop sending IPIs until the destination wakes
up. cpu_wake() only sends IPI so that should be enough here too.
This will help the next patch make a common IPI sending function.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/cpu.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -609,10 +609,8 @@ static void reconfigure_idle_start(void) if (proc_gen == proc_gen_p8) { for_each_available_cpu(cpu) { - while (cpu->in_sleep || cpu->in_idle) { + if (cpu->in_sleep || cpu->in_idle) icp_kick_cpu(cpu); - cpu_relax(); - } } } else if (proc_gen == proc_gen_p9 || proc_gen == proc_gen_p10) { for_each_available_cpu(cpu) { |