RM7000 processors with 64 TLB pairs instead of the usual 48 use an external control bit to enabled use of the extra 16, in order to be able to be used as drop-in R5000 replacement without modifying RM7000-unaware software.
RM7000 processors with 64 TLB pairs instead of the usual 48 use an external
control bit to enabled use of the extra 16, in order to be able to be used
as drop-in R5000 replacement without modifying RM7000-unaware software.

Because of this, when a 64 TLB RM7000 processor is detected, check that
the upper 16 really will be used before deciding how many TLB the kernel
needs to invalidate whe ASID wraps.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars