lkml.org 
[lkml]   [2022]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 04/36] cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE
    On Sat, Jul 30, 2022 at 02:40:32AM -0700, Michel Lespinasse wrote:
    > On Fri, Jul 29, 2022 at 08:26:22AM -0700, Paul E. McKenney wrote:> Would you be willing to try another shot in the dark, but untested
    > > this time? I freely admit that this is getting strange.
    > >
    > > Thanx, Paul
    >
    > Yes, adding this second change got rid of the boot time warning for me.

    OK, I will make a real patch. May I have your Tested-by?

    Thanx, Paul

    > > ------------------------------------------------------------------------
    > >
    > > diff --git a/kernel/sched/clock.c b/kernel/sched/clock.c
    > > index e374c0c923dae..279f557bf60bb 100644
    > > --- a/kernel/sched/clock.c
    > > +++ b/kernel/sched/clock.c
    > > @@ -394,7 +394,7 @@ notrace void sched_clock_tick(void)
    > > if (!static_branch_likely(&sched_clock_running))
    > > return;
    > >
    > > - lockdep_assert_irqs_disabled();
    > > + WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && !raw_irqs_disabled());
    > >
    > > scd = this_scd();
    > > __scd_stamp(scd);

    \
     
     \ /
      Last update: 2022-07-30 20:17    [W:2.213 / U:1.748 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site