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

Michael Ellerman patch-notifications at ellerman.id.au
Sun Feb 18 19:55:19 AEDT 2018


On Tue, 2018-02-13 at 08:47:12 UTC, =?utf-8?q?C=C3=A9dric_Le_Goater?= wrote:
> 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>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/8e036c8d30a2cd9d8fc7442fbf6824

cheers


More information about the Linuxppc-dev mailing list