[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 26/42] target/arm: Plumb debug into S1_ptw_translate
From: |
Peter Maydell |
Subject: |
Re: [PATCH v3 26/42] target/arm: Plumb debug into S1_ptw_translate |
Date: |
Thu, 6 Oct 2022 16:54:53 +0100 |
On Sat, 1 Oct 2022 at 17:50, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Before using softmmu page tables for the ptw, plumb down
> a debug parameter so that we can query page table entries
> from gdbstub without modifying cpu state.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> +static bool get_phys_addr_with_secure_debug(CPUARMState *env,
> + target_ulong address,
> + MMUAccessType access_type,
> + ARMMMUIdx mmu_idx,
> + bool is_secure, bool debug,
> + GetPhysAddrResult *result,
> + ARMMMUFaultInfo *fi)
I'm not too enthused about this function name, because
Secure Debug is an entirely unrelated architecture feature, but
I can't immediately think of a better one, so
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v3 20/42] target/arm: Use tlb_set_page_full, (continued)
- [PATCH v3 23/42] target/arm: Use probe_access_full for BTI, Richard Henderson, 2022/10/01
- [PATCH v3 24/42] target/arm: Add ARMMMUIdx_Phys_{S,NS}, Richard Henderson, 2022/10/01
- [PATCH v3 25/42] target/arm: Move ARMMMUIdx_Stage2 to a real tlb mmu_idx, Richard Henderson, 2022/10/01
- [PATCH v3 26/42] target/arm: Plumb debug into S1_ptw_translate, Richard Henderson, 2022/10/01
- Re: [PATCH v3 26/42] target/arm: Plumb debug into S1_ptw_translate,
Peter Maydell <=
- [PATCH v3 27/42] target/arm: Use softmmu tlbs for page table walking, Richard Henderson, 2022/10/01
- [PATCH v3 28/42] target/arm: Split out get_phys_addr_twostage, Richard Henderson, 2022/10/01
- [PATCH v3 29/42] target/arm: Use bool consistently for get_phys_addr subroutines, Richard Henderson, 2022/10/01
- [PATCH v3 30/42] target/arm: Add ptw_idx argument to S1_ptw_translate, Richard Henderson, 2022/10/01