[PATCH v1] bsps/aarch64: translation table walk disable for translations using ttbr1

Kinsey Moore kinsey.moore at oarcorp.com
Wed Oct 18 14:20:42 UTC 2023


This change looks good. TTBR1 isn't used at all under the current RTEMS
configuration and isn't expected to be used in the future.

Kinsey

On Tue, Oct 17, 2023 at 3:57 AM <tianye at sugon.com> wrote:

> From: Tian Ye <tianye at sugon.com>
>
> ---
>  bsps/aarch64/include/bsp/aarch64-mmu.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/bsps/aarch64/include/bsp/aarch64-mmu.h
> b/bsps/aarch64/include/bsp/aarch64-mmu.h
> index 2101ef4ae0..8c69705230 100644
> --- a/bsps/aarch64/include/bsp/aarch64-mmu.h
> +++ b/bsps/aarch64/include/bsp/aarch64-mmu.h
> @@ -439,7 +439,8 @@ BSP_START_TEXT_SECTION static inline void
> aarch64_mmu_setup( void )
>    _AArch64_Write_tcr_el1(
>      AARCH64_TCR_EL1_T0SZ( 0x10 ) | AARCH64_TCR_EL1_IRGN0( 0x1 ) |
>      AARCH64_TCR_EL1_ORGN0( 0x1 ) | AARCH64_TCR_EL1_SH0( 0x3 ) |
> -    AARCH64_TCR_EL1_TG0( 0x0 ) | AARCH64_TCR_EL1_IPS( 0x5ULL )
> +    AARCH64_TCR_EL1_TG0( 0x0 ) | AARCH64_TCR_EL1_IPS( 0x5ULL ) |
> +    AARCH64_TCR_EL1_EPD1
>    );
>
>    /* Set MAIR */
> --
> 2.34.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20231018/cfd986b1/attachment.htm>


More information about the devel mailing list