diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2009-04-22 18:52:09 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-06-11 15:04:21 -0400 |
commit | 43c16408842b0eeb367c23a6fa540ce69f99e347 (patch) | |
tree | 25be054b280b430b8bb00ff5f9c1f422bc21a3a0 /Documentation/kernel-parameters.txt | |
parent | f62795f1e892ca9269849fa83de97621da7e02c0 (diff) |
PCI: Add support for turning PCIe ECRC on or off
Adds support for PCI Express transaction layer end-to-end CRC checking
(ECRC). This patch will enable/disable ECRC checking by setting/clearing
the ECRC Check Enable and/or ECRC Generation Enable bits for devices that
support ECRC.
The ECRC setting is controlled by the "pci=ecrc=<policy>" command-line
option. If this option is not set or is set to 'bios", the enable and
generation bits are left in whatever state that firmware/BIOS set them to.
The "off" setting turns them off, and the "on" option turns them on (if the
device supports it).
Turning ECRC on or off can be a data integrity versus performance
tradeoff. In theory, turning it on will catch more data errors, turning
it off means possibly better performance since CRC does not need to be
calculated by the PCIe hardware and packet sizes are reduced.
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 7bdaf5080408..395d1a013ebb 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1824,6 +1824,12 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1824 | PAGE_SIZE is used as alignment. | 1824 | PAGE_SIZE is used as alignment. |
1825 | PCI-PCI bridge can be specified, if resource | 1825 | PCI-PCI bridge can be specified, if resource |
1826 | windows need to be expanded. | 1826 | windows need to be expanded. |
1827 | ecrc= Enable/disable PCIe ECRC (transaction layer | ||
1828 | end-to-end CRC checking). | ||
1829 | bios: Use BIOS/firmware settings. This is the | ||
1830 | the default. | ||
1831 | off: Turn ECRC off | ||
1832 | on: Turn ECRC on. | ||
1827 | 1833 | ||
1828 | pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power | 1834 | pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power |
1829 | Management. | 1835 | Management. |