powerpc/pseries: Add a warning in the case of cross-cpu VPA registration
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 15 Aug 2013 05:22:15 +0000 (15:22 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 27 Aug 2013 04:44:28 +0000 (14:44 +1000)
commitb89bdfb8deb0cac5141f54806e406e5888175c80
treecdd1cb4874fb8661e44c8479a1fc591fe1fa6e63
parent380a0b3535b09ea6fe580f9cb6f28ca168f14abc
powerpc/pseries: Add a warning in the case of cross-cpu VPA registration

The spec says it "may be problematic" if CPU x registers the VPA of
CPU y. Add a warning in case we ever do that.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/lpar.c