Use correct wbinv operation in pmap_l2cache_wbinv_range().
Submitted by: Michal Hajduk Reviewed by: stas Approved by: re (kib) Obtained from: Semihalf
This commit is contained in:
parent
87a61ebd4c
commit
cbb3cb151c
@ -1212,7 +1212,7 @@ pmap_l2cache_wbinv_range(pmap_t pm, vm_offset_t va, vm_size_t len)
|
||||
CTR4(KTR_PMAP, "pmap_l2cache_wbinv_range: pmap %p is_kernel %d "
|
||||
"va 0x%08x len 0x%x ", pm, pm == pmap_kernel(), va, rest);
|
||||
if (pmap_get_pde_pte(pm, va, &pde, &ptep) && l2pte_valid(*ptep))
|
||||
cpu_l2cache_wb_range(va, rest);
|
||||
cpu_l2cache_wbinv_range(va, rest);
|
||||
|
||||
len -= rest;
|
||||
va += rest;
|
||||
|
Loading…
x
Reference in New Issue
Block a user