qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 11/19] nvic: Compare group priority for escalati


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 11/19] nvic: Compare group priority for escalation to HF
Date: Tue, 19 Sep 2017 13:48:30 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 09/12/2017 01:13 PM, Peter Maydell wrote:
> In armv7m_nvic_set_pending() we have to compare the
> priority of an exception against the execution priority
> to decide whether it needs to be escalated to HardFault.
> In the specification this is a comparison against the
> exception's group priority; for v7M we implemented it
> as a comparison against the raw exception priority
> because the two comparisons will always give the
> same answer. For v8M the existence of AIRCR.PRIS and
> the possibility of different PRIGROUP values for secure
> and nonsecure exceptions means we need to explicitly
> calculate the vector's group priority for this check.
> 
> Signed-off-by: Peter Maydell <address@hidden>
> ---
>  hw/intc/armv7m_nvic.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <address@hidden>

r~




reply via email to

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