Re: [PATCH] drm/bochs: use ioremap_wc() to map framebuffer during driver probing

2024-09-09 Thread Yan Zhao
On Mon, Sep 09, 2024 at 08:40:30AM +0200, Thomas Zimmermann wrote: > Hi > > Am 09.09.24 um 07:15 schrieb Yan Zhao: > > Use ioremap_wc() instead of ioremap() to map framebuffer during driver > > probing phase. > > > > Using ioremap() results in a VA being mapped with PAT=UC-. Additionally, > > on

Re: [PATCH] drm/bochs: use ioremap_wc() to map framebuffer during driver probing

2024-09-08 Thread Thomas Zimmermann
Hi Am 09.09.24 um 07:15 schrieb Yan Zhao: Use ioremap_wc() instead of ioremap() to map framebuffer during driver probing phase. Using ioremap() results in a VA being mapped with PAT=UC-. Additionally, on x86 architectures, ioremap() invokes memtype_reserve() to reserve the memory type as UC- fo

[PATCH] drm/bochs: use ioremap_wc() to map framebuffer during driver probing

2024-09-08 Thread Yan Zhao
Use ioremap_wc() instead of ioremap() to map framebuffer during driver probing phase. Using ioremap() results in a VA being mapped with PAT=UC-. Additionally, on x86 architectures, ioremap() invokes memtype_reserve() to reserve the memory type as UC- for the physical range. This reservation can ca