]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Introduce eeh_pe_inject_err()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 26 Mar 2015 05:42:08 +0000 (16:42 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 May 2015 10:33:35 +0000 (20:33 +1000)
commit49b69eb9bfd98356c35b1e51b522fa7e084faf43
tree631d4367a6b9a0231962506744d5ffab9ca1e152
parent8bdc7947455846ae4a89aef05dce0d901a2fd833
powerpc/eeh: Introduce eeh_pe_inject_err()

The patch defines PCI error types and functions in uapi/asm/eeh.h
and exports function eeh_pe_inject_err(), which will be called by
VFIO driver to inject the specified PCI error to the indicated
PE for testing purpose.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/eeh.h
arch/powerpc/include/uapi/asm/eeh.h
arch/powerpc/kernel/eeh.c