linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lan Tianyu <lantianyu1986@gmail.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Lan Tianyu <tianyu.lan@intel.com>,
	stern@rowland.harvard.edu, swilmet@gnome.org,
	linux-pm@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: [PATCH 1/2] ACPI/Sleep: Add init_nvs_nosave_s3() function
Date: Mon, 28 Jan 2013 21:05:32 +0800	[thread overview]
Message-ID: <5106779C.6010305@gmail.com> (raw)
In-Reply-To: <1473081.Cm0g80OnKE@vostro.rjw.lan>

于 2013/1/28 20:21, Rafael J. Wysocki 写道:
> On Monday, January 28, 2013 03:47:04 PM Lan Tianyu wrote:
>> commit 1bad2f19f7f7 introduces nvs_nosave_s3 flag to just ban
>> saving nvs in ths s3 rather than both of s3 and s4. This patch
>> is to add init_nvs_nosave_s3() to set nvs_nosave_s3 to true for
>> those machines in the nonvs blacklist which only don't need to
>> saving nvs during s3 rather than both s3 and s4.
>>
>> Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
>
> Please fold [2/2] into [1/2] and resend.
>
Ok. I get it and will update.
> Thanks,
> Rafael
>
>
>> ---
>>   drivers/acpi/sleep.c |    6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
>> index 2fcc67d..405b962 100644
>> --- a/drivers/acpi/sleep.c
>> +++ b/drivers/acpi/sleep.c
>> @@ -141,6 +141,12 @@ static int __init init_nvs_nosave(const struct dmi_system_id *d)
>>   	return 0;
>>   }
>>
>> +static int __init init_nvs_nosave_s3(const struct dmi_system_id *d)
>> +{
>> +	acpi_nvs_nosave_s3();
>> +	return 0;
>> +}
>> +
>>   static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
>>   	{
>>   	.callback = init_old_suspend_ordering,
>>

-- 
Best regards
Tianyu Lan
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2013-01-28 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28  7:47 [PATCH 1/2] ACPI/Sleep: Add init_nvs_nosave_s3() function Lan Tianyu
2013-01-28  7:47 ` [PATCH 2/2] ACPI/Sleep: use init_nvs_nosave_s3() for Sony Vaio VPCCW29FX and VPCEB1S1E callback in the non-nvs blacklist Lan Tianyu
2013-01-28 12:21 ` [PATCH 1/2] ACPI/Sleep: Add init_nvs_nosave_s3() function Rafael J. Wysocki
2013-01-28 13:05   ` Lan Tianyu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5106779C.6010305@gmail.com \
    --to=lantianyu1986@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=stern@rowland.harvard.edu \
    --cc=swilmet@gnome.org \
    --cc=tianyu.lan@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).