[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 04/11] target-arm: Define correct mmu_idx values
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 04/11] target-arm: Define correct mmu_idx values and pass them in TB flags |
Date: |
Mon, 26 Jan 2015 11:29:24 +0000 |
On 24 January 2015 at 19:31, Peter Maydell <address@hidden> wrote:
> On 24 January 2015 at 16:36, Greg Bellows <address@hidden> wrote:
>> I understand what the code is doing, my point is that you rely on
>> arm_is_secure_below_el3 to deal with EL2 when you could have just as easily
>> checked for el<2. Not a big deal though.
>
> Well, I rely on the architecture to tell me that it isn't
> possible for arm_is_secure_below_el3 to be true if we're
> in EL2. Otherwise there'd be a bug in that function...
On reflection, I see your point, so have changed to 'el < 2 && ...'
for v2.
thanks
-- PMM
- Re: [Qemu-devel] [PATCH 05/11] target-arm: Use correct mmu_idx for unprivileged loads and stores, (continued)
[Qemu-devel] [PATCH 04/11] target-arm: Define correct mmu_idx values and pass them in TB flags, Peter Maydell, 2015/01/23
Re: [Qemu-devel] [PATCH 04/11] target-arm: Define correct mmu_idx values and pass them in TB flags, Peter Maydell, 2015/01/27
Re: [Qemu-devel] [PATCH 04/11] target-arm: Define correct mmu_idx values and pass them in TB flags, Greg Bellows, 2015/01/28
[Qemu-devel] [PATCH 11/11] target-arm: Fix brace style in reindented code, Peter Maydell, 2015/01/23
[Qemu-devel] [PATCH 02/11] target-arm: Make arm_current_el() return sensible values for M profile, Peter Maydell, 2015/01/23
[Qemu-devel] [PATCH 03/11] target-arm/translate-a64: Fix wrong mmu_idx usage for LDT/STT, Peter Maydell, 2015/01/23