[PATCH] powerpc/xive: use hw CPU ids when configuring the CPU queues

Michael Ellerman mpe at ellerman.id.au
Wed Feb 14 16:55:40 AEDT 2018


Cédric Le Goater <clg at kaod.org> writes:

> On 02/13/2018 10:18 AM, Michael Ellerman wrote:
>> Cédric Le Goater <clg at kaod.org> writes:
>> 
>>> The CPU event notification queues on sPAPR should be configured using
>>> a hardware CPU identifier.
>>>
>>> The problem did not show up on the Power Hypervisor because pHyp
>>> supports 8 threads per core which keeps CPU number contiguous. This is
>>> not the case on all sPAPR virtual machines, some use SMT=1.
>>>
>>> Also improve error logging by adding the CPU number.
>>>
>>> Signed-off-by: Cédric Le Goater <clg at kaod.org>
>>> ---
>>>
>>>  I think we should send this one to stable also.
>> 
>> Fixes: eac1e731b59e ("powerpc/xive: guest exploitation of the XIVE interrupt controller")
>
> yes.
>
>> Cc: stable at vger.kernel.org # v4.14+
>
> yes. I just added the Cc:. I am not sure that will work with 
> patchwork though.

They don't accept patches that way.

I'll add the tags and commit it.

cheers


More information about the Linuxppc-dev mailing list