From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754009AbdAZXkt convert rfc822-to-8bit (ORCPT ); Thu, 26 Jan 2017 18:40:49 -0500 Received: from mga02.intel.com ([134.134.136.20]:55843 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754016AbdAZXkj (ORCPT ); Thu, 26 Jan 2017 18:40:39 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,292,1477983600"; d="scan'208";a="36037208" From: "Stanton, Kevin B" To: Thomas Gleixner , Roland Scheidegger CC: LKML , "x86@kernel.org" , Peter Zijlstra , Borislav Petkov , "Schlobohm, Bruce" , Allen Hung , "Sharon, Barak" , "Segev, Gil" Subject: RE: [patch 0/2] tsc/adjust: Cure suspend/resume issues and prevent TSC deadline timer irq storm Thread-Topic: [patch 0/2] tsc/adjust: Cure suspend/resume issues and prevent TSC deadline timer irq storm Thread-Index: AQHSVUNPlmRAwHvOnk2mDE97dWJWe6EGmQyAgAADc4CAAJQIgIAAYyAAgADh44CAAAtmAIAAFJ4AgACyDICAQl3RsA== Date: Thu, 26 Jan 2017 23:40:10 +0000 Deferred-Delivery: Thu, 26 Jan 2017 23:39:42 +0000 Message-ID: <487620E8DE6666469C4E4133DA94A0EF331D70C1@FMSMSX108.amr.corp.intel.com> References: <20161213131115.764824574@linutronix.de> <33d4286c-3f77-1274-34b7-bc62d2c146a4@hispeed.ch> <357e0a0f-af6b-2a8e-2af0-b05652ccbb30@hispeed.ch> <036e72e3-3686-4f69-eea5-c41747ef0019@hispeed.ch> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.107] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thurs, 15 Dec 2016, Thomas Gleixner wrote: >See the SDM. It suggests that the deadline is compared to the TSC value. >I don't care how it is implemented, but I very much care about it being >documented in the way it is implemented, which is obviously not the case. The TSC_DEADLINE behavior definitely diverges from the SDM and we've root caused the issue and are finalizing a fix that addresses the problem. Glad that a software workaround was also possible. We also plan to expand our documentation on what good behavior of a BIOS is as it relates to adjusting TSC at boot (in almost every circumstance you shouldn't do it). The official errata will be forthcoming. Thank you for helping to identify this. Kevin