Fix TLB size computation on OCTEON II and III. The CPUs have utilized
authorvisa <visa@openbsd.org>
Sun, 11 Jun 2017 03:35:30 +0000 (03:35 +0000)
committervisa <visa@openbsd.org>
Sun, 11 Jun 2017 03:35:30 +0000 (03:35 +0000)
commitcb79e5ce60a6bae74d913d21366183a3fff93dc0
tree3c195a582efeb35cdaf45da58602dd6b10c9144e
parent68be5be646b1fcc53604924fa7332b35b785e0f4
Fix TLB size computation on OCTEON II and III. The CPUs have utilized
the whole TLB space even before this. However, TLB initialization on
boot and TLB flush on ASID wraparound have been incomplete. These have
caused crashes of processes.
sys/arch/mips64/include/cpu.h
sys/arch/mips64/include/mips_cpu.h
sys/arch/mips64/mips64/mips64r2.S
sys/arch/octeon/octeon/machdep.c