Excerpts from Alexey Kardashevskiy's message of March 26, 2021 12:05 pm: > > > On 23/03/2021 12:02, Nicholas Piggin wrote: >> On processors that don't suppress the HDEC exceptions when LPCR[HDICE]=0, >> this could help reduce needless guest exits due to leftover exceptions on >> entering the guest. >> >> Reviewed-by: Alexey Kardashevskiy <aik@xxxxxxxxx> >> Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx> > > > ERROR: modpost: "decrementer_max" [arch/powerpc/kvm/kvm-hv.ko] undefined! > > > need this: > > --- a/arch/powerpc/kernel/time.c > +++ b/arch/powerpc/kernel/time.c > @@ -89,6 +89,7 @@ static struct clocksource clocksource_timebase = { > > #define DECREMENTER_DEFAULT_MAX 0x7FFFFFFF > u64 decrementer_max = DECREMENTER_DEFAULT_MAX; > +EXPORT_SYMBOL_GPL(decrementer_max); Added. Thanks, Nick