From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
Rob Herring <robh@kernel.org>,
qemu-arm@nongnu.org, Alistair Francis <alistair@alistair23.me>,
Igor Mitsyanko <i.mitsyanko@gmail.com>
Subject: Re: [PATCH 3/8] hw/arm/realview: Explicit number of GIC external IRQs
Date: Wed, 12 Feb 2025 15:58:39 +0100 [thread overview]
Message-ID: <824c0c10-8aba-4778-b653-d0e2eb6115ea@linaro.org> (raw)
In-Reply-To: <CAFEAcA_PFSBdB0Uhb8K5aog0kj-HN=s_EBL=pQCkkNLuwUO42g@mail.gmail.com>
On 30/1/25 19:36, Peter Maydell wrote:
> On Thu, 30 Jan 2025 at 18:25, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>>
>> When not specified, Cortex-A9MP configures its GIC with 64 external
>> IRQs (see commit a32134aad89 "arm:make the number of GIC interrupts
>> configurable"). Add the GIC_EXT_IRQS definition (with a comment)
>> to make that explicit.
>>
>> Except explicitly setting a property value to its same implicit
>> value, there is no logical change intended.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>> ---
>> hw/arm/realview.c | 17 +++++++++++++++--
>> 1 file changed, 15 insertions(+), 2 deletions(-)
>>
>> diff --git a/hw/arm/realview.c b/hw/arm/realview.c
>> index 9900a98f3b8..4a62c83506b 100644
>> --- a/hw/arm/realview.c
>> +++ b/hw/arm/realview.c
>> @@ -35,6 +35,14 @@
>> #define SMP_BOOT_ADDR 0xe0000000
>> #define SMP_BOOTREG_ADDR 0x10000030
>>
>> +/*
>> + * The Cortex-A9MP may have anything from 0 to 224 external interrupt
>> + * IRQ lines (with another 32 internal). We default to 64+32, which
>> + * is the number provided by the Cortex-A9MP test chip in the
>> + * Realview PBX-A9 and Versatile Express A9 development boards.
>> + */
>
> On the other hand, this really *is* the Realview PBX-A9
> development board. So we can just say that that's the right
> number (and the vexpress is irrelevant, and the range of
> settings the CPU itself can have isn't very important either).
>
> (PS: there's no verb "to explicit" in English (ignoring some
> obscure obsolete ones); French "expliciter" => English "to make
> explicit"; or you in the case of the subject line here,
> "specify explicitly" is probably most natural.)
TIL, thanks :)
next prev parent reply other threads:[~2025-02-12 14:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-30 18:24 [PATCH 0/8] hw/arm: Explicit number of GIC external IRQs for Cortex A9/A15 MPCore Philippe Mathieu-Daudé
2025-01-30 18:24 ` [PATCH 1/8] hw/arm/exynos4210: Replace magic 32 by proper 'GIC_INTERNAL' definition Philippe Mathieu-Daudé
2025-02-04 14:06 ` Peter Maydell
2025-01-30 18:24 ` [PATCH 2/8] hw/arm/exynos4210: Explicit number of GIC external IRQs Philippe Mathieu-Daudé
2025-01-30 18:30 ` Peter Maydell
2025-01-30 19:39 ` Philippe Mathieu-Daudé
2025-01-30 18:24 ` [PATCH 3/8] hw/arm/realview: " Philippe Mathieu-Daudé
2025-01-30 18:36 ` Peter Maydell
2025-02-12 14:58 ` Philippe Mathieu-Daudé [this message]
2025-01-30 18:24 ` [PATCH 4/8] hw/arm/xilinx_zynq: Replace IRQ_OFFSET -> GIC_INTERNAL Philippe Mathieu-Daudé
2025-02-04 14:07 ` Peter Maydell
2025-01-30 18:24 ` [PATCH 5/8] hw/arm/xilinx_zynq: Explicit number of GIC external IRQs Philippe Mathieu-Daudé
2025-01-30 18:24 ` [PATCH 6/8] hw/arm/vexpress: " Philippe Mathieu-Daudé
2025-01-30 18:24 ` [PATCH 7/8] hw/arm/highbank: " Philippe Mathieu-Daudé
2025-01-30 18:24 ` [PATCH 8/8] hw/cpu/arm_mpcore: Remove default values for " Philippe Mathieu-Daudé
2025-02-04 14:13 ` 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=824c0c10-8aba-4778-b653-d0e2eb6115ea@linaro.org \
--to=philmd@linaro.org \
--cc=alistair@alistair23.me \
--cc=edgar.iglesias@gmail.com \
--cc=i.mitsyanko@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=robh@kernel.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).