diff options
author | Andrew Baumann <Andrew.Baumann@microsoft.com> | 2017-11-07 13:03:51 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-11-07 13:03:51 +0000 |
commit | 5b2d261d60caf9d988d91ca1e02392d6fc8ea104 (patch) | |
tree | 2fbc04ceff5ea6728ed12686a20e63b3d820d2b4 /hw/arm/fsl-imx6.c | |
parent | 5853e92207193e967abf5e4c25b4a551c7604725 (diff) |
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 'hw/arm/fsl-imx6.c')
0 files changed, 0 insertions, 0 deletions