mbox series

[v3,0/2] cpu_pm: cpu_pm_notifier_chain vs PREEMPT_RT

Message ID 20210811201432.1976916-1-valentin.schneider@arm.com (mailing list archive)
Headers show
Series cpu_pm: cpu_pm_notifier_chain vs PREEMPT_RT | expand

Message

Valentin Schneider Aug. 11, 2021, 8:14 p.m. UTC
Hi folks,

This is v3 of:

  http://lore.kernel.org/r/20210811131405.1731576-1-valentin.schneider@arm.com

which addresses cpu_pm's notifier chain not playing nice with PREEMPT_RT.

Revisions
=========

v1 -> v2
++++++++

o Reword changelog; clarify comments (Sebastian)
o Delete atomic_notifier_call_chain_robust() (Sebastian)

Valentin Schneider (2):
  cpu_pm: Make notifier chain use a raw_spinlock_t
  notifier: Remove atomic_notifier_call_chain_robust()

 include/linux/notifier.h |  2 --
 kernel/cpu_pm.c          | 50 ++++++++++++++++++++++++++++++----------
 kernel/notifier.c        | 19 ---------------
 3 files changed, 38 insertions(+), 33 deletions(-)

Comments

Sebastian Andrzej Siewior Aug. 12, 2021, 7:13 a.m. UTC | #1
On 2021-08-11 21:14:30 [+0100], Valentin Schneider wrote:
> Hi folks,
> 
> This is v3 of:
> 
>   http://lore.kernel.org/r/20210811131405.1731576-1-valentin.schneider@arm.com
> 
> which addresses cpu_pm's notifier chain not playing nice with PREEMPT_RT.

Thank you.
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Sebastian
Rafael J. Wysocki Aug. 16, 2021, 4:56 p.m. UTC | #2
On Thu, Aug 12, 2021 at 9:13 AM Sebastian Andrzej Siewior
<bigeasy@linutronix.de> wrote:
>
> On 2021-08-11 21:14:30 [+0100], Valentin Schneider wrote:
> > Hi folks,
> >
> > This is v3 of:
> >
> >   http://lore.kernel.org/r/20210811131405.1731576-1-valentin.schneider@arm.com
> >
> > which addresses cpu_pm's notifier chain not playing nice with PREEMPT_RT.
>
> Thank you.
> Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Both patches applied as 5.15 material, thanks!