summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2016-02-09 18:17:48 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-02-09 20:27:04 +1100
commit9b4fffa14906fce7aabf1f032ddd7efc7a031bba (patch)
treeecf6a730de9265a94f7760440953af1f1a00d8e8 /arch/powerpc/xmon
parent31f6a4ada14de04ee6cd7ff03c8b6b5e282a13f0 (diff)
powerpc/powernv: new function to access OPAL msglog
Currently, the OPAL msglog/console buffer is exposed as a sysfs file, with the sysfs read handler responsible for retrieving the log from the OPAL buffer. We'd like to be able to use it in xmon as well. Refactor the OPAL msglog code to create a new function, opal_msglog_copy(), that copies to an arbitrary buffer. Separate the initialisation code into generic memcons init and sysfs file creation. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/xmon')
0 files changed, 0 insertions, 0 deletions