arch-arm: Reimplement TLB::flushAll
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 18 Sep 2020 14:08:52 +0000 (15:08 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 23 Oct 2020 16:23:27 +0000 (16:23 +0000)
commit2a91ea75861eb7749687deb2dea538ad39942c3d
tree4115aa4558b7741d4c35c4d430100014b74e00aa
parent1a897957d62d8c6f77fc1d9e3fa1824bc6d0cb5b
arch-arm: Reimplement TLB::flushAll

flushAll is a non architectural flush command; this is not based on
flushAllSecurity anymore. flushAll should always flush stage1 and stage2,
whereas flushAllSecurity is checking for the current state
(vmid, and if we are in Hyp)

Change-Id: I6b81ebfba387e646f256ecbecb7b5ee720745358
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35239
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Richard Cooper <richard.cooper@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/tlb.cc
src/arch/arm/tlb.hh