|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 16/19] target/arm: Handle banking in negative-execution-priority check in cpu_mmu_index() |
Date: | Wed, 20 Sep 2017 12:35:36 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 09/12/2017 01:14 PM, Peter Maydell wrote: > Now that we have a banked FAULTMASK register and banked exceptions, > we can implement the correct check in cpu_mmu_index() for whether > the MPU_CTRL.HFNMIENA bit's effect should apply. This bit causes > handlers which have requested a negative execution priority to run > with the MPU disabled. In v8M the test has to check this for the > current security state and so takes account of banking. > > Signed-off-by: Peter Maydell <address@hidden> > --- > target/arm/cpu.h | 21 ++++++++++++++++----- > hw/intc/armv7m_nvic.c | 29 +++++++++++++++++++++++++++++ > 2 files changed, 45 insertions(+), 5 deletions(-) Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |