aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2016-12-12 11:30:20 -0700
committerBjorn Helgaas <[email protected]>2017-01-30 09:39:38 -0600
commitd9bf28e2650fe3eeefed7e34841aea07d10c6543 (patch)
treebe92662faeb581056d13a21cf04c5376a8091cd4 /lib/netdev-notifier-error-inject.c
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
PCI: mvebu: Handle changes to the bridge windows while enabled
The PCI core will write to the bridge window config multiple times while they are enabled. This can lead to mbus failures like this: mvebu_mbus: cannot add window '4:e8', conflicts with another window mvebu-pcie mbus:pex@e0000000: Could not create MBus window at [mem 0xe0000000-0xe00fffff]: -22 For me this is happening during a hotplug cycle. The PCI core is not changing the values, just writing them twice while active. The patch addresses the general case of any change to an active window, but not atomically. The code is slightly refactored so io and mem can share more of the window logic. Signed-off-by: Jason Gunthorpe <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Jason Cooper <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions