[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b43910de5fa3bedbea69e1ca9a682a15@kernel.org>
Date: Thu, 02 Jul 2020 14:37:56 +0100
From: Marc Zyngier <maz@...nel.org>
To: Valentin Schneider <valentin.schneider@....com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Will Deacon <will@...nel.org>,
Catalin Marinas <catalin.marinas@....com>,
Russell King <linux@....linux.org.uk>,
Thomas Gleixner <tglx@...utronix.de>,
Jason Cooper <jason@...edaemon.net>,
Sumit Garg <sumit.garg@...aro.org>,
Florian Fainelli <f.fainelli@...il.com>,
Gregory Clement <gregory.clement@...tlin.com>,
Andrew Lunn <andrew@...n.ch>, kernel-team@...roid.com
Subject: Re: [PATCH v2 14/17] arm64: Kill __smp_cross_call and co
On 2020-06-25 19:25, Valentin Schneider wrote:
> On 24/06/20 20:58, Marc Zyngier wrote:
>> @@ -852,8 +841,7 @@ void arch_send_wakeup_ipi_mask(const struct
>> cpumask *mask)
>> #ifdef CONFIG_IRQ_WORK
>> void arch_irq_work_raise(void)
>> {
>> - if (__smp_cross_call)
>> - smp_cross_call(cpumask_of(smp_processor_id()), IPI_IRQ_WORK);
>> + smp_cross_call(cpumask_of(smp_processor_id()), IPI_IRQ_WORK);
>
> AIU the following commit:
>
> eb631bb5bf5b ("arm64: Support arch_irq_work_raise() via self IPIs")
>
> It seems arm64 hasn't needed that check since
>
> 4b3dc9679cf7 ("arm64: force CONFIG_SMP=y and remove redundant
> #ifdefs")
>
> Did I get that right?
Indeed. SMP implies being able to IPI, and thus the check has been
irrelevant for some time now.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
Powered by blists - more mailing lists