]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/eeh: Propagate needs_freset flag to device at PE
authorRichard A Lary <rlary@linux.vnet.ibm.com>
Fri, 22 Apr 2011 09:59:47 +0000 (09:59 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 4 May 2011 06:02:36 +0000 (16:02 +1000)
commit2b129f3ff40bc02de15055eaf620b2230ca427ec
tree34b0db6cf863af99453094a922c071c44b46450e
parent391c4e4cd3a5bcf634b1c104ed95509865dde3d7
powerpc/pseries/eeh: Propagate needs_freset flag to device at PE

  For multifunction adapters with a PCI bridge or switch as the device
  at the Partitionable Endpoint(PE), if one or more devices below PE
  sets dev->needs_freset, that value will be set for the PE device.

  In other words, if any device below PE requires a fundamental reset
  the PE will request a fundamental reset.

Signed-off-by: Richard A Lary <rlary@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/eeh.c