[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/3] target-arm: fix get_phys_addr_v6/SCTLR_A
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/3] target-arm: fix get_phys_addr_v6/SCTLR_AFE access check |
Date: |
Wed, 11 Mar 2015 16:55:18 +0000 |
On 10 March 2015 at 21:06, Andrew Jones <address@hidden> wrote:
> Introduce simple_ap_to_rw_prot(), which has the same behavior as
> ap_to_rw_prot(), but takes the 2-bit simple AP[2:1] instead of
> the 3-bit AP[2:0]. Use this in get_phys_addr_v6 when SCTLR_AFE
> is set, as that bit indicates we should be using the simple AP
> format.
>
> It's unlikely this path is getting used. I don't see CR_AFE
> getting used by Linux, so possibly not. If it had been, then
> the check would have been wrong for all but AP[2:1] = 0b11.
> Anyway, this should fix it up, in case it ever does get used.
>
> Signed-off-by: Andrew Jones <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
- [Qemu-devel] [PATCH v2 0/3] tcg-arm: LPAE: fix and extend xn control, Andrew Jones, 2015/03/10
- [Qemu-devel] [PATCH v2 1/3] target-arm: convert check_ap to ap_to_rw_prot, Andrew Jones, 2015/03/10
- [Qemu-devel] [PATCH v2 2/3] target-arm: fix get_phys_addr_v6/SCTLR_AFE access check, Andrew Jones, 2015/03/10
- Re: [Qemu-devel] [PATCH v2 2/3] target-arm: fix get_phys_addr_v6/SCTLR_AFE access check,
Peter Maydell <=
- [Qemu-devel] [PATCH v2 3/3] target-arm: get_phys_addr_lpae: more xn control, Andrew Jones, 2015/03/10
- Re: [Qemu-devel] [PATCH v2 3/3] target-arm: get_phys_addr_lpae: more xn control, Peter Maydell, 2015/03/11
- Re: [Qemu-devel] [PATCH v2 3/3] target-arm: get_phys_addr_lpae: more xn control, Andrew Jones, 2015/03/11
- Re: [Qemu-devel] [PATCH v2 3/3] target-arm: get_phys_addr_lpae: more xn control, Peter Maydell, 2015/03/11
- Re: [Qemu-devel] [PATCH v2 3/3] target-arm: get_phys_addr_lpae: more xn control, Andrew Jones, 2015/03/11
- Re: [Qemu-devel] [PATCH v2 3/3] target-arm: get_phys_addr_lpae: more xn control, Peter Maydell, 2015/03/11
- Re: [Qemu-devel] [PATCH v2 3/3] target-arm: get_phys_addr_lpae: more xn control, Andrew Jones, 2015/03/11
- Re: [Qemu-devel] [PATCH v2 3/3] target-arm: get_phys_addr_lpae: more xn control, Peter Maydell, 2015/03/11