From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@vger.kernel.org, "Paul Burton" <paulburton@kernel.org>,
"Paul Cercueil" <paul@crapouillou.net>,
"Stephen Boyd" <sboyd@kernel.org>,
"Brian Masney" <bmasney+clk@redhat.com>,
"Jerome Brunet" <jbrunet+clk@baylibre.com>,
"周琰杰 (Zhou Yanjie)" <zhouyanjie@wanyeetech.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"open list" <linux-kernel@vger.kernel.org>,
"open list:COMMON CLK FRAMEWORK" <linux-clk@vger.kernel.org>,
hns@goldelico.com, paul@boddie.org.uk
Subject: Re: [PATCH v6 0/4] MIPS: CI20: Enable SMP with two CPUs
Date: Tue, 17 Nov 2026 17:59:51 +0100 [thread overview]
Message-ID: <avyIB2SOZwjqnKNc@alpha.franken.de> (raw)
In-Reply-To: <20261113190836.470937-1-f.fainelli@gmail.com>
On Fri, Nov 13, 2026 at 11:08:32AM -0800, Florian Fainelli wrote:
> This patch series resurrects SMP support for the CI20 board. This was
> submitted back in 2020 by Zhou Yanjie.
>
> Changes in v6:
>
> • Added missing Signed-off-by tag to patch #2
>
> Changes in v5:
>
> • Added changelog per-patch
> • Split the generic IPI setup check
> • Added comments explaining both need_resched()
> • Removed void Reviewed/Tested-by tags
>
> Changes in v4:
>
> • Enable the secondary CPU clock outside the raw spinlock
> • Mark enumerated CPUs present and assign hardware core IDs
> • Skip generic IPI allocation when the platform supplies both IPI callbacks
> • Fix generic 64-bit builds using CKSEG aliases and pointer-sized assembly macros
> • Reject unsupported CPU offlining with -EOPNOTSUPP
> • Restrict the XBurst SMP idle handler to multicore systems and recheck
> pending interrupts after flushing the cache
>
> Changes in v3:
>
> • Align the second line of the readl_poll_timeout_atomic() per Brian's
> feedback
> • Collected Paul's R-b and T-b tags
>
> Changes in v2:
>
> • Moved SMP sources to arch/mips/ingenic/ and the header to arch/mips/include/asm/
> • Removed CONFIG_MIPS_INGENIC_SMP, using CONFIG_MACH_JZ4780 and CONFIG_SMP directly
> • Renamed JZ4780-specific SMP symbols to XBurst names
> • Changed CPU enumeration to assign consecutive logical IDs and removed the explicit two-core limit
> • Changed mailbox IRQ allocation failure from panic to logging and returning
> • Shortened commit descriptions, removed Codex attribution, and adjusted source credits and sign-offs
> • Kept the clock polling patch and CI20 defconfig changes unchanged,
> added Paul's R-b for patch #1
> • Updated the kernel baseline to include additional upstream fixes
>
> Florian Fainelli (2):
> clk: ingenic: Poll JZ4780 CPU1 power status atomically
> MIPS: Skip generic IPI setup for platform-specific callbacks
>
> 周琰杰 (Zhou Yanjie) (2):
> MIPS: Ingenic: Add XBurst SMP support
> MIPS: CI20: Enable SMP with two CPUs
>
> MAINTAINERS | 3 +-
> arch/mips/Kbuild | 1 +
> arch/mips/configs/ci20_defconfig | 2 +
> arch/mips/generic/init.c | 3 +
> arch/mips/include/asm/ingenic-smp.h | 20 ++
> arch/mips/ingenic/Kconfig | 2 +
> arch/mips/ingenic/Makefile | 5 +
> arch/mips/ingenic/ingenic-smp-entry.S | 54 ++++++
> arch/mips/ingenic/ingenic-smp.c | 260 ++++++++++++++++++++++++++
> arch/mips/kernel/idle.c | 31 ++-
> arch/mips/kernel/smp.c | 6 +-
> drivers/clk/ingenic/jz4780-cgu.c | 4 +-
> 12 files changed, 386 insertions(+), 5 deletions(-)
> create mode 100644 arch/mips/include/asm/ingenic-smp.h
> create mode 100644 arch/mips/ingenic/Makefile
> create mode 100644 arch/mips/ingenic/ingenic-smp-entry.S
> create mode 100644 arch/mips/ingenic/ingenic-smp.c
>
series applied to mips-next
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
prev parent reply other threads:[~2026-11-17 17:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 19:08 Florian Fainelli
2026-11-13 19:08 ` [PATCH v6 1/4] clk: ingenic: Poll JZ4780 CPU1 power status atomically Florian Fainelli
2026-11-13 19:08 ` [PATCH v6 2/4] MIPS: Skip generic IPI setup for platform-specific callbacks Florian Fainelli
2026-11-16 16:06 ` Paul Cercueil
2026-11-13 19:08 ` [PATCH v6 3/4] MIPS: Ingenic: Add XBurst SMP support Florian Fainelli
2026-11-16 16:07 ` Paul Cercueil
2026-11-16 17:39 ` Florian Fainelli
2026-11-13 19:08 ` [PATCH v6 4/4] MIPS: CI20: Enable SMP with two CPUs Florian Fainelli
2026-11-13 20:51 ` (subset) [PATCH v6 0/4] " Brian Masney
2026-11-13 21:52 ` Florian Fainelli
2026-11-17 16:59 ` Thomas Bogendoerfer [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=avyIB2SOZwjqnKNc@alpha.franken.de \
--to=tsbogend@alpha.franken.de \
--cc=bmasney+clk@redhat.com \
--cc=f.fainelli@gmail.com \
--cc=hns@goldelico.com \
--cc=jbrunet+clk@baylibre.com \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=paul@boddie.org.uk \
--cc=paul@crapouillou.net \
--cc=paulburton@kernel.org \
--cc=sboyd@kernel.org \
--cc=zhouyanjie@wanyeetech.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
all inboxes | Powered by JetHome®