Thread (25 messages) flat view 25 messages, 3 authors, 2021-12-07

Re: [PATCHv5 1/4] arm64: io: Use asm-generic high level MMIO accessors

From: Arnd Bergmann <arnd@arndb.de>
Date: 2021-12-06 15:29:53
Also in: linux-arm-msm, lkml

On Mon, Dec 6, 2021 at 2:52 PM Sai Prakash Ranjan
[off-list ref] wrote:
Sorry, what I meant was the literal name of these macros, i.e.,
__iormb() has more explicit naming as
IO read memory barrier and __io_ar() is IO after read? So doesn't it
make more sense that __iormb()
should be the primary definition which is already the case and ar/bw
should be based on them.
My reasoning was that we should ideally only have one set, and that
__io_ar()/__io_bw() are the ones used in architecture-independent code,
so I'd rather use those and deprecate the arm64 specific ones, eventually
moving all the arm64 specific code to use those directly where needed.

        Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help