From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752221AbcKIGIn (ORCPT ); Wed, 9 Nov 2016 01:08:43 -0500 Received: from mail-oi0-f41.google.com ([209.85.218.41]:33569 "EHLO mail-oi0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750967AbcKIGIj (ORCPT ); Wed, 9 Nov 2016 01:08:39 -0500 MIME-Version: 1.0 In-Reply-To: <20161109035418.GA18246@shbuild888> References: <20160809172057.GZ4329@intel.com> <20161027172852.GE4617@intel.com> <20161027192006.GF4617@intel.com> <20161027203745.GH4617@intel.com> <20161028155603.GI4617@intel.com> <20161101204737.GB4617@intel.com> <20161109035418.GA18246@shbuild888> From: Linus Torvalds Date: Tue, 8 Nov 2016 22:08:37 -0800 X-Google-Sender-Auth: oRZmaGEqLB66Jg_BWHpqOLnNuf8 Message-ID: Subject: Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")] To: Feng Tang Cc: =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= , Thomas Gleixner , Feng Tang , "Rafael J. Wysocki" , "Wysocki, Rafael J" , Steven Rostedt , Sebastian Andrzej Siewior , "linux-arch@vger.kernel.org" , Rik van Riel , "Srivatsa S. Bhat" , Peter Zijlstra , Arjan van de Ven , Rusty Russell , Oleg Nesterov , Tejun Heo , Andrew Morton , Paul McKenney , Paul Turner , Linux Kernel Mailing List , "Zhang, Rui" , "Brown, Len" , Linux PM , Linux ACPI Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id uA968lHQ012430 On Tue, Nov 8, 2016 at 7:54 PM, Feng Tang wrote: > On Wed, Nov 02, 2016 at 04:47:37AM +0800, Ville Syrjälä wrote: >> >> I left the thing running for the weekend and it failed 26 out of 16057 >> times with the 25ms timeout. Looks like it takes ~5 minutes to resume >> when it fails, but eventually it does come back. > > Just came back from a travel. Yes, the 5 minutes delay may be due to the > expiration of the HPET timer, counting from 0 to 0xffffffff for a 13M > frequencey HPET takes about 300 seconds. After resume, it seems nobody > arms it so my old patch forces to arm one event. Ville, what happens if you disable HPET? Can you force the TSC with "clocksource=tsc" or "tsc=reliable". Does resume work reliably then? Or is this one of the CPU's where tsc just doesn't work? Linus