arch-arm: Remove un-needed hyp flag in TLBI operations
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 10 Apr 2019 14:45:30 +0000 (15:45 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 25 Apr 2019 12:48:59 +0000 (12:48 +0000)
commite8d0b755eadffb0203b966479f55a75281522b18
tree1ec6d8dccfc1f01e2db7f35894a7bd51d84cf323
parent670d080aa1669a67b30da5fad995a4377d23d77d
arch-arm: Remove un-needed hyp flag in TLBI operations

The hyp flag was probably a legacy pre-v8 flag distinguishing
invalidation targeting PL2 translation regime (hyp mode).
Since the introduction of target_el parameter, hyp boolean is not needed
anymore.  The patch works by setting the hyp flag in the flush* methods
in the TLB automatically by checking if target_el == EL2.

Change-Id: I798009e09ff24a383dea871e348188bae2685e8e
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Jan-Peter Larsson <jan-peter.larsson@arm.com>
Reviewed-by: Anouk Van Laer <anouk.vanlaer@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18389
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa.cc
src/arch/arm/tlb.cc
src/arch/arm/tlb.hh
src/arch/arm/tlbi_op.cc
src/arch/arm/tlbi_op.hh