]> Git Repo - qemu.git/commit
target/arm: Ignore fsr from get_phys_addr() in do_ats_write()
authorPeter Maydell <[email protected]>
Wed, 13 Dec 2017 17:59:25 +0000 (17:59 +0000)
committerPeter Maydell <[email protected]>
Wed, 13 Dec 2017 17:59:25 +0000 (17:59 +0000)
commit5efe9ed45dec775ebe91ce72bd805ee780d16064
tree155a9f0f9012105d179d593bf700942fa74dc113
parent681f9a89d201d7891e2c60dff5e5415d8f618518
target/arm: Ignore fsr from get_phys_addr() in do_ats_write()

In do_ats_write(), rather than using the FSR value from get_phys_addr(),
construct the PAR values using the information in the ARMMMUFaultInfo
struct. This allows us to create a PAR of the correct format regardless
of what the translation table format is.

For the moment we leave the condition for "when should this be a
64 bit PAR" as it was previously; this will need to be fixed to
properly support AArch32 Hyp mode.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Tested-by: Stefano Stabellini <[email protected]>
Message-id: 1512503192[email protected]
target/arm/helper.c
This page took 0.026976 seconds and 4 git commands to generate.