Re: [RFC PATCH v3 08/21] target/arm: Handle IS/FS in ISR_EL1 for NMI

2024-02-23 Thread Richard Henderson
On 2/23/24 00:32, Jinjie Ruan via wrote: Add IS and FS bit in ISR_EL1 and handle the read. With CPU_INTERRUPT_NMI, both CPSR_I and ISR_IS must be set. Signed-off-by: Jinjie Ruan -- v3: - CPU_INTERRUPT_NMI do not set FIQ, so remove it. - With CPU_INTERRUPT_NMI, both CPSR_I and ISR_IS must be set

[RFC PATCH v3 08/21] target/arm: Handle IS/FS in ISR_EL1 for NMI

2024-02-23 Thread Jinjie Ruan via
Add IS and FS bit in ISR_EL1 and handle the read. With CPU_INTERRUPT_NMI, both CPSR_I and ISR_IS must be set. Signed-off-by: Jinjie Ruan -- v3: - CPU_INTERRUPT_NMI do not set FIQ, so remove it. - With CPU_INTERRUPT_NMI, both CPSR_I and ISR_IS must be set. --- target/arm/cpu.h| 2 ++ target/a