summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/Kconfig
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-11-04 13:20:35 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-11-06 14:13:50 +1100
commitcda13552d5055a87dd39334dabf47249b01fc5aa (patch)
tree411f67ed12f3dae298eec8d086804bad38441277 /arch/powerpc/sysdev/Kconfig
parentd7a88c7eb46acb486922822eec3224c0bcab29dc (diff)
downloadlinux-cda13552d5055a87dd39334dabf47249b01fc5aa.tar.bz2
powerpc/scom: Improve debugfs interface
The current debugfs interface to scom is essentially unused and racy. It uses two different files "address" and "data" to perform accesses which is at best impractical for anything but manual use by a developer. This replaces it with an "access" file which represent the entire scom address space which can be lseek/read/writen too. This file only supports accesses that are 8 bytes aligned and multiple of 8 bytes in size. The offset is logically the SCOM address multiplied by 8. Since nothing in userspace exploits that file at the moment, the ABI change is a no-brainer. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/Kconfig')
0 files changed, 0 insertions, 0 deletions