]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/io: Unhook MMIO accessors
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 18 Dec 2024 10:55:00 +0000 (21:55 +1100)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 26 Feb 2025 15:45:08 +0000 (21:15 +0530)
commit15efd61fa74d23d055075f90101b0e1345799cec
treed32c46edeff021fd28ceb44475fbf8e12899046c
parentde9cc05822bf39a8ad0236857298d856fd497616
powerpc/io: Unhook MMIO accessors

Now that PPC_INDIRECT_MMIO is removed, it's not possible/necessary
to hook any of the "memory" accessors, so turn them back into regular
static inlines, and restrict the hooking mechanism to the "pio"
accessors only.

Move the #defines that signal each routine is implemented next to the
implementation, and update the out-of-date comment.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20241218105523.416573-12-mpe@ellerman.id.au
arch/powerpc/include/asm/io-defs.h
arch/powerpc/include/asm/io.h