summaryrefslogtreecommitdiff
path: root/arch/powerpc/configs/pseries_defconfig
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-03-24 13:20:56 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-03-28 02:52:03 +0300
commit517c27570cf38f182e7a688d50a9b978333f8ea8 (patch)
treed25bc3ab29f42b018b0662563e54754271e9f603 /arch/powerpc/configs/pseries_defconfig
parentc3a08e93d66e9ba59ffbfb610af2f76b82200185 (diff)
downloadlinux-517c27570cf38f182e7a688d50a9b978333f8ea8.tar.xz
powerpc/powernv: Fix XSCOM address mangling for form 1 indirect
POWER9 adds form 1 scoms. The form of the indirection is specified in the top nibble of the scom address. Currently we do some (ugly) bit mangling so that we can fit a 64 bit scom address into the debugfs interface. The current code only shifts the top bit (indirect bit). This patch changes it to shift the whole top nibble so that the form of the indirection is also shifted. This patch is backwards compatible with older scoms. (This change isn't required in the arch/powerpc/platforms/powernv/opal-prd.c scom interface as it passes the whole 64bit scom address without any bit mangling) Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/configs/pseries_defconfig')
0 files changed, 0 insertions, 0 deletions