]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Add ultravisor message log interface
authorClaudio Carvalho <cclaudio@linux.ibm.com>
Wed, 28 Aug 2019 13:05:21 +0000 (23:05 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 29 Aug 2019 23:40:16 +0000 (09:40 +1000)
commitb79265403b16f8d93e6223b23cfed8ff66238405
treeccd4c44f35735eb9bc9510fcde4f99cde4c2848f
parent37336e7096da0c89576b7de0a01c5777eafe3bed
powerpc/powernv: Add ultravisor message log interface

The ultravisor (UV) provides an in-memory console which follows the
OPAL in-memory console structure.

This patch extends the OPAL msglog code to initialize the UV memory
console and provide the "/sys/firmware/ultravisor/msglog" interface
for userspace to view the UV message log.

Signed-off-by: Claudio Carvalho <cclaudio@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Claudio Carvalho <cclaudio@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190828130521.26764-2-mpe@ellerman.id.au
arch/powerpc/platforms/powernv/powernv.h
arch/powerpc/platforms/powernv/ultravisor.c