aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorLino Sanfilippo <[email protected]>2014-11-30 12:56:51 +0100
committerDavid S. Miller <[email protected]>2014-12-05 21:33:20 -0800
commitea589e9b7838f5d1c3d4998f9fe08854872187fc (patch)
tree71a9c11f313c8d5e67f056c9330c882e1e15ce69 /lib/cpu-notifier-error-inject.c
parent6276288a4c1f755e6b65b0f2e1177855b0340e31 (diff)
sky2: avoid pci write posting after disabling irqs
In sky2_change_mtu setting B0_IMSK to 0 may be delayed due to PCI write posting which could result in irqs being still active when synchronize_irq is called. Since we are not prepared to handle any further irqs after synchronize_irq (our resources are freed after that) force the write by a consecutive read from the same register. Similar situation in sky2_all_down: Here we disabled irqs by a write to B0_IMSK but did not ensure that this write took place before synchronize_irq. Fix that too. Signed-off-by: Lino Sanfilippo <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions