Re: [PATCH v3] PCI: Add support for turning PCIe ECRC on or off

From: Jesse Barnes
Date: Thu Jun 11 2009 - 14:44:45 EST

On Wed, 22 Apr 2009 16:52:09 -0600
Andrew Patterson <andrew.patterson@xxxxxx> wrote:

> 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@xxxxxx>
> ---

Applied to linux-next, thanks.

Jesse Barnes, Intel Open Source Technology Center
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at