Re: [PATCH] drivers/video/fbdev: use ioremap_wc() instead of __ioremap(_PAGE_NO_CACHE)

From
Segher Boessenkool <hidden>
Date
2018-08-24 11:24:25
Also in
dri-devel, linux-fbdev, lkml
Reply to
Christophe Leroy, 2018-08-24
On Fri, Aug 24, 2018 at 10:16:22AM +0000, Christophe Leroy wrote:
_PAGE_NO_CACHE is a target specific flag. Prefer generic functions.
quoted hunk ↗ jump to hunk
 #ifdef CONFIG_PPC
-	p->screen_base = __ioremap(addr, 0x200000, _PAGE_NO_CACHE);
+	p->screen_base = ioremap_wc(addr, 0x200000);
 #else
But that is not the same.  I think you want ioremap_nocache?


Segher
Thread (3 messages) 3 messages, 2 authors, last reply 2018-08-24
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