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-17 10:34:23 +0100 |
commit | 6cd712f95027f0d158aeb7548e319b0a847b1d3d (patch) | |
tree | c571edb4e929c106ea068703862188260aa0f054 | |
parent | c93944e3c02a092542e9a6d56613455cef0dfe6b (diff) | |
download | skiboot-6cd712f95027f0d158aeb7548e319b0a847b1d3d.zip skiboot-6cd712f95027f0d158aeb7548e319b0a847b1d3d.tar.gz skiboot-6cd712f95027f0d158aeb7548e319b0a847b1d3d.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>
-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) { |