Re: [patch 11/35] net: ionic: Replace in_interrupt() usage.

2020-09-29 Thread Thomas Gleixner
On Mon, Sep 28 2020 at 12:51, Shannon Nelson wrote: > On 9/28/20 10:24 AM, Shannon Nelson wrote: >>> ionic_lif_addr() can be called from: >>> >>>   1) ->ndo_set_rx_mode() which is under netif_addr_lock_bh()) so it >>> must not >>> sleep. >>> >>>   2) Init and setup functions which are in

Re: [patch 11/35] net: ionic: Replace in_interrupt() usage.

2020-09-28 Thread Shannon Nelson
On 9/28/20 10:24 AM, Shannon Nelson wrote: On 9/27/20 12:48 PM, Thomas Gleixner wrote: From: Sebastian Andrzej Siewior The in_interrupt() usage in this driver tries to figure out which context may sleep and which context may not sleep. in_interrupt() is not really suitable as it misses both

Re: [patch 11/35] net: ionic: Replace in_interrupt() usage.

2020-09-28 Thread Shannon Nelson
On 9/27/20 12:48 PM, Thomas Gleixner wrote: From: Sebastian Andrzej Siewior The in_interrupt() usage in this driver tries to figure out which context may sleep and which context may not sleep. in_interrupt() is not really suitable as it misses both preemption disabled and interrupt disabled

[patch 11/35] net: ionic: Replace in_interrupt() usage.

2020-09-27 Thread Thomas Gleixner
From: Sebastian Andrzej Siewior The in_interrupt() usage in this driver tries to figure out which context may sleep and which context may not sleep. in_interrupt() is not really suitable as it misses both preemption disabled and interrupt disabled invocations from task context. Conditionals