]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/xics/opal: Fix processor numbers in OPAL ICP
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 6 Sep 2016 03:43:45 +0000 (13:43 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 6 Sep 2016 04:54:45 +0000 (14:54 +1000)
commit808eaa0624821e10be4610842ed3705c884e09af
treeb781bd8b167912f3aa1a44c5319ae6035ec2952a
parent5cd78675c2266c5c307700c2b12b8a7eaa71523b
powerpc/xics/opal: Fix processor numbers in OPAL ICP

When using the OPAL ICP backend we incorrectly pass Linux CPU numbers
rather than HW CPU numbers to OPAL.

Fixes: a91df3e51bb8 ("powerpc/xics: Add ICP OPAL backend")
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/xics/icp-opal.c