aboutsummaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-07-09 19:49:37 -0600
committerBjorn Helgaas <bhelgaas@google.com>2012-07-09 19:50:53 -0600
commit9aac537e0e33f4e4f28b8e7472c283fb6460c650 (patch)
tree0e27b819f093360a0e028b0af20ee8ae6ad949f3 /kernel/sysctl.c
parentbbffe435248444065bd76141c41bbe65db950cc9 (diff)
PCI: disable MEM decoding while updating 64-bit MEM BARs
When we update 64-bit BARs, we have to perform two config writes. Between the writes, the half-written BAR value could match a MEM access intended for another device. This could result in corruption of this device (for writes) or an unexpected response machine check (for reads). To prevent this, disable MEM decoding while updating such BARs. This uses the same safety test as 253d2e5498, which disables both MEM and IO while sizing BARs, namely, we don't disable decoding for host bridge devices. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions