aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal-xscom.c
Commit message (Collapse)AuthorAge
* powerpc/powernv: Add support for indirect XSCOM via debugfsBenjamin Herrenschmidt2013-11-05
| | | | | | | | Indirect XSCOM addresses normally have the top bit set (of the 64-bit address). This doesn't work via the normal debugfs interface, so we use a different encoding, which we need to convert before calling OPAL. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* powerpc/scom: Enable 64-bit addressesBenjamin Herrenschmidt2013-11-05
| | | | | | | | On P8, XSCOM addresses has a special "indirect" form that requires more than 32-bits, so let's use u64 everywhere in the code instead of u32. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* powerpc/powernv: Add scom support under OPALv3Benjamin Herrenschmidt2013-10-11
OPAL v3 provides interfaces to access the chips XSCOM, expose this via the existing scom infrastructure. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>