lkml.org 
[lkml]   [2021]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 12/14] PCI: hv: Use tasklet_disable_in_atomic()
    On Tue, Mar 09, 2021 at 09:42:15AM +0100, Thomas Gleixner wrote:
    > From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    >
    > The hv_compose_msi_msg() callback in irq_chip::irq_compose_msi_msg is
    > invoked via irq_chip_compose_msi_msg(), which itself is always invoked from
    > atomic contexts from the guts of the interrupt core code.
    >
    > There is no way to change this w/o rewriting the whole driver, so use
    > tasklet_disable_in_atomic() which allows to make tasklet_disable()
    > sleepable once the remaining atomic users are addressed.
    >
    > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    > Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

    Acked-by: Wei Liu <wei.liu@kernel.org>

    \
     
     \ /
      Last update: 2021-03-10 12:38    [W:4.020 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site