From: "Inès Varhol" <ines.varhol@telecom-paris.fr>
To: qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@redhat.com>,
qemu-arm@nongnu.org, "Inès Varhol" <ines.varhol@telecom-paris.fr>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Laurent Vivier" <lvivier@redhat.com>,
"Arnaud Minier" <arnaud.minier@telecom-paris.fr>,
"Alistair Francis" <alistair@alistair23.me>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Peter Maydell" <peter.maydell@linaro.org>
Subject: [PATCH 0/2] hw/misc: Fix STM32L4x5 EXTI interrupts
Date: Sat, 29 Jun 2024 13:07:07 +0200 [thread overview]
Message-ID: <20240629110800.539969-1-ines.varhol@telecom-paris.fr> (raw)
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
next reply other threads:[~2024-06-29 11:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-29 11:07 Inès Varhol [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240629110800.539969-1-ines.varhol@telecom-paris.fr \
--to=ines.varhol@telecom-paris.fr \
--cc=alistair@alistair23.me \
--cc=arnaud.minier@telecom-paris.fr \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).