[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/6] target/arm/helper: Fix tlbmask and tlbbits for TLBI V
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 2/6] target/arm/helper: Fix tlbmask and tlbbits for TLBI VAE2* |
Date: |
Fri, 4 Aug 2023 18:55:13 +0100 |
On Wed, 2 Aug 2023 at 18:02, Jean-Philippe Brucker
<jean-philippe@linaro.org> wrote:
>
> When HCR_EL2.E2H is enabled, TLB entries are formed using the EL2&0
> translation regime, instead of the EL2 translation regime. The TLB VAE2*
> instructions invalidate the regime that corresponds to the current value
> of HCR_EL2.E2H.
>
> At the moment we only invalidate the EL2 translation regime. This causes
> problems with RMM, which issues TLBI VAE2IS instructions with
> HCR_EL2.E2H enabled. Update vae2_tlbmask() to take HCR_EL2.E2H into
> account.
>
> Add vae2_tlbbits() as well, since the top-byte-ignore configuration is
> different between the EL2&0 and EL2 regime.
>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
> ---
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH v2 0/6] target/arm: Fixes for RME, Jean-Philippe Brucker, 2023/08/02
- [PATCH v2 3/6] target/arm: Skip granule protection checks for AT instructions, Jean-Philippe Brucker, 2023/08/02
- [PATCH v2 2/6] target/arm/helper: Fix tlbmask and tlbbits for TLBI VAE2*, Jean-Philippe Brucker, 2023/08/02
- Re: [PATCH v2 2/6] target/arm/helper: Fix tlbmask and tlbbits for TLBI VAE2*,
Peter Maydell <=
- [PATCH v2 1/6] target/arm/ptw: Load stage-2 tables from realm physical space, Jean-Philippe Brucker, 2023/08/02
- [PATCH v2 5/6] target/arm/helper: Check SCR_EL3.{NSE, NS} encoding for AT instructions, Jean-Philippe Brucker, 2023/08/02
[PATCH v2 6/6] target/arm/helper: Implement CNTHCTL_EL2.CNT[VP]MASK, Jean-Philippe Brucker, 2023/08/02
[PATCH v2 4/6] target/arm: Pass security space rather than flag for AT instructions, Jean-Philippe Brucker, 2023/08/02