]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Make the delay for PE reset unified
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 24 Apr 2014 08:00:23 +0000 (18:00 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 07:34:48 +0000 (17:34 +1000)
commit3fb41b3f11b3fc322ad01ce9570e86ac3f5c8970
tree5cb9346366dd79cbf15de078b503fec369229428
parent36d5819b8dc501f4ad0e4fbe679c3953176b4e4e
powerpc/eeh: Make the delay for PE reset unified

Basically, we have 3 types of resets to fulfil PE reset: fundamental,
hot and PHB reset. For the later 2 cases, we need PCI bus reset hold
and settlement delay as specified by PCI spec. PowerNV and pSeries
platforms are running on top of different firmware and some of the
delays have been covered by underly firmware (PowerNV).

The patch makes the delays unified to be done in backend, instead of
EEH core.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh.c
arch/powerpc/platforms/powernv/eeh-ioda.c
arch/powerpc/platforms/pseries/eeh_pseries.c