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: Edgar E. Iglesias
Subject: Re: [Qemu-devel] [PATCH v7 05/32] target-arm: make arm_current_el() return EL3
Date: Tue, 20 Jan 2015 08:54:16 +1000
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jan 19, 2015 at 11:30:51AM -0800, Richard Henderson wrote:
> 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.  ;-)
>

Sounds like a good option to me too.

Cheers,
Edgar



reply via email to

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