RE: [PATCH] video: hyperv_fb: Fix the cache type when mapping the VRAM

2020-11-18 Thread Haiyang Zhang
ux-fb...@vger.kernel.org; linux- > ker...@vger.kernel.org; Michael Kelley > Cc: Wei Hu ; Dexuan Cui > Subject: [PATCH] video: hyperv_fb: Fix the cache type when mapping the > VRAM > > x86 Hyper-V used to essentially always overwrite the effective cache type of > guest memory

Re: [PATCH] video: hyperv_fb: Fix the cache type when mapping the VRAM

2020-11-18 Thread Wei Liu
On Wed, Nov 18, 2020 at 12:20:11AM +, Michael Kelley wrote: > From: Dexuan Cui Sent: Tuesday, November 17, 2020 4:03 > PM > > > > x86 Hyper-V used to essentially always overwrite the effective cache type > > of guest memory accesses to WB. This was problematic in cases where there > > is a

RE: [PATCH] video: hyperv_fb: Fix the cache type when mapping the VRAM

2020-11-17 Thread Michael Kelley
From: Dexuan Cui Sent: Tuesday, November 17, 2020 4:03 PM > > x86 Hyper-V used to essentially always overwrite the effective cache type > of guest memory accesses to WB. This was problematic in cases where there > is a physical device assigned to the VM, since that often requires that > the VM

[PATCH] video: hyperv_fb: Fix the cache type when mapping the VRAM

2020-11-17 Thread Dexuan Cui
x86 Hyper-V used to essentially always overwrite the effective cache type of guest memory accesses to WB. This was problematic in cases where there is a physical device assigned to the VM, since that often requires that the VM should have control over cache types. Thus, on newer Hyper-V since