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)
commitf8e33475b0da98c4bffc91017a3fbbfb443a7bdb
treeb781bd8b167912f3aa1a44c5319ae6035ec2952a
parentd81d8258218228d3137055afe8acf981c3ebed46
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: d74361881f0d ("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