[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] target/arm: Add new 's1_is_el0' argument to get_phys_add
From: |
Richard Henderson |
Subject: |
Re: [PATCH 3/4] target/arm: Add new 's1_is_el0' argument to get_phys_addr_lpae() |
Date: |
Wed, 29 Apr 2020 11:41:11 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 3/30/20 2:03 PM, Peter Maydell wrote:
> For ARMv8.2-TTS2UXN, the stage 2 page table walk wants to know
> whether the stage 1 access is for EL0 or not, because whether
> exec permission is given can depend on whether this is an EL0
> or EL1 access. Add a new argument to get_phys_addr_lpae() so
> the call sites can pass this information in.
>
> Since get_phys_addr_lpae() doesn't already have a doc comment,
> add one so we have a place to put the documentation of the
> semantics of the new s1_is_el0 argument.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> target/arm/helper.c | 29 ++++++++++++++++++++++++++++-
> 1 file changed, 28 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 3/4] target/arm: Add new 's1_is_el0' argument to get_phys_addr_lpae(),
Richard Henderson <=