Re: [Spice-devel] [PATCH v2] drm/qxl: fix qxl can't use in arm64

2022-03-30 Thread David Airlie
I'd like to make sure this has no side effects on x86 guests, it probably is safe, but keep an eye for regression reports. Reviewed-by: Dave Airlie Dave. On Wed, Mar 30, 2022 at 8:20 PM Cong Liu wrote: > > any suggestions or extra test I can do now? > > Regards, > Cong > > On 2022/3/25 15:45, C

Re: [Spice-devel] [PATCH v2] drm/qxl: fix qxl can't use in arm64

2022-03-30 Thread Cong Liu
any suggestions or extra test I can do now? Regards, Cong On 2022/3/25 15:45, Christian König wrote: Am 24.03.22 um 11:49 schrieb Cong Liu: qxl use ioremap to map ram_header and rom, in the arm64 implementation, the device is mapped as DEVICE_nGnRE, it can not support unaligned access. and qxl

[Spice-devel] [PATCH v2] drm/qxl: fix qxl can't use in arm64

2022-03-25 Thread Cong Liu
qxl use ioremap to map ram_header and rom, in the arm64 implementation, the device is mapped as DEVICE_nGnRE, it can not support unaligned access. and qxl is a virtual device, it can be treated more like RAM than actual MMIO registers. use ioremap_wc() replace it. Signed-off-by: Cong Liu --- dri