Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp482049ybb; Sat, 28 Mar 2020 03:41:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuacJ+6+JvQEq00yn1iBcBCh6ORUg+s9YT8iNY87LXYmymplfRg0xOjsnUU/EKeD6v0CqQ8 X-Received: by 2002:aca:484c:: with SMTP id v73mr1864710oia.138.1585392110916; Sat, 28 Mar 2020 03:41:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585392110; cv=none; d=google.com; s=arc-20160816; b=Ww1kZBV3lDscS3QgaQ8GrHYhOaNOR6X4rjCcPc5ehHd8cBHLGK9S5XaHybfquE9L7T 8QT4sqsyOGafBDNM71HTCO55422rvIXLKPcsgU5E8SNeh2E3MrqXBEXF8dZZ7vxE76VL bUW6GkUtL88AN/Q7ICSi4eUQ2yhVpJA9SvWq7dW8qsHwCOwdYvNuVtFD9REor74mk/vK oDUTdzv5g1jXsXBrMkVzcNhHsnHE7uZoFv/fAjtAmwJBYODWGrWBDKS8MbK+EqAlXhCQ yOVwwvQx7DoAy5E9HroJitlDJ+MzpwXi8AoXQoYoA9Q3gXcM2M1sZS5gdXQKn0k3K3wv GWmA== 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:ironport-sdr:ironport-sdr; bh=3gjzMk8iGTui0aiPcyW4dRM8ZVljim/t7M0AKJyYfJ0=; b=sPTggdTwu5bZ+qlhZaAdRtQRgOOdglS1G/ousBE5cFh5M4N8GtDAAXxM+/9tzLHKdE zi1LQ8d9owoyFhJS3u6ocz+AFS27HI7dZlfCH+h/tsxL9EbOrZY1c0HWJ2Sq7YkFy4h3 OLBh1PXzLYbaTYSxmp2KR6P8jgTr1T/3m5ZGdlpQetN9sCnLkUYwuvOfirI+E205GrPy kDoa42ayQ/6cm3T/c4B/5+vCHRIuOsewP8w83R4CJx6ln7BIISByKZVtLsELkyuDlhcI Brw53jauVwX9txBKscIZ9app1a4tPS5NvSqbIOobw8rIWWtxxAUoNKxxL9qAVIpLTXJO aUDw== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t84si1225977oib.131.2020.03.28.03.41.36; Sat, 28 Mar 2020 03:41:50 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726197AbgC1KlH (ORCPT + 99 others); Sat, 28 Mar 2020 06:41:07 -0400 Received: from mga02.intel.com ([134.134.136.20]:24251 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbgC1KlH (ORCPT ); Sat, 28 Mar 2020 06:41:07 -0400 IronPort-SDR: hBg2sFQHt1JubBncDNw55azrPrybNHMWrBnlIG0FTxnX4fe5ih5vfaYyRuY/lPpn/EM8IF1/r+ Q0eYptqAbkQw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2020 03:41:06 -0700 IronPort-SDR: Ty0aWSLn7xpvRb45MfRsnCppMnFf+6knk25yfjfkwR5OCsTTF24GCKsio6GBkmz3/D3rLsgV3l Dk6wYFjpylZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,316,1580803200"; d="scan'208";a="271856236" Received: from chenyu-office.sh.intel.com ([10.239.158.173]) by fmsmga004.fm.intel.com with ESMTP; 28 Mar 2020 03:41:02 -0700 Date: Sat, 28 Mar 2020 18:39:50 +0800 From: Chen Yu To: Randy Dunlap Cc: linux-pm@vger.kernel.org, Pavel Machek , linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Len Brown , Andy Shevchenko Subject: Re: [PATCH] PM / sleep: Add pm_debug_messages boot command control Message-ID: <20200328103949.GA16999@chenyu-office.sh.intel.com> References: <20200327111141.14324-1-yu.c.chen@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Randy, On Fri, Mar 27, 2020 at 08:39:44AM -0700, Randy Dunlap wrote: > On 3/27/20 4:11 AM, Chen Yu wrote: > > Debug messages from the system suspend/hibernation infrastructure > > is disabled by default, and can only be enabled after the system > > has boot up via /sys/power/pm_debug_messages. This makes the hibernation > > resume hard to track as it involves system boot up across hibernation. > > There's no chance for software_resume() to track the resume process, > > eg. > > > > Turning on the pm_debug_messages during boot up by appending > > 'pm_debug_message'. > > Please add that command line option to > Documentation/admin-guide/kernel-parameters.txt. > Thanks. > Thanks for pointing it out, I'll add it in the v2 patch. Thanks, Chenyu > ~Randy > Reported-by: Randy Dunlap