]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc: Stop pretending we run on e500v1 cores
authorJustin Hibbits <jhibbits@FreeBSD.org>
Tue, 30 Apr 2019 03:45:46 +0000 (03:45 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Tue, 30 Apr 2019 03:45:46 +0000 (03:45 +0000)
commit0af5d6f7d981331ca87370e9d35a8c71fc215d7b
treed9db21ad43bb135591c9a4c1e4955bb15c2d7658
parent7122ab6ed32b977bcf0be8c838ba378e792eb157
powerpc: Stop pretending we run on e500v1 cores

Unconditional writing to MAS7, which doesn't exist on the e500v1 core, in a
TLB miss handler has been in the code for several years now.  Since this has
gone unnoticed for so long, it's easily concluded that e500v1 is not in use
with FreeBSD.  Simplify the code path a bit, by unconditionally zeroing MAS7
instead of calling a subroutine to do it.
sys/powerpc/booke/locore.S
sys/powerpc/booke/trap_subr.S