powerpc: Consolidate variants of real-mode MMIOs
We have all sort of variants of MMIO accessors for the real mode instructions. This creates a clean set of accessors based on Linux normal naming conventions, replacing all occurrences of the old ones in the tree. I have purposefully removed the "out/in" variants in favor of only including __raw variants. Any code using these is already pretty much hand tuned to operate in a very specific environment. I've fixed up the 2 users (only one of them actually needed a barrier in the first place). Signed-off-by:Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>
Showing
- arch/powerpc/include/asm/io.h 51 additions, 47 deletionsarch/powerpc/include/asm/io.h
- arch/powerpc/include/asm/kvm_book3s_asm.h 1 addition, 1 deletionarch/powerpc/include/asm/kvm_book3s_asm.h
- arch/powerpc/include/asm/kvm_ppc.h 1 addition, 1 deletionarch/powerpc/include/asm/kvm_ppc.h
- arch/powerpc/kvm/book3s_hv_builtin.c 8 additions, 13 deletionsarch/powerpc/kvm/book3s_hv_builtin.c
- arch/powerpc/kvm/book3s_hv_rm_xics.c 2 additions, 2 deletionsarch/powerpc/kvm/book3s_hv_rm_xics.c
- arch/powerpc/platforms/powernv/rng.c 1 addition, 1 deletionarch/powerpc/platforms/powernv/rng.c
- arch/powerpc/sysdev/xics/icp-native.c 4 additions, 4 deletionsarch/powerpc/sysdev/xics/icp-native.c
Loading
Please register or sign in to comment