From: Ingo Molnar <mingo@kernel.org>
To: Nicholas Piggin <npiggin@gmail.com>
Cc: "kbuild test robot" <lkp@intel.com>,
"Peter Zijlstra" <peterz@infradead.org>,
kbuild-all@01.org, linux-kernel@vger.kernel.org,
tipbuild@zytor.com, "Frédéric Weisbecker" <fweisbec@gmail.com>
Subject: Re: [tip:sched/core 24/27] kernel/power/suspend.c:431:10: error: implicit declaration of function 'suspend_disable_secondary_cpus'
Date: Sat, 4 May 2019 02:50:16 +0200 [thread overview]
Message-ID: <20190504005016.GA114514@gmail.com> (raw)
In-Reply-To: <1556927451.rwdz1vqk9f.astroid@bobo.none>
* Nicholas Piggin <npiggin@gmail.com> wrote:
> Peter Zijlstra's on May 4, 2019 2:04 am:
> > On Fri, May 03, 2019 at 08:34:57PM +0800, kbuild test robot wrote:
> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
> >> head: 65874bd36e6ae3028539e989bfb5c28ad457368e
> >> commit: c2cb30bfceceba8a2a0d5713230a250dd6140e22 [24/27] power/suspend: Add function to disable secondaries for suspend
> >> config: x86_64-randconfig-l3-05031806 (attached as .config)
> >> compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
> >> reproduce:
> >> git checkout c2cb30bfceceba8a2a0d5713230a250dd6140e22
> >> # save the attached .config to linux build tree
> >> make ARCH=x86_64
> >>
> >
> > The below appears to fix.
> >
> >
> > --- a/include/linux/cpu.h
> > +++ b/include/linux/cpu.h
> > @@ -150,6 +150,8 @@ static inline void suspend_enable_second
> > #else /* !CONFIG_PM_SLEEP_SMP */
> > static inline int disable_nonboot_cpus(void) { return 0; }
> > static inline void enable_nonboot_cpus(void) {}
> > +static inline int suspend_disable_secondary_cpus(void) { return 0; }
> > +static inline void suspend_enable_secondary_cpus(void) { }
> > #endif /* !CONFIG_PM_SLEEP_SMP */
> >
> > void cpu_startup_entry(enum cpuhp_state state);
> >
>
> Oops, thanks for that, it looks okay.
I back-merged the fix into tip:sched/core.
For these bits to make it upstream in the merge window which starts in
two days, Frederic's questions about this patch need to be addressed:
Re: [tip:sched/core] sched/isolation: Require a present CPU in housekeeping mask
Thanks,
Ingo
prev parent reply other threads:[~2019-05-04 0:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-03 12:34 [tip:sched/core 24/27] kernel/power/suspend.c:431:10: error: implicit declaration of function 'suspend_disable_secondary_cpus' kbuild test robot
2019-05-03 16:04 ` Peter Zijlstra
2019-05-03 23:51 ` Nicholas Piggin
2019-05-04 0:50 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190504005016.GA114514@gmail.com \
--to=mingo@kernel.org \
--cc=fweisbec@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=npiggin@gmail.com \
--cc=peterz@infradead.org \
--cc=tipbuild@zytor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.