[PATCH] powerpc: Export kvm_guest static key, for bcachefs six locks
Michael Ellerman
mpe at ellerman.id.au
Thu Sep 14 12:26:53 AEST 2023
Kent Overstreet <kent.overstreet at linux.dev> writes:
> bcachefs's six locks need kvm_guest, via
> ower_on_cpu() -> vcpu_is_preempted() -> is_kvm_guest()
>
> Signed-off-by: Kent Overstreet <kent.overstreet at linux.dev>
> Cc: linuxppc-dev at lists.ozlabs.org
> ---
> arch/powerpc/kernel/firmware.c | 2 ++
> 1 file changed, 2 insertions(+)
Acked-by: Michael Ellerman <mpe at ellerman.id.au> (powerpc)
I'm happy for you to take this via your tree.
cheers
> diff --git a/arch/powerpc/kernel/firmware.c b/arch/powerpc/kernel/firmware.c
> index 20328f72f9f2..8987eee33dc8 100644
> --- a/arch/powerpc/kernel/firmware.c
> +++ b/arch/powerpc/kernel/firmware.c
> @@ -23,6 +23,8 @@ EXPORT_SYMBOL_GPL(powerpc_firmware_features);
>
> #if defined(CONFIG_PPC_PSERIES) || defined(CONFIG_KVM_GUEST)
> DEFINE_STATIC_KEY_FALSE(kvm_guest);
> +EXPORT_SYMBOL_GPL(kvm_guest);
> +
> int __init check_kvm_guest(void)
> {
> struct device_node *hyper_node;
> --
> 2.40.1
More information about the Linuxppc-dev
mailing list