[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 04/25] target/arm: Rewrite check_s2_mmu_setup
From: |
Peter Maydell |
Subject: |
Re: [PATCH v3 04/25] target/arm: Rewrite check_s2_mmu_setup |
Date: |
Fri, 24 Feb 2023 13:53:58 +0000 |
On Wed, 22 Feb 2023 at 02:34, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Integrate neighboring code from get_phys_addr_lpae which computed
> starting level, as it is easier to validate when doing both at the
> same time. Mirror the checks at the start of AArch{64,32}.S2Walk,
> especially S2InvalidSL and S2InconsistentSL.
>
> This reverts 49ba115bb74, which was incorrect -- there is nothing
> in the ARM pseudocode that depends on TxSZ, i.e. outputsize; the
> pseudocode is consistent in referencing PAMax.
>
> Fixes: 49ba115bb74 ("target/arm: Pass outputsize down to check_s2_mmu_setup")
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH v3 00/25] target/arm: Implement FEAT_RME, Richard Henderson, 2023/02/21
- [PATCH v3 02/25] target/arm: Stub arm_hcr_el2_eff for m-profile, Richard Henderson, 2023/02/21
- [PATCH v3 03/25] target/arm: Diagnose incorrect usage of arm_is_secure subroutines, Richard Henderson, 2023/02/21
- [PATCH v3 01/25] target/arm: Handle m-profile in arm_is_secure, Richard Henderson, 2023/02/21
- [PATCH v3 04/25] target/arm: Rewrite check_s2_mmu_setup, Richard Henderson, 2023/02/21
- Re: [PATCH v3 04/25] target/arm: Rewrite check_s2_mmu_setup,
Peter Maydell <=
- [PATCH v3 10/25] include/exec/memattrs: Add two bits of space to MemTxAttrs, Richard Henderson, 2023/02/21
- [PATCH v3 08/25] target/arm: Add RME cpregs, Richard Henderson, 2023/02/21
- [PATCH v3 07/25] target/arm: SCR_EL3.NS may be RES1, Richard Henderson, 2023/02/21
- [PATCH v3 13/25] target/arm: Remove __attribute__((nonnull)) from ptw.c, Richard Henderson, 2023/02/21
- [PATCH v3 05/25] target/arm: Add isar_feature_aa64_rme, Richard Henderson, 2023/02/21
- [PATCH v3 06/25] target/arm: Update SCR and HCR for RME, Richard Henderson, 2023/02/21