Re: [PATCH v3] drm/amdgpu: flush TLB if valid PDE turns into PTE

2021-05-14 Thread Christian König
Am 13.05.21 um 19:19 schrieb Felix Kuehling: Am 2021-05-13 um 12:58 p.m. schrieb Philip Yang: Mapping huge page, 2MB aligned address with 2MB size, uses PDE0 as PTE. If previously valid PDE0, PDE0.V=1 and PDE0.P=0 turns into PTE, this requires TLB flush, otherwise page table walker will not read

Re: [PATCH v3] drm/amdgpu: flush TLB if valid PDE turns into PTE

2021-05-13 Thread Felix Kuehling
Am 2021-05-13 um 12:58 p.m. schrieb Philip Yang: > Mapping huge page, 2MB aligned address with 2MB size, uses PDE0 as PTE. > If previously valid PDE0, PDE0.V=1 and PDE0.P=0 turns into PTE, this > requires TLB flush, otherwise page table walker will not read updated > PDE0. > > Change page table upd