Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp774162ybi; Fri, 31 May 2019 08:42:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrUndyK5jf2Y/IGV/cmuxT12Jvx3cDLaAJxBoR/aniym4nztTNiQnpkjdFdDqVjkXG9Pi/ X-Received: by 2002:a17:90a:17cb:: with SMTP id q69mr10269309pja.106.1559317371743; Fri, 31 May 2019 08:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559317371; cv=none; d=google.com; s=arc-20160816; b=xtkkbM837dGsbmQ/StZVPvwYcwb9umU3X18AvFVN8xDkC+sT2pQ+k/H6RExBCozost BEr14M6ScJCqXEZRaeZQqHSA2S1/3l6cgJV0IA1DABmXRWXHE9cA4DUqH+VCtnhQJTZ5 eVE0mT4rE9PUoOzyF/Pqru0zyTcIAcdL9MHgn0sFwPU+ZWqrh168Ri0tdMFLV5C0NCCn u0p4Jj1Gs9Mwh5iRUQ4DhSl+benftK97SiyvzhfsZcvqZOQduTs2FCjIRxuMyowwLrho AnKzNa98VSRtooP0duUXD/NNEh4a/HtnALcrZgY3XbI3nm7uJUgAXWUzxH8z4zDQH7UT diKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=6PfoGf8hqk3Pi8QANCoFEMPbNvW7Pi6J/FvpNaUwiAQ=; b=g3ubLr94eCL0i4hwMDvDLqjon2R814EtvRmpSO3eFUUAcGgdJLPjirAkr0DCbE055S OTf+2JNPKxvC1GdTGcWKtWUmaehp1KOBuB1Ro+UMHpvBnUvdlQG/zLr/X9hlCVuHVp8J LtLJdNLJkcL8iLOMGSzXiQKYDZzwgYZx+Vn8o3pHWqcd5rdcFArziH1l0XJPo/A1wlnj VjMzBlA/1Cq75fbMWyAi5OeWYTTfMMFm4zsw3A5eMcpEn5AjF7jKnH48Z8W2Qixf5jYh iLl1S47CWKyI0edy+xeNSbRT1b588g/+j7FNAKX3RnkEddgR8y8HhKF59b8yRMemYQYV g60A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MQ71Jgjq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j18si6311950pgm.561.2019.05.31.08.42.33; Fri, 31 May 2019 08:42:51 -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; dkim=pass header.i=@kernel.org header.s=default header.b=MQ71Jgjq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbfEaPlY (ORCPT + 99 others); Fri, 31 May 2019 11:41:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:56526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726518AbfEaPlX (ORCPT ); Fri, 31 May 2019 11:41:23 -0400 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 88326218D1; Fri, 31 May 2019 15:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559317283; bh=BxGnRRyjsJ2ho3R155gccJhBEQUfHmioJfLv8ziidDU=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=MQ71Jgjq0+N+7J+4gRi7i6TKqN9b2w1EPDyf8QSzCgcpqDVvqe3Tsm+BSszQGMPPn /ftq/7Jo0p/gIRQTHJ3DS4pK5LmXCLzMJcphtO12dKq/Nin7SsZKYoOTNVD/JL1oMs YU64CS6nEtiunbTg0imU8NUzfcqrVHB0ixPAjsOE= Date: Fri, 31 May 2019 17:41:18 +0200 (CEST) From: Jiri Kosina To: Josh Poimboeuf 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 In-Reply-To: <20190531152626.4nmyc7lj6mjwuo2v@treble> Message-ID: References: <20190531051456.fzkvn62qlkf6wqra@treble> <5564116.e9OFvgDRbB@kreacher> <20190531152626.4nmyc7lj6mjwuo2v@treble> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, -- Jiri Kosina SUSE Labs