powerpc/powernv: Add opal-prd channel
authorJeremy Kerr <jk@ozlabs.org>
Thu, 4 Jun 2015 13:51:47 +0000 (21:51 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 4 Jun 2015 22:32:21 +0000 (08:32 +1000)
commit0d7cd8550d30906c7461ced654306da30f1590e2
tree006328e5709454b87b8834df552dc3dd229119f9
parent594fcb9ec9e17215b4f98b5d40ba5e3af618ba82
powerpc/powernv: Add opal-prd channel

This change adds a char device to access the "PRD" (processor runtime
diagnostics) channel to OPAL firmware.

Includes contributions from Vaidyanathan Srinivasan, Neelesh Gupta &
Vishal Kulkarni.

Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/opal-api.h
arch/powerpc/include/asm/opal.h
arch/powerpc/include/uapi/asm/opal-prd.h [new file with mode: 0644]
arch/powerpc/platforms/powernv/Kconfig
arch/powerpc/platforms/powernv/Makefile
arch/powerpc/platforms/powernv/opal-prd.c [new file with mode: 0644]
arch/powerpc/platforms/powernv/opal-wrappers.S
arch/powerpc/platforms/powernv/opal.c