arch-x86: Change insertBits in TLB translateFunctional
authorMatthew Poremba <matthew.poremba@amd.com>
Wed, 15 Apr 2020 01:39:47 +0000 (18:39 -0700)
committerMatthew Poremba <matthew.poremba@amd.com>
Wed, 15 Apr 2020 23:51:01 +0000 (23:51 +0000)
commit20a4ed6f01a244c39fe45caf20938fa86b3e33aa
tree1e334e02916d387ed42fe4d01a6e926dd33178eb
parent8a46b6b6b4fb432152b60dc07289fcf2d545f909
arch-x86: Change insertBits in TLB translateFunctional

x86 TLB::translateFunctional inserts one too many bits from the virtual
address leading to an incorrect physical address occasionally.

Change-Id: I2cc551c496f7ce729ea440ef01a680c0de257269
JIRA: https://gem5.atlassian.net/browse/GEM5-442
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27827
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/x86/tlb.cc