qemu-devel
[Top][All Lists]
Advanced

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

[PATCH 0/2] hw/misc: Fix STM32L4x5 EXTI interrupts


From: Inès Varhol
Subject: [PATCH 0/2] hw/misc: Fix STM32L4x5 EXTI interrupts
Date: Sat, 29 Jun 2024 13:07:07 +0200

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




reply via email to

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