From: Marc Zyngier <maz@kernel.org>
To: Huacai Chen <chenhuacai@loongson.cn>
Cc: Huacai Chen <chenhuacai@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
loongarch@lists.linux.dev, Xuefeng Li <lixuefeng@loongson.cn>,
Guo Ren <guoren@kernel.org>, Xuerui Wang <kernel@xen0n.name>,
Jiaxun Yang <jiaxun.yang@flygoat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] LoongArch: Fix the !CONFIG_SMP build for irqchip drivers
Date: Wed, 10 Aug 2022 12:01:14 +0100 [thread overview]
Message-ID: <f92fc4f34784217206b53a3709538d5c@kernel.org> (raw)
In-Reply-To: <20220810103156.1214996-1-chenhuacai@loongson.cn>
On 2022-08-10 11:31, Huacai Chen wrote:
> 1, Guard get_ipi_irq() in CONFIG_SMP;
> 2, Define cpu_logical_map() for the EIOINTC driver;
> 3, Make eiointc_set_irq_affinity() return early for !CONFIG_SMP.
>
> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Frankly, the real question is why do you even bother? As far as
I can tell, LoongArch has no UP system.
arm64 crossed that bridge a long time ago, and we never looked
back, because these systems hardly exist.
I'd rather you simply have a CONFIG_SMP always set to 'y', and
be done with it forever.
M.
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2022-08-10 11:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-10 10:31 [PATCH] LoongArch: Fix the !CONFIG_SMP build for irqchip drivers Huacai Chen
2022-08-10 11:01 ` Marc Zyngier [this message]
2022-08-10 15:38 ` Huacai Chen
2022-08-11 0:58 ` WANG Xuerui
2022-08-11 6:56 ` Marc Zyngier
2022-08-11 8:44 ` Huacai Chen
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=f92fc4f34784217206b53a3709538d5c@kernel.org \
--to=maz@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=guoren@kernel.org \
--cc=jiaxun.yang@flygoat.com \
--cc=kernel@xen0n.name \
--cc=linux-kernel@vger.kernel.org \
--cc=lixuefeng@loongson.cn \
--cc=loongarch@lists.linux.dev \
--cc=tglx@linutronix.de \
/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.