diff options
author | Cao jin <caoj.fnst@cn.fujitsu.com> | 2017-03-21 09:24:18 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-03-29 17:51:32 -0400 |
commit | 97e4e959c928963359d79dcea623614db8aabf54 (patch) | |
tree | 30412e091450d3007c7470408abe04f5a812b254 /Documentation/PCI | |
parent | 3bdadc86dca07c792c01b966575f00cfc25da4a3 (diff) |
pci-error-recovery: doc cleanup
Include whitespace shooting; correction; typo fix; superfluous word
dropping.
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/PCI')
-rw-r--r-- | Documentation/PCI/pci-error-recovery.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/PCI/pci-error-recovery.txt b/Documentation/PCI/pci-error-recovery.txt index da3b2176d5da..0b6bb3ef449e 100644 --- a/Documentation/PCI/pci-error-recovery.txt +++ b/Documentation/PCI/pci-error-recovery.txt | |||
@@ -11,7 +11,7 @@ | |||
11 | 11 | ||
12 | Many PCI bus controllers are able to detect a variety of hardware | 12 | Many PCI bus controllers are able to detect a variety of hardware |
13 | PCI errors on the bus, such as parity errors on the data and address | 13 | PCI errors on the bus, such as parity errors on the data and address |
14 | busses, as well as SERR and PERR errors. Some of the more advanced | 14 | buses, as well as SERR and PERR errors. Some of the more advanced |
15 | chipsets are able to deal with these errors; these include PCI-E chipsets, | 15 | chipsets are able to deal with these errors; these include PCI-E chipsets, |
16 | and the PCI-host bridges found on IBM Power4, Power5 and Power6-based | 16 | and the PCI-host bridges found on IBM Power4, Power5 and Power6-based |
17 | pSeries boxes. A typical action taken is to disconnect the affected device, | 17 | pSeries boxes. A typical action taken is to disconnect the affected device, |
@@ -173,7 +173,7 @@ is STEP 6 (Permanent Failure). | |||
173 | >>> a value of 0xff on read, and writes will be dropped. If more than | 173 | >>> a value of 0xff on read, and writes will be dropped. If more than |
174 | >>> EEH_MAX_FAILS I/O's are attempted to a frozen adapter, EEH | 174 | >>> EEH_MAX_FAILS I/O's are attempted to a frozen adapter, EEH |
175 | >>> assumes that the device driver has gone into an infinite loop | 175 | >>> assumes that the device driver has gone into an infinite loop |
176 | >>> and prints an error to syslog. A reboot is then required to | 176 | >>> and prints an error to syslog. A reboot is then required to |
177 | >>> get the device working again. | 177 | >>> get the device working again. |
178 | 178 | ||
179 | STEP 2: MMIO Enabled | 179 | STEP 2: MMIO Enabled |
@@ -231,14 +231,14 @@ proceeds to STEP 4 (Slot Reset) | |||
231 | STEP 3: Link Reset | 231 | STEP 3: Link Reset |
232 | ------------------ | 232 | ------------------ |
233 | The platform resets the link. This is a PCI-Express specific step | 233 | The platform resets the link. This is a PCI-Express specific step |
234 | and is done whenever a non-fatal error has been detected that can be | 234 | and is done whenever a fatal error has been detected that can be |
235 | "solved" by resetting the link. | 235 | "solved" by resetting the link. |
236 | 236 | ||
237 | STEP 4: Slot Reset | 237 | STEP 4: Slot Reset |
238 | ------------------ | 238 | ------------------ |
239 | 239 | ||
240 | In response to a return value of PCI_ERS_RESULT_NEED_RESET, the | 240 | In response to a return value of PCI_ERS_RESULT_NEED_RESET, the |
241 | the platform will perform a slot reset on the requesting PCI device(s). | 241 | the platform will perform a slot reset on the requesting PCI device(s). |
242 | The actual steps taken by a platform to perform a slot reset | 242 | The actual steps taken by a platform to perform a slot reset |
243 | will be platform-dependent. Upon completion of slot reset, the | 243 | will be platform-dependent. Upon completion of slot reset, the |
244 | platform will call the device slot_reset() callback. | 244 | platform will call the device slot_reset() callback. |
@@ -258,7 +258,7 @@ configuration registers to initialize to their default conditions. | |||
258 | 258 | ||
259 | For most PCI devices, a soft reset will be sufficient for recovery. | 259 | For most PCI devices, a soft reset will be sufficient for recovery. |
260 | Optional fundamental reset is provided to support a limited number | 260 | Optional fundamental reset is provided to support a limited number |
261 | of PCI Express PCI devices for which a soft reset is not sufficient | 261 | of PCI Express devices for which a soft reset is not sufficient |
262 | for recovery. | 262 | for recovery. |
263 | 263 | ||
264 | If the platform supports PCI hotplug, then the reset might be | 264 | If the platform supports PCI hotplug, then the reset might be |
@@ -303,7 +303,7 @@ driver performs device init only from PCI function 0: | |||
303 | Same as above. | 303 | Same as above. |
304 | 304 | ||
305 | Drivers for PCI Express cards that require a fundamental reset must | 305 | Drivers for PCI Express cards that require a fundamental reset must |
306 | set the needs_freset bit in the pci_dev structure in their probe function. | 306 | set the needs_freset bit in the pci_dev structure in their probe function. |
307 | For example, the QLogic qla2xxx driver sets the needs_freset bit for certain | 307 | For example, the QLogic qla2xxx driver sets the needs_freset bit for certain |
308 | PCI card types: | 308 | PCI card types: |
309 | 309 | ||