]> git.hungrycats.org Git - linux/commit
powerpc/powernv: Fix indirect XSCOM unmangling
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 28 Feb 2014 05:20:38 +0000 (16:20 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 06:06:21 +0000 (22:06 -0800)
commit8a526d9e7e39bf6edd14cfcfa5ea7e863a94742c
treeb8dca12a7c0c413f718fdffd794e8bd7e0f03e75
parent9ccd6c7ee279b4b7dc092bb9a9eb2dff35c34e16
powerpc/powernv: Fix indirect XSCOM unmangling

commit e0cf957614976896111e676e5134ac98ee227d3d upstream.

We need to unmangle the full address, not just the register
number, and we also need to support the real indirect bit
being set for in-kernel uses.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/powernv/opal-xscom.c