On 3/27/22 03:34, Idan Horowitz wrote:
As per the AArch64.S2Walk() psuedo-code in the ARMv8 ARM, the final
decision as to the output address's PA space based on the SA/SW/NSA/NSA
bits needs to take the input IPA's PA space into account, and not the
PA space of the result of the stage 2 walk itself.
Signed-off-by: Idan Horowitz <idan.horow...@gmail.com>
I believe I follow: because the walk uses walkstate.address.paddress.paspace, the ipa
input parameter is unchanged, and it is ipa that is passed to
AArch64.S2NextWalkStateLast() to form the output address.
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~