WSL2-Linux-Kernel/arch
Will Deacon 49ca6462fc 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 <torvalds@linux-foundation.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2019-04-08 12:00:32 +01:00
..
alpha arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
arc arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
arm ARM/io: Remove useless definition of mmiowb() 2019-04-08 11:59:53 +01:00
arm64 arm64/io: Remove useless definition of mmiowb() 2019-04-08 11:59:57 +01:00
c6x arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
csky arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
h8300 arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
hexagon arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
ia64 ia64/mmiowb: Add unconditional mmiowb() to arch_spin_unlock() 2019-04-08 12:00:32 +01:00
m68k m68k/io: Remove useless definition of mmiowb() 2019-04-08 12:00:18 +01:00
microblaze arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
mips mips/mmiowb: Add unconditional mmiowb() to arch_spin_unlock() 2019-04-08 12:00:28 +01:00
nds32 nds32/io: Remove useless definition of mmiowb() 2019-04-08 12:00:06 +01:00
nios2 arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
openrisc arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
parisc arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
powerpc arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
riscv arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
s390 arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
sh sh/mmiowb: Add unconditional mmiowb() to arch_spin_unlock() 2019-04-08 12:00:21 +01:00
sparc arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
um arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
unicore32 arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
x86 x86/io: Remove useless definition of mmiowb() 2019-04-08 12:00:01 +01:00
xtensa arch: Use asm-generic header for asm/mmiowb.h 2019-04-08 11:59:43 +01:00
.gitignore
Kconfig Char/Misc driver patches for 5.1-rc1 2019-03-06 14:18:59 -08:00