STM32L4x5 EXTI was incorrectly expecting alternating interrupts.
This patch adds a new field to track IRQ levels to actually
*detect* edges.
It also corrects existing QTests which were modifying the IRQ lines'
levels.
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Inès Varhol (2):
hw/misc: In STM32L4x5 EXTI, correct configurable interrupts
tests/qtest: Ensure STM32L4x5 EXTI state is correct at the end of
QTests
include/hw/misc/stm32l4x5_exti.h | 2 ++
hw/misc/stm32l4x5_exti.c | 28 +++++++++++++---------------
tests/qtest/stm32l4x5_exti-test.c | 8 ++++++++
tests/qtest/stm32l4x5_syscfg-test.c | 2 +-
4 files changed, 24 insertions(+), 16 deletions(-)
--
2.43.2