Re: [PATCH v10 2/5] rtc: goldfish: introduce goldfish_ioread32()/goldfish_iowrite32()

From
Arnd Bergmann <arnd@arndb.de>
Date
2022-01-19 08:49:47
Also in
linux-m68k, lkml
Reply to
Geert Uytterhoeven, 2022-01-19
On Wed, Jan 19, 2022 at 9:21 AM Geert Uytterhoeven [off-list ref] wrote:
On Wed, Jan 19, 2022 at 1:05 AM Laurent Vivier [off-list ref] wrote:

I've just discovered include/linux/goldfish.h, which already has gf_*()
accessors for 64-bit, so it'd make sense to move the above there,
and adjust the names.
Yes, good idea.
Arnd: note that the existing ones do use __raw_writel().
It looks like Laurent introduced that bug in da31de35cd2f ("tty: goldfish: use
__raw_writel()/__raw_readl()") and could fix it up here. Laurent, was the intent
of this earlier patch also to make the driver usabel for m68k, or are there
any other targets you looked at that had mixed up endianness?

       Arnd
Thread (10 messages) 10 messages, 3 authors, last reply 2022-01-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help