diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-11-24 14:12:15 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-11-24 14:12:15 +0000 |
commit | 6109769a8b42bd0c3d5b1601c9b35fe7ea6a603e (patch) | |
tree | e366e06b332a7bc95751c8573bccee201ae9644a /nbd.c | |
parent | f72c0a79f76f1b7ed1a1e0ff8be31f5df06b3269 (diff) |
target-arm: Don't mask out bits [47:40] in LPAE descriptors for v8
In an LPAE format descriptor in ARMv8 the address field extends
up to bit 47, not just bit 39. Correct the masking so we don't
give incorrect results if the output address size is greater
than 40 bits, as it can be for AArch64.
(Note that we don't yet support the new-in-v8 Address Size fault which
should be generated if any translation table entry or TTBR contains
an address with non-zero bits above the most significant bit of the
maximum output address size.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1448029971-9875-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions