[PATCH v4 24/46] KVM: PPC: Book3S HV P9: Use large decrementer for HDEC
Nicholas Piggin
npiggin at gmail.com
Thu Apr 1 21:14:20 AEDT 2021
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 at ozlabs.ru>
>> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
>
>
> 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
More information about the Linuxppc-dev
mailing list