From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751317AbdBLT5q (ORCPT ); Sun, 12 Feb 2017 14:57:46 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:37309 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999AbdBLT5p (ORCPT ); Sun, 12 Feb 2017 14:57:45 -0500 Date: Sun, 12 Feb 2017 20:57:42 +0100 From: Pavel Machek To: Woody Suwalski Cc: "Rafael J. Wysocki" , kernel list , tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com Subject: Re: 4.10-rc1: thinkpad x60: who ate my cpu? Message-ID: <20170212195742.GA6264@amd> References: <20170108221721.GB4878@amd> <20170109093001.GA30709@amd> <41553b16-c527-d99b-b56b-31d6a08a7e8a@gmail.com> <20170114113054.GA22012@amd> <20170115095656.GA16524@amd> <1614c21c-3626-074e-e3c3-26e9cd200454@gmail.com> <3c3d35ac-e4e4-6a6c-a78e-b0478ff39726@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <3c3d35ac-e4e4-6a6c-a78e-b0478ff39726@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > >The kernel is 4.8.17 EOL, installed almost a month ago. > >Platform ThinkPad x60, Intel(R) Core(TM) Duo CPU T2400 @ 1.83GHz > > > >In dmesg I see that it used to be when 2 CPUs were OK: > >[690409.476107] PM: noirq suspend of devices complete after 79.914 msecs > >[690409.476547] ACPI: Preparing to enter system sleep state S3 > >[690409.780081] ACPI : EC: EC stopped > >[690409.780083] PM: Saving platform NVS memory > >[690409.780284] Disabling non-boot CPUs ... > >[690409.805284] smpboot: CPU 1 is now offline > >[690409.816464] ACPI: Low-level resume complete > >[690409.816464] ACPI : EC: EC started > >[690409.816464] PM: Restoring platform NVS memory > >[690409.816464] Enabling non-boot CPUs ... > >[690409.840574] x86: Booting SMP configuration: > >[690409.840576] smpboot: Booting Node 0 Processor 1 APIC 0x1 > >[690409.805271] Initializing CPU#1 > >[690409.805271] Disabled fast string operations > >[690409.888252] cache: parent cpu1 should not be sleeping > >[690409.920185] CPU1 is up > >[690409.922288] ACPI: Waking up from system sleep state S3 > > > >Then the CPU1 failed to start: > > > >[691329.776108] PM: noirq suspend of devices complete after 79.941 msecs > >[691329.776550] ACPI: Preparing to enter system sleep state S3 > >[691330.080081] ACPI : EC: EC stopped > >[691330.080083] PM: Saving platform NVS memory > >[691330.080284] Disabling non-boot CPUs ... > >[691330.105303] smpboot: CPU 1 is now offline > >[691330.116477] ACPI: Low-level resume complete > >[691330.116477] ACPI : EC: EC started > >[691330.116477] PM: Restoring platform NVS memory > >[691330.116477] Enabling non-boot CPUs ... > >[691330.140570] x86: Booting SMP configuration: > >[691330.140572] smpboot: Booting Node 0 Processor 1 APIC 0x1 > >[691340.140015] smpboot: do_boot_cpu failed(-1) to wakeup CPU#1 > >[691340.164445] Error taking CPU1 up: -5 > >[691340.166309] ACPI: Waking up from system sleep state S3 > > > >And now it is: > >[692517.868523] ACPI: Preparing to enter system sleep state S3 > >[692518.172074] ACPI : EC: EC stopped > >[692518.172076] PM: Saving platform NVS memory > >[692518.172269] Disabling non-boot CPUs ... > >[692518.172269] ACPI: Low-level resume complete > >[692518.172269] ACPI : EC: EC started > >[692518.172269] PM: Restoring platform NVS memory > >[692518.172269] ACPI: Waking up from system sleep state S3 > > > >Is there any test I could do on the CPU wakeup while in that state? > > > Is there a way to kick the offline-CPU into operation from /sys level? echo 0 > /sys/devices/system/cpu/cpu1/online should work. And... good thinking :-). Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAligvjYACgkQMOfwapXb+vIYjgCgu/pmP5qY0u4VQt2FFRUo2QrT AgYAmwUol6jaw51+2Kj0R2YbeT9LDE6p =UZJZ -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--