summary refs log tree commit diff stats
path: root/qapi
diff options
context:
space:
mode:
authorAndrew Baumann <Andrew.Baumann@microsoft.com>2017-11-07 13:03:51 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-11-07 13:03:51 +0000
commit5b2d261d60caf9d988d91ca1e02392d6fc8ea104 (patch)
tree2fbc04ceff5ea6728ed12686a20e63b3d820d2b4 /qapi
parent5853e92207193e967abf5e4c25b4a551c7604725 (diff)
downloadfocaccia-qemu-5b2d261d60caf9d988d91ca1e02392d6fc8ea104.tar.gz
focaccia-qemu-5b2d261d60caf9d988d91ca1e02392d6fc8ea104.zip
arm: implement cache/shareability attribute bits for PAR registers
On a successful address translation instruction, PAR is supposed to
contain cacheability and shareability attributes determined by the
translation. We previously returned 0 for these bits (in line with the
general strategy of ignoring caches and memory attributes), but some
guest OSes may depend on them.

This patch collects the attribute bits in the page-table walk, and
updates PAR with the correct attributes for all LPAE translations.
Short descriptor formats still return 0 for these bits, as in the
prior implementation.

Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Message-id: 20171031223830.4608-1-Andrew.Baumann@microsoft.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions