[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200308143907.51f8eddc@why>
Date: Sun, 8 Mar 2020 14:39:07 +0000
From: Marc Zyngier <maz@...nel.org>
To: Atish Patra <atish.patra@....com>
Cc: linux-kernel@...r.kernel.org, Anup Patel <anup@...infault.org>,
Albert Ou <aou@...s.berkeley.edu>,
Anju T Sudhakar <anju@...ux.vnet.ibm.com>,
Anup Patel <anup.patel@....com>, Borislav Petkov <bp@...e.de>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
James Morse <james.morse@....com>,
Jason Cooper <jason@...edaemon.net>,
linux-riscv@...ts.infradead.org,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Steven Price <steven.price@....com>,
Thomas Gleixner <tglx@...utronix.de>,
Ulf Hansson <ulf.hansson@...aro.org>,
Vincent Chen <vincent.chen@...ive.com>
Subject: Re: [PATCH v3 1/2] irqchip/sifive-plic: Enable/Disable external
interrupts upon cpu online/offline
On Sun, 8 Mar 2020 13:59:31 +0000
Marc Zyngier <maz@...nel.org> wrote:
> On Mon, 2 Mar 2020 15:11:45 -0800
> Atish Patra <atish.patra@....com> wrote:
>
> > Currently, PLIC threshold is only initialized once in the beginning.
> > However, threshold can be set to disabled if a CPU is marked offline with
> > CPU hotplug feature. This will not allow to change the irq affinity to a
> > CPU that just came online.
> >
> > Add PLIC specific CPU hotplug callbacks and enable the threshold when a CPU
> > comes online. Take this opportunity to move the external interrupt enable
> > code from trap init to PLIC driver as well. On cpu offline path, the driver
> > performs the exact opposite operations i.e. disable the interrupt and
> > the threshold.
> >
> > Signed-off-by: Atish Patra <atish.patra@....com>
> > Reviewed-by: Anup Patel <anup@...infault.org>
>
> Both patches queued for 5.7 (please add a cover letter when sending a
> patch series).
Apologies, there was a cover letter. I just messed my filters... ;-)
M.
--
Jazz is not dead. It just smells funny...
Powered by blists - more mailing lists