lkml.org 
[lkml]   [2021]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 2/3] irqchip/mips-gic: Get rid of the reliance on irq_cpu_online()
    From


    On 10/21/2021 10:04 AM, Marc Zyngier wrote:
    > The MIPS GIC driver uses irq_cpu_online() to go and program the
    > per-CPU interrupts. However, this method iterates over all IRQs
    > in the system, despite only 3 per-CPU interrupts being of interest.
    >
    > Let's be terribly bold and do the iteration ourselves. To ensure
    > mutual exclusion, hold the gic_lock spinlock that is otherwise
    > taken while dealing with these interrupts.
    >
    > Signed-off-by: Marc Zyngier <maz@kernel.org>

    Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
    --
    Florian

    \
     
     \ /
      Last update: 2021-10-26 04:18    [W:3.710 / U:0.316 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site