sparc: Make translateFunctional ignore alignment and use the page tables.
authorGabe Black <gabeblack@google.com>
Wed, 18 Mar 2020 03:24:18 +0000 (20:24 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 19 Mar 2020 01:38:01 +0000 (01:38 +0000)
commit8e0e7da5ab399a3c2421d7c32349e2051774cec3
treee0a6cff71a6f4164720e7d8e28351c1a3f7f33ec
parent9d1d264fb6c59839215cd735252565aa9597a3d5
sparc: Make translateFunctional ignore alignment and use the page tables.

translateFunctional might be used with unaligned addresses which should
be allowed in that context. Also, in SE mode, if the translation isn't
in the TLB itself, then it should be looked up in the SE mode fake page
tables and not in a page table resident in memory.

Change-Id: Ibb39685cfdcd4eb6cb8a0486a1de014a4e452518
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26831
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/sparc/tlb.cc