[PATCH] powerpc/pseries: Avoid hcall in plpks_is_available() on non-pseries
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Feb 24 13:24:36 AEDT 2023
On Wed, 22 Feb 2023 13:17:08 +1100, Russell Currey wrote:
> plpks_is_available() can be called on any platform via kexec but calls
> _plpks_get_config() which makes a hcall, which will only work on pseries.
> Fix this by returning early in plpks_is_available() if hcalls aren't
> possible.
>
>
Applied to powerpc/next.
[1/1] powerpc/pseries: Avoid hcall in plpks_is_available() on non-pseries
https://git.kernel.org/powerpc/c/f82cdc37c4bd4ba905bf99ade9782a639b5c12e9
cheers
More information about the Linuxppc-dev
mailing list