summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/xilinx_pci.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2018-02-13 09:47:12 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-02-15 09:54:43 +1100
commit8e036c8d30a2cd9d8fc7442fbf6824e0a3e986e7 (patch)
tree0f10218268c499d95583f3600efa535031bbca82 /arch/powerpc/sysdev/xilinx_pci.c
parentc134f0d57a47b7f8704dee1cefc246f9471f3e80 (diff)
powerpc/xive: Use hw CPU ids when configuring the CPU queues
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. Fixes: eac1e731b59e ("powerpc/xive: guest exploitation of the XIVE interrupt controller") Cc: stable@vger.kernel.org # v4.14+ Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/xilinx_pci.c')
0 files changed, 0 insertions, 0 deletions