aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2019-02-22 13:37:21 +0000
committerWill Deacon <[email protected]>2019-04-08 11:00:32 +0000
commit49ca6462fc9e0f5a67cd96eeddd844efc3fb33b9 (patch)
treee4e9054283eee93d05a3b371fc2fa7db4fa15d97 /drivers/net/ethernet/intel/igc/igc_main.c
parentmips/mmiowb: Add unconditional mmiowb() to arch_spin_unlock() (diff)
downloadkernel-49ca6462fc9e0f5a67cd96eeddd844efc3fb33b9.tar.gz
kernel-49ca6462fc9e0f5a67cd96eeddd844efc3fb33b9.zip
ia64/mmiowb: Add unconditional mmiowb() to arch_spin_unlock()
The mmiowb() macro is horribly difficult to use and drivers will continue to work most of the time if they omit a call when it is required. Rather than rely on driver authors getting this right, push mmiowb() into arch_spin_unlock() for ia64. If this is deemed to be a performance issue, a subsequent optimisation could make use of ARCH_HAS_MMIOWB to elide the barrier in cases where no I/O writes were performed inside the critical section. Acked-by: Linus Torvalds <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions