diff options
author | Mike Mason <mmlnx@us.ibm.com> | 2009-07-30 18:33:21 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-09 16:29:37 -0400 |
commit | 260d703adc5f275e3ba7ddff6e2e0217bc613b35 (patch) | |
tree | b91dbf65c67dcd1d7349e5b8df6128ffcd1389c4 /include/linux/pci.h | |
parent | deb2d2ecd43dfc51efe71eed7128fda514da96c6 (diff) |
PCI: support for PCI Express fundamental reset
This is the first of three patches that implement a bit field that PCI
Express device drivers can use to indicate they need a fundamental reset
during error recovery.
By default, the EEH framework on powerpc does what's known as a "hot
reset" during recovery of a PCI Express device. We've found a case
where the device needs a "fundamental reset" to recover properly. The
current PCI error recovery and EEH frameworks do not support this
distinction.
The attached patch (courtesy of Richard Lary) adds a bit field to
pci_dev that indicates whether the device requires a fundamental reset
during recovery.
These patches supersede the previously submitted patch that implemented
a fundamental reset bit field.
Signed-off-by: Mike Mason <mmlnx@us.ibm.com>
Signed-off-by: Richard Lary <rlary@us.ibm.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 6dbb1fd30e5a..da90217a7b0e 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -273,6 +273,7 @@ struct pci_dev { | |||
273 | unsigned int ari_enabled:1; /* ARI forwarding */ | 273 | unsigned int ari_enabled:1; /* ARI forwarding */ |
274 | unsigned int is_managed:1; | 274 | unsigned int is_managed:1; |
275 | unsigned int is_pcie:1; | 275 | unsigned int is_pcie:1; |
276 | unsigned int needs_freset:1; /* Dev requires fundamental reset */ | ||
276 | unsigned int state_saved:1; | 277 | unsigned int state_saved:1; |
277 | unsigned int is_physfn:1; | 278 | unsigned int is_physfn:1; |
278 | unsigned int is_virtfn:1; | 279 | unsigned int is_virtfn:1; |