[PATCH] kvm: powerpc: book3s: use local_paca instead of get_paca

Michael Ellerman mpe at ellerman.id.au
Tue Apr 25 20:42:41 AEST 2017


Denis Kirjanov <kda at linux-powerpc.org> writes:

> On 3/29/17, Denis Kirjanov <kda at linux-powerpc.org> wrote:
>> with CONFIG_DEBUG_PREEMPT get_paca produces the following warning
>> in kvmppc_book3s_init_hv since we are getting into the
>> smp_processor_id debugging code
>>
>> There is no real issue with the xics_phys field.
>> If paca->kvm_hstate.xics_phys is non-zero on one cpu, it will be
>> non-zero on them all.  Therefore this is not fixing any actual
>> problem, just the warning.
>
> Hey Michael,
>
> are you going to take the patch?

It's in KVM code, so technically Paul should take it.

I'll see if it is likely to conflict with anything in his tree and if
not I'll merge it.

cheers


More information about the Linuxppc-dev mailing list