qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/misc: Fix STM32L4x5 EXTI interrupts
@ 2024-06-29 11:07 Inès Varhol
  2024-06-29 11:07 ` [PATCH 1/2] hw/misc: In STM32L4x5 EXTI, correct configurable interrupts Inès Varhol
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Inès Varhol @ 2024-06-29 11:07 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, qemu-arm, Inès Varhol, Paolo Bonzini,
	Laurent Vivier, Arnaud Minier, Alistair Francis,
	Philippe Mathieu-Daudé, Peter Maydell

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-01 11:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-29 11:07 [PATCH 0/2] hw/misc: Fix STM32L4x5 EXTI interrupts Inès Varhol
2024-06-29 11:07 ` [PATCH 1/2] hw/misc: In STM32L4x5 EXTI, correct configurable interrupts Inès Varhol
2024-06-29 11:07 ` [PATCH 2/2] tests/qtest: Ensure STM32L4x5 EXTI state is correct at the end of QTests Inès Varhol
2024-07-01 11:48 ` [PATCH 0/2] hw/misc: Fix STM32L4x5 EXTI interrupts Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).