From: Tvrtko Ursulin <tursulin@ursulin.net>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: smpboot: do_boot_cpu failed(-1) to wakeup CPU#0
Date: Tue, 13 Feb 2018 14:51:57 +0000 [thread overview]
Message-ID: <fb486edb-2da9-6ef3-8eb4-59c725995689@ursulin.net> (raw)
In-Reply-To: <alpine.DEB.2.21.1802131533160.1130@nanos.tec.linutronix.de>
Hi,
On 13/02/18 14:39, Thomas Gleixner wrote:
> On Tue, 13 Feb 2018, Tvrtko Ursulin wrote:
>> On 07/02/18 12:48, Tvrtko Ursulin wrote:
>>> We are seeing failures to online the CPU0 on Apollo Lake in the form of:
>>>
>>> <6>[ 126.508783] smpboot: CPU 0 is now offline
>>> <6>[ 127.520746] smpboot: Booting Node 0 Processor 0 APIC 0x0
>>> <3>[ 137.521036] smpboot: do_boot_cpu failed(-1) to wakeup CPU#0
>>>
>>> I unfortunately cannot say with which kernel version this started since
>>> we added a test which does this only recently. I also have no local
>>> access to this machine. (It is part of a test farm for i915 driver
>>> development testing.) But we recently added a test which off-lines, and
>>> on-lines back, CPUs and started seeing this. Small reproducer looks like
>>> this (without boilerplate):
>>
>> Any hints on how to debug this? Could it be firwmare? Try some boot options or
>> something?
>
> There are issues with CPU0 hotplug on commodity hardware. I have systems
> where it does not work, but TBH I never bothered to investigate it. Some
> years ago we had issues with suspend/resume when it was not running on
> CPU0. These were related to firmware assumptions about CPU0. So I wouldn't
> be too surprised if there are general issues with unplugging CPU0.
>
> CPU0 unplug is really only relevant for systems which support physical
> hotplug, so testing it on commodity hardware does not have much
> value. Testing in VMs for increasing the test coverage works well enough.
Thanks, that explains it.
We actually use CPU hotplug just to test if the PMU event migration and
accounting works as expected in i915 PMU. And since, luckily, the issue
with CPU0 hotplug manifests only on one of the test systems, I think we
will just skip this test on that machine.
Thanks again!
Tvrtko
prev parent reply other threads:[~2018-02-13 14:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-07 12:48 Tvrtko Ursulin
2018-02-13 12:45 ` Tvrtko Ursulin
2018-02-13 14:39 ` Thomas Gleixner
2018-02-13 14:51 ` Tvrtko Ursulin [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=fb486edb-2da9-6ef3-8eb4-59c725995689@ursulin.net \
--to=tursulin@ursulin.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®