# Re: \[PATCH v2 02/24\] drivers/video/fbdev: use ioremap\_wc/wt() instead of \_\_ioremap()

- From: Bartlomiej Zolnierkiewicz \<hidden\>
- Date: 2018-09-13 17:35:46 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2018/09/5380255
- Thread: https://ratatoskr.run/linux-arm-kernel/2018/09/5378905/t.md

```text

On 09/12/2018 05:58 PM, Christophe Leroy wrote:
> _PAGE_NO_CACHE is a platform specific flag. In addition, this flag
> is misleading because one would think it requests a noncached page
> whereas a noncached page is _PAGE_NO_CACHE | _PAGE_GUARDED
> 
> _PAGE_NO_CACHE alone means write combined noncached page, so lets
> use ioremap_wc() instead.
> 
> _PAGE_WRITETHRU is also platform specific flag. Use ioremap_wt()
> instead.
> 
> Signed-off-by: Christophe Leroy <redacted>

After reading patch #1 this one LGTM.

Acked-by: Bartlomiej Zolnierkiewicz <redacted>

> ---
>  drivers/video/fbdev/chipsfb.c    |  3 +--
>  drivers/video/fbdev/controlfb.c  |  5 +----
>  drivers/video/fbdev/platinumfb.c |  5 +----
>  drivers/video/fbdev/valkyriefb.c | 12 ++++++------
>  4 files changed, 9 insertions(+), 16 deletions(-)

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
```
