From: Florian Fainelli <florian.fainelli@broadcom.com>
To: "Linus Walleij" <linusw@kernel.org>,
"Ho Jie Feng" <hjf3108@gmail.com>,
"Marc Zyngier" <maz@kernel.org>,
"Broadcom internal kernel review list"
<bcm-kernel-feedback-list@broadcom.com>,
"William Zhang" <william.zhang@broadcom.com>,
"Anand Gore" <anand.gore@broadcom.com>,
"Kursad Oney" <kursad.oney@broadcom.com>,
"Rafał Miłecki" <rafal@milecki.pl>
Cc: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] ARM: bcm: Send the BCMBCA CFE wakeup SGI directly
Date: Fri, 4 Dec 2026 19:53:50 -0800 [thread overview]
Message-ID: <60b23a8c-30d0-4d7a-be0d-4031f34dcb25@broadcom.com> (raw)
In-Reply-To: <20261202-bcmbca-smp-gicv2-v2-1-da89fbb5dbb8@kernel.org>
On 12/2/2026 1:23 PM, Linus Walleij wrote:
> The GICv2 driver learns a CPU's target bit when that CPU starts.
> Before then, its provisional target mask can address multiple CPU
> interfaces. CFE wakes the secondary when an interrupt arrives, so
> use an explicit target for this first SGI.
>
> Map the Cortex-A7 GIC distributor using the CPU node's interrupt
> parent in DeviceTree. Use the core ID from MPIDR affinity level 0 as
> the target bit in the integrated Cortex-A7 GIC. Keep the barrier that
> completes the CFE mailbox write before sending SGI 0 to that target.
>
> Suggested-by: Marc Zyngier <maz@kernel.org>
> Link: https://lore.kernel.org/linux-arm-kernel/20261123142203.3860616-3-hjf3108@gmail.com/
> Fixes: db4d1458f203 ("ARM: bcm: Add CFE SMP support for BCMBCA")
> Tested-by: Ho Jie Feng <hjf3108@gmail.com>
> Signed-off-by: Linus Walleij <linusw@kernel.org>
Marc, are you OK with that patch? If so, I will take it through the
Broadcom SoC tree. Thanks!
--
Florian
next prev parent reply other threads:[~2026-12-05 3:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 21:23 [PATCH v2] ARM: bcm: Send the BCMBCA CFE wakeup SGI directly Linus Walleij
2026-12-03 4:12 ` Jie Feng
2026-12-05 3:53 ` Florian Fainelli [this message]
2026-12-05 9:35 ` Marc Zyngier
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=60b23a8c-30d0-4d7a-be0d-4031f34dcb25@broadcom.com \
--to=florian.fainelli@broadcom.com \
--cc=anand.gore@broadcom.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=hjf3108@gmail.com \
--cc=kursad.oney@broadcom.com \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=maz@kernel.org \
--cc=rafal@milecki.pl \
--cc=william.zhang@broadcom.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