[PATCH] powerpc/pseries: energy driver only print message when LPAR guest

Michael Ellerman mpe at ellerman.id.au
Thu Jul 20 23:03:21 AEST 2017


Nicholas Piggin <npiggin at gmail.com> writes:

> This driver currently reports the H_BEST_ENERGY is unsupported even
> when booting in a non-LPAR environment (e.g., powernv). Prevent it.

Just delete the printk(). Users don't know what that means, and
developers have other better ways to detect that the hcall is missing if
anyone cares.

cheers


More information about the Linuxppc-dev mailing list