On Thu, 10 Feb 2022 at 04:04, Richard Henderson
<[email protected]> wrote:
>
> This field controls the output (intermediate) physical address size
> of the translation process.  V8 requires to raise an AddressSize
> fault if the page tables are programmed incorrectly, such that any
> intermediate descriptor address, or the final translated address,
> is out of range.
>
> Add a PS field to ARMVAParameters, and properly compute outputsize
> in get_phys_addr_lpae.  Test the descaddr as extracted from TTBR
> and from page table entries.
>
> Restrict descaddrmask so that we won't raise the fault for v7.
>
> Reviewed-by: Alex Bennée <[email protected]>
> Signed-off-by: Richard Henderson <[email protected]>
> ---


Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to