[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/arm: Take an exception if PSTATE.IL is set
From: |
Peter Maydell |
Subject: |
Re: [PATCH] target/arm: Take an exception if PSTATE.IL is set |
Date: |
Sat, 21 Aug 2021 20:06:04 +0100 |
On Sat, 21 Aug 2021 at 19:59, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> > +static inline uint32_t syn_illegalstate(void)
> > +{
> > + return EC_ILLEGALSTATE << ARM_EL_EC_SHIFT;
> > +}
>
> I just noticed this should have the IL bit set.
Yep. (I remembered about that for the BXJ trap in the other patch,
but I wrote this one first and didn't remember it then...)
-- PMM