From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: ~inesvarhol <inesvarhol@proton.me>, qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org, alistair@alistair23.me,
peter.maydell@linaro.org, ines.varhol@telecom-paris.fr,
arnaud.minier@telecom-paris.fr
Subject: Re: [PATCH qemu 0/3] hw/arm: Add device STM32L4x5 EXTI
Date: Sat, 9 Dec 2023 11:52:30 +0100 [thread overview]
Message-ID: <ed5e7b40-0b98-4a08-8530-a307f5227a60@linaro.org> (raw)
In-Reply-To: <170198462199.32162.284497577253427308-0@git.sr.ht>
Hi Inès,
On 7/12/23 22:30, ~inesvarhol wrote:
> This patch adds a new STM32L4x5 EXTI device and is part
> of a series implementing the STM32L4x5 with a few peripherals.
>
> The patch is split up in 3 commits :
> - implementing the EXTI device
> - adding tests (that fail in this commit)
> - connecting the EXTI device to the SoC (the tests pass in this commit)
>
> Thank you Alistair for the review and very helpful answers !
>
> Sincerely,
> Ines Varhol
>
> Changes from v3 to non-RFC v1:
> - separating the patch in 3 commits
> - justifying in the commit message why we implement a new
> model instead of changing the existing stm32f4xx_exti
> - changed irq_raise to irq_pulse in register SWIERx write (in
> stm32l4x5_exti_write)
> to be consistent with the irq_pulse in stm32l4x5_exti_set_irq (and also
> both these interrupts
> are edge-triggered)
> - changed the license to GPL
>
> Changes from v2 to v3:
> - adding more tests writing/reading in exti registers
> - adding tests checking that interrupt work by reading NVIC registers
> - correcting exti_write in SWIER (so it sets an irq only when a bit goes
> from '0' to '1')
> - correcting exti_set_irq (so it never writes in PR when the relevant
> bit in IMR is '0')
>
> Changes from v1 to v2:
> - use arrays to deduplicate code and logic
> - move internal constant EXTI_NUM_GPIO_EVENT_IN_LINES from the header
> to the .c file
> - Improve copyright headers
> - replace static const with #define
> - use the DEFINE_TYPES macro
> - fill the impl and valid field of the exti's MemoryRegionOps
> - fix invalid test caused by a last minute change
FYI I have your series tagged for review, but I have been busy and
won't have time to look at it the next 2 weeks :/
> Based-on: <170100975340.4879.5844108484092111139-0@git.sr.ht>
> ([PATCH qemu 0/2] hw/arm: Add minimal support for the B-L475E-IOT01A
> board)
>
> Inès Varhol (3):
> hw/arm: Implement STM32L4x5 EXTI
> hw/arm: Add STM32L4x5 EXTI QTest testcase
> hw/arm: Connect STM32L4x5 EXTI to STM32L4x5 SoC
prev parent reply other threads:[~2023-12-09 10:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 21:30 [PATCH qemu 0/3] hw/arm: Add device STM32L4x5 EXTI ~inesvarhol
2023-12-07 19:56 ` [PATCH qemu 1/3] hw/arm: Implement " ~inesvarhol
2023-12-07 20:12 ` [PATCH qemu 2/3] hw/arm: Add STM32L4x5 EXTI QTest testcase ~inesvarhol
2023-12-07 20:33 ` [PATCH qemu 3/3] hw/arm: Connect STM32L4x5 EXTI to STM32L4x5 SoC ~inesvarhol
2023-12-09 10:52 ` Philippe Mathieu-Daudé [this message]
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=ed5e7b40-0b98-4a08-8530-a307f5227a60@linaro.org \
--to=philmd@linaro.org \
--cc=alistair@alistair23.me \
--cc=arnaud.minier@telecom-paris.fr \
--cc=ines.varhol@telecom-paris.fr \
--cc=inesvarhol@proton.me \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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).