summaryrefslogtreecommitdiffstats
path: root/drivers/pci/setup-bus.c
diff options
context:
space:
mode:
authorShmulik Ravid2009-12-03 21:27:51 +0100
committerJesse Barnes2009-12-05 00:49:44 +0100
commit04b55c4732780381410e52db0e9bfb7661f2b4b3 (patch)
tree6c8a96438f40aa60038a9bd422c38833bdc7aa7a /drivers/pci/setup-bus.c
parentPCI: show dma_mask bits in /sys (diff)
downloadkernel-qcow2-linux-04b55c4732780381410e52db0e9bfb7661f2b4b3.tar.gz
kernel-qcow2-linux-04b55c4732780381410e52db0e9bfb7661f2b4b3.tar.xz
kernel-qcow2-linux-04b55c4732780381410e52db0e9bfb7661f2b4b3.zip
PCI: read-modify-write the pcie device control register when initiating pcie flr
The pcie_flr routine writes the device control register with the FLR bit set clearing all other fields for the FLR duration. Among other fields, the Max_Payload_Size is also cleared which can cause errors if there are transactions lurking in the HW pipeline. The patch replaces the blank write with read-modify-write of the control register keeping the other fields intact. Signed-off-by: Shmulik Ravid <shmulikr@broadcom.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/setup-bus.c')
0 files changed, 0 insertions, 0 deletions