commit | 60ca1e5a200cd294a12907fa36dece4241db4ab8 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Fri Feb 22 12:59:59 2019 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Mon Apr 08 11:59:47 2019 +0100 |
tree | 2dcd2e666b2b1cad4ce0c80f263cb122bdeebc1b | |
parent | fdcd06a8ab775cbe716ff893372bed580e4c8a1c [diff] |
mmiowb: Hook up mmiowb helpers to spinlocks and generic I/O accessors Removing explicit calls to mmiowb() from driver code means that we must now call into the generic mmiowb_spin_{lock,unlock}() functions from the core spinlock code. In order to elide barriers following critical sections without any I/O writes, we also hook into the asm-generic I/O routines. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Will Deacon <will.deacon@arm.com>