Remove an unnecessary panic. The PVO's PTE entry and the PTEG's PTE entry may

not match, if the PVO's PTE is invalid.
This commit is contained in:
Justin Hibbits 2013-08-06 02:58:16 +00:00
parent 89cac24e48
commit a3b2cab451
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253978

View file

@ -2161,9 +2161,6 @@ moea_pvo_to_pte(const struct pvo_entry *pvo, int pteidx)
"pvo but no valid pte", pvo);
}
if (pvo->pvo_pte.pte.pte_hi != pt->pte_hi) {
panic("moea_pvo_to_pte: pvo does not match pte: pvo hi: %8x, pte hi: %8x", pvo->pvo_pte.pte.pte_hi, pt->pte_hi);
}
if ((pt->pte_hi ^ (pvo->pvo_pte.pte.pte_hi & ~PTE_VALID)) == PTE_VALID) {
if ((pvo->pvo_pte.pte.pte_hi & PTE_VALID) == 0) {
panic("moea_pvo_to_pte: pvo %p has valid pte in "