]> Git Repo - qemu.git/commit - target/arm/helper.c
target-arm: Don't mask out bits [47:40] in LPAE descriptors for v8
authorPeter Maydell <[email protected]>
Tue, 24 Nov 2015 14:12:15 +0000 (14:12 +0000)
committerPeter Maydell <[email protected]>
Tue, 24 Nov 2015 14:12:15 +0000 (14:12 +0000)
commit6109769a8b42bd0c3d5b1601c9b35fe7ea6a603e
treee366e06b332a7bc95751c8573bccee201ae9644a
parentf72c0a79f76f1b7ed1a1e0ff8be31f5df06b3269
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 <[email protected]>
Reviewed-by: Laurent Desnogues <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Message-id: 1448029971[email protected]
target-arm/helper.c
This page took 0.026019 seconds and 4 git commands to generate.