Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp821989ybi; Fri, 31 May 2019 09:21:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDIZSiVgiMB27B2Yxd3UIrUorvpyhnKUsyqbMPE6OzlMldkTFfImoDeL7OVchk04WVhy7Z X-Received: by 2002:a17:90a:ae10:: with SMTP id t16mr10410148pjq.51.1559319692864; Fri, 31 May 2019 09:21:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559319692; cv=none; d=google.com; s=arc-20160816; b=ilfXhaOIL7mr86i/gO7oHBxBzD0qBcvptCGVp9tDSsvRxe8fkJPyk0kMGrneVJ2jtM K3Noj8A/i4UgIazkXe30/ciyHWhSiPUy1x1NagF64YY1j/3VctlKOl2/fKCaVIS9RyBa Kjpitq6jvvLHWsQ0vMvKz7M3ALXcFEIsEx4nATM8wKqPzzXrQKaM5TScJ7S+HVr1qJTh hAnmm6lLjqzR2vpjdiEr4d+SqDckrXrAmT0GyCQ32+jzqg74iGzwM6P0Cz49XyGYXqkm tyCA/2sODmnAwgGf7LUTJVqZs+Ylzn5Qk3vqnRyp6ae1tDGbr/LWvMxJ9xB87N1wgShF plkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WyCYbdU1QH9E8WYNbHdbS4cJw7wh4/F7cu7D+P+Vm+g=; b=RXAknsUxrCJm+JQU71nYiEtDCbo+HCIqK1SLIRerc2JQpO0DXFM+ghGWEdRadnG0uW VJ9g6ECsmyuIKQNcjAwAZF4soyCe4aKFvEk3nPOxUbWfIRA6/LvIlzFyn9G/+7COqnMD 8W08SDUJ43kr/bUWUXS/qFEn4oiuvvusvzR2gfZO1FMOj1S6KB1iIgLEqHJaUruHlCmK vZUup/v24adSzZuRO35XTWWmM4nGOzAr4EE3NMIW3CFDdGRc4ENVKfOY/Wa6oRMEGsVE 9ovpExm/DbIeNWeJBJI6Idx7yGbSOUw9vWPiI2HCkiJx/qJytGdrwq/31lwLgeYd6TXv Yq9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t188si6543116pgc.228.2019.05.31.09.21.15; Fri, 31 May 2019 09:21:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726808AbfEaQT7 (ORCPT + 99 others); Fri, 31 May 2019 12:19:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45696 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbfEaQT6 (ORCPT ); Fri, 31 May 2019 12:19:58 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 706A6C0A4F4C; Fri, 31 May 2019 16:19:58 +0000 (UTC) Received: from treble (ovpn-124-142.rdu2.redhat.com [10.10.124.142]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C20462FC59; Fri, 31 May 2019 16:19:56 +0000 (UTC) Date: Fri, 31 May 2019 11:19:52 -0500 From: Josh Poimboeuf To: Jiri Kosina Cc: Andy Lutomirski , Andy Lutomirski , "Rafael J. Wysocki" , "Rafael J. Wysocki" , Thomas Gleixner , the arch/x86 maintainers , Pavel Machek , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Peter Zijlstra , Linux PM , Linux Kernel Mailing List Subject: Re: [PATCH v4] x86/power: Fix 'nosmt' vs. hibernation triple fault during resume Message-ID: <20190531161952.dps3grwg4ytrpuqw@treble> References: <20190531051456.fzkvn62qlkf6wqra@treble> <5564116.e9OFvgDRbB@kreacher> <20190531152626.4nmyc7lj6mjwuo2v@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 31 May 2019 16:19:58 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 31, 2019 at 05:41:18PM +0200, Jiri Kosina wrote: > On Fri, 31 May 2019, Josh Poimboeuf wrote: > > > The only question I'd have is if we have data on the power savings > > difference between hlt and mwait. mwait seems to wake up on a lot of > > different conditions which might negate its deeper sleep state. > > hlt wakes up on basically the same set of events, but has the > auto-restarting semantics on some of them (especially SMM). So the wakeup > frequency itself shouldn't really contribute to power consumption > difference; it's the C-state that mwait allows CPU to enter. Ok. I reluctantly surrender :-) For your v4: Reviewed-by: Josh Poimboeuf It works as a short term fix, but it's fragile, and it does feel like we're just adding more duct tape, as Andy said. -- Josh