qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v7 05/32] target-arm: make arm_current_el() retu


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v7 05/32] target-arm: make arm_current_el() return EL3
Date: Mon, 19 Jan 2015 11:30:51 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 01/19/2015 11:00 AM, Peter Maydell wrote:
> Alternatively (better!), for a lot of the tlb_flush()es triggered
> by target-arm code we could be more precise about the affected
> mmu_idx values, since the common case is going to be
> "NS EL1 did something that needs a TLB flush", and by definition
> that can't affect TLB entries for EL2, EL3 or S-EL1/EL0.
> 
> So I think my preference would be to use 7 mmu indexes,
> and add a tlb_flush_mmuidx() function. (Assuming I'm
> not missing anything that makes that not workable...)

That new interface does seem very reasonable.

As to whether you've missed something in the ARM semantics,
I guess we'll find out.  ;-)


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]