]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Use PCI slot reset infrastructure
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Fri, 20 May 2016 06:41:39 +0000 (16:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Jun 2016 05:30:57 +0000 (15:30 +1000)
commit9bbd4c886190f7ca82f1997b06829182be3588ca
tree01b7a346e67f3d5ba1cae7db8d93d683c95732e7
parent9e6986c820181c9abd956ba53c8cc4f3539b8440
powerpc/powernv: Use PCI slot reset infrastructure

The (OPAL) firmware might provide the PCI slot reset capability
which is identified by property "ibm,reset-by-firmware" on the
PCI slot associated device node.

This routes the reset request to firmware if "ibm,reset-by-firmware"
exists in the PCI slot device node. Otherwise, the reset is done
inside kernel as before.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/eeh-powernv.c