[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 07/15] target/arm: Honor TCR_ELx.{I}PS
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 07/15] target/arm: Honor TCR_ELx.{I}PS |
Date: |
Tue, 15 Feb 2022 22:01:47 +0000 |
On Thu, 10 Feb 2022 at 04:04, Richard Henderson
<richard.henderson@linaro.org> 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 <alex.bennee@linaro.org>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v2 03/15] target/arm: Fault on invalid TCR_ELx.TxSZ, (continued)
- [PATCH v2 01/15] hw/registerfields: Add FIELD_SEX<N> and FIELD_SDP<N>, Richard Henderson, 2022/02/09
- [PATCH v2 05/15] target/arm: Pass outputsize down to check_s2_mmu_setup, Richard Henderson, 2022/02/09
- [PATCH v2 04/15] target/arm: Move arm_pamax out of line, Richard Henderson, 2022/02/09
- [PATCH v2 06/15] target/arm: Use MAKE_64BIT_MASK to compute indexmask, Richard Henderson, 2022/02/09
- [PATCH v2 07/15] target/arm: Honor TCR_ELx.{I}PS, Richard Henderson, 2022/02/09
- Re: [PATCH v2 07/15] target/arm: Honor TCR_ELx.{I}PS,
Peter Maydell <=
- [PATCH v2 08/15] target/arm: Prepare DBGBVR and DBGWVR for FEAT_LVA, Richard Henderson, 2022/02/09
- [PATCH v2 09/15] target/arm: Implement FEAT_LVA, Richard Henderson, 2022/02/09
- [PATCH v2 11/15] target/arm: Extend arm_fi_to_lfsc to level -1, Richard Henderson, 2022/02/09
- [PATCH v2 14/15] target/arm: Validate tlbi TG matches translation granule in use, Richard Henderson, 2022/02/09
- [PATCH v2 10/15] target/arm: Implement FEAT_LPA, Richard Henderson, 2022/02/09