target/arm: Cache the GP bit for a page in MemTxAttrs
commit1bafc2ba7e6bfe89fff3503fdac8db39c973de48
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 5 Feb 2019 16:52:37 +0000 (5 16:52 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Feb 2019 16:52:37 +0000 (5 16:52 +0000)
tree598335f5f41e58ee201e25ae684cc217d8ff45ec
parentd3765835ed02f91f0c6cbb452874209a6af4a730
target/arm: Cache the GP bit for a page in MemTxAttrs

Caching the bit means that we will not have to re-walk the
page tables to look up the bit during translation.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20190128223118.5255-6-richard.henderson@linaro.org
[PMM: no need to OR in guarded bit status]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c