[PATCH] selftests/powerpc: Skip energy_scale_info test on older firmware
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Jun 29 22:15:28 AEST 2022
On Mon, 20 Jun 2022 09:31:03 +1000, Michael Ellerman wrote:
> Older machines don't have the firmware feature that enables the code
> this test is testing. Skip the test if the sysfs directory doesn't
> exist. Also use the FAIL_IF() macro to provide more verbose error
> reporting if an error is encountered.
>
>
Applied to powerpc/next.
[1/1] selftests/powerpc: Skip energy_scale_info test on older firmware
https://git.kernel.org/powerpc/c/4228a996b072d36f3baafb4afdc2d2d66d2cbadf
cheers
More information about the Linuxppc-dev
mailing list