powerpc/mmiowb: Hook up mmwiob() implementation to asm-generic code
authorWill Deacon <will.deacon@arm.com>
Fri, 22 Feb 2019 14:45:42 +0000 (14:45 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 8 Apr 2019 11:00:35 +0000 (12:00 +0100)
commit420af1554790a95e6813f56f63b6d2361614082b
tree67072735af8f8cad386cdf2396fe4c13c27a4459
parent49ca6462fc9e0f5a67cd96eeddd844efc3fb33b9
powerpc/mmiowb: Hook up mmwiob() implementation to asm-generic code

In a bid to kill off explicit mmiowb() usage in driver code, hook up
the asm-generic mmiowb() tracking code but provide a definition of
arch_mmiowb_state() so that the tracking data can remain in the paca
as it does at present

This replaces the existing (flawed) implementation.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/powerpc/Kconfig
arch/powerpc/include/asm/Kbuild
arch/powerpc/include/asm/io.h
arch/powerpc/include/asm/mmiowb.h [new file with mode: 0644]
arch/powerpc/include/asm/paca.h
arch/powerpc/include/asm/spinlock.h
arch/powerpc/xmon/xmon.c