]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Convert get_phys_addr_pmsav5() to not return FSC values
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 13 Dec 2017 17:59:25 +0000 (17:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 13 Dec 2017 17:59:25 +0000 (17:59 +0000)
commit53a4e5c5b07b2f50c538511b74b0d3d4964695ea
treea679bd4bc1dbc7c38621d33d7a6805c291acbb22
parentda909b2c23a68e57bbcb6be98229e40df606f0c8
target/arm: Convert get_phys_addr_pmsav5() to not return FSC values

Make get_phys_addr_pmsav5() return a fault type in the ARMMMUFaultInfo
structure, which we convert to the FSC at the callsite.

Note that PMSAv5 does not define any guest-visible fault status
register, so the different "fsr" values we were previously
returning are entirely arbitrary. So we can just switch to using
the most appropriae fi->type values without worrying that we
need to special-case FaultInfo->FSC conversion for PMSAv5.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Stefano Stabellini <sstabellini@kernel.org>
Message-id: 1512503192-2239-7-git-send-email-peter.maydell@linaro.org
target/arm/helper.c