Revert r349442, which was a workaround for bus errors caused by an errant

TLB entry.  Specifically, at the start of pmap_enter_quick_locked(), we
would sometimes have a TLB entry for an invalid PTE, and we would need to
issue a TLB invalidation before exiting pmap_enter_quick_locked().  However,
we should never have a TLB entry for an invalid PTE.  r349905 has addressed
the root cause of the problem, and so we no longer need this workaround.

X-MFC after:	r349905
This commit is contained in:
alc 2019-07-13 16:32:19 +00:00
parent acdf044438
commit 0b570c6d9c

View File

@ -3713,14 +3713,7 @@ pmap_enter_quick_locked(pmap_t pmap, vm_offset_t va, vm_page_t m,
cpu_icache_sync_range(PHYS_TO_DMAP(pa), PAGE_SIZE);
pmap_load_store(l3, l3_val);
/*
* XXX In principle, because this L3 entry was invalid, we should not
* need to perform a TLB invalidation here. However, in practice,
* when simply performing a "dsb ishst" here, processes are being
* terminated due to bus errors and segmentation violations.
*/
pmap_invalidate_page(pmap, va);
dsb(ishst);
return (mpte);
}