From: Yanteng Si <si.yanteng@linux.dev>
To: Tianyang Zhang <zhangtianyang@loongson.cn>,
chenhuacai@kernel.org, kernel@xen0n.name, corbet@lwn.net,
alexs@kernel.org, tglx@linutronix.de, jiaxun.yang@flygoat.com,
peterz@infradead.org, wangliupu@loongson.cn,
lvjianmin@loongson.cn, maobibo@loongson.cn,
siyanteng@cqsoftware.com.cn, gaosong@loongson.cn,
yangtiezhu@loongson.cn
Cc: loongarch@lists.linux.dev, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] Docs/LoongArch: Add Advanced Extended-Redirect IRQ model description
Date: Tue, 1 Apr 2025 09:39:57 +0800 [thread overview]
Message-ID: <d9b6f34c-95f2-45f6-b5dc-89098d1f8d22@linux.dev> (raw)
In-Reply-To: <20250331064116.32540-2-zhangtianyang@loongson.cn>
在 3/31/25 2:41 PM, Tianyang Zhang 写道:
> Introduce the redirect interrupt controllers.When the redirect interrupt
> controller is enabled, the routing target of MSI interrupts is no longer a
> specific CPU and vector number, but a specific redirect entry. The actual
> CPU and vector number used are described by the redirect entry.
>
> Signed-off-by: Tianyang Zhang <zhangtianyang@loongson.cn>
> ---
> .../arch/loongarch/irq-chip-model.rst | 38 +++++++++++++++++++
> .../zh_CN/arch/loongarch/irq-chip-model.rst | 37 ++++++++++++++++++
> 2 files changed, 75 insertions(+)
>
> diff --git a/Documentation/arch/loongarch/irq-chip-model.rst b/Documentation/arch/loongarch/irq-chip-model.rst
> index a7ecce11e445..84fafb86ec17 100644
> --- a/Documentation/arch/loongarch/irq-chip-model.rst
> +++ b/Documentation/arch/loongarch/irq-chip-model.rst
> @@ -181,6 +181,44 @@ go to PCH-PIC/PCH-LPC and gathered by EIOINTC, and then go to CPUINTC directly::
> | Devices |
> +---------+
>
> +Advanced Extended IRQ model (with redirection)
> +===============
Did you do the build test?
> +
> +In this model, IPI (Inter-Processor Interrupt) and CPU Local Timer interrupt go
> +to CPUINTC directly, CPU UARTS interrupts go to LIOINTC, PCH-MSI interrupts go
> +to REDIRECT for remapping it to AVEC, and then go to CPUINTC directly, while all
> +other devices interrupts go to PCH-PIC/PCH-LPC and gathered by EIOINTC, and then
> +go to CPUINTC directly::
> +
> + +-----+ +-----------------------+ +-------+
> + | IPI | --> | CPUINTC | <-- | Timer |
> + +-----+ +-----------------------+ +-------+
> + ^ ^ ^
> + | | |
> + +---------+ +----------+ +---------+ +-------+
> + | EIOINTC | | AVECINTC | | LIOINTC | <-- | UARTs |
> + +---------+ +----------+ +---------+ +-------+
> + ^ ^
> + | |
> + | +----------+
> + | | REDIRECT |
> + | +----------+
> + | ^
> + | |
> + +---------+ +---------+
> + | PCH-PIC | | PCH-MSI |
> + +---------+ +---------+
> + ^ ^ ^
> + | | |
> + +---------+ +---------+ +---------+
> + | Devices | | PCH-LPC | | Devices |
> + +---------+ +---------+ +---------+
> + ^
> + |
> + +---------+
> + | Devices |
> + +---------+
> +
> ACPI-related definitions
> ========================
>
> diff --git a/Documentation/translations/zh_CN/arch/loongarch/irq-chip-model.rst b/Documentation/translations/zh_CN/arch/loongarch/irq-chip-model.rst
> index d4ff80de47b6..5d82cba07482 100644
> --- a/Documentation/translations/zh_CN/arch/loongarch/irq-chip-model.rst
> +++ b/Documentation/translations/zh_CN/arch/loongarch/irq-chip-model.rst
> @@ -174,6 +174,43 @@ CPU串口(UARTs)中断发送到LIOINTC,PCH-MSI中断发送到AVECINTC,
> | Devices |
> +---------+
>
> +高级扩展IRQ模型 (带重定向)
> +===============
ditto
Thanks,
Yanteng
next prev parent reply other threads:[~2025-04-01 1:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-31 6:41 [PATCH v2 0/2] Loongarch irq-redirect supprot Tianyang Zhang
2025-03-31 6:41 ` [PATCH v2 1/2] Docs/LoongArch: Add Advanced Extended-Redirect IRQ model description Tianyang Zhang
2025-04-01 1:39 ` Yanteng Si [this message]
2025-04-16 2:29 ` Tianyang Zhang
2025-03-31 6:41 ` [PATCH v2 2/2] irq/irq-loongarch-ir:Add Redirect irqchip support Tianyang Zhang
2025-04-01 2:15 ` Yanteng Si
2025-04-16 2:36 ` Tianyang Zhang
2025-04-01 7:14 ` Thomas Gleixner
2025-04-17 2:19 ` Tianyang Zhang
2025-04-01 12:30 ` Huacai Chen
2025-04-17 2:20 ` Tianyang Zhang
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=d9b6f34c-95f2-45f6-b5dc-89098d1f8d22@linux.dev \
--to=si.yanteng@linux.dev \
--cc=alexs@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=corbet@lwn.net \
--cc=gaosong@loongson.cn \
--cc=jiaxun.yang@flygoat.com \
--cc=kernel@xen0n.name \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=lvjianmin@loongson.cn \
--cc=maobibo@loongson.cn \
--cc=peterz@infradead.org \
--cc=siyanteng@cqsoftware.com.cn \
--cc=tglx@linutronix.de \
--cc=wangliupu@loongson.cn \
--cc=yangtiezhu@loongson.cn \
--cc=zhangtianyang@loongson.cn \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.