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)
commit308fc4f8e10b5239cde46104bb9fca79b46230c8
tree34b0db6cf863af99453094a922c071c44b46450e
parent9ee820fa005254dfc816330f6654f14dcb2beee1
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