Skip to content

Commit

Permalink
powerpc/e500/qemu-e500: allow core to idle without waiting
Browse files Browse the repository at this point in the history
This means an idle guest won't needlessly consume an entire core on
the host, waiting for work to show up.

Signed-off-by: Tobias Waldekranz <[email protected]>
Signed-off-by: Joachim Wiberg <[email protected]>
Acked-by: Scott Wood <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
wkz authored and mpe committed Jan 31, 2022
1 parent b2a6f60 commit f529edd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/powerpc/platforms/85xx/qemu_e500.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,9 @@ define_machine(qemu_e500) {
.get_irq = mpic_get_coreint_irq,
.calibrate_decr = generic_calibrate_decr,
.progress = udbg_progress,
#ifdef CONFIG_PPC64
.power_save = book3e_idle,
#else
.power_save = e500_idle,
#endif
};

0 comments on commit f529edd

Please sign in to comment.