mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RESEND Patch] acpi: remove acpi_sleep=s4_nonvs
@ 2011-04-06  5:28 Amerigo Wang
  2011-04-06  5:32 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Amerigo Wang @ 2011-04-06  5:28 UTC (permalink / raw)
  To: linux-kernel
  Cc: akpm, WANG Cong, Len Brown, Randy Dunlap, Pavel Machek,
	Rafael J. Wysocki, Thomas Gleixner, Ingo Molnar, H. Peter Anvin,
	x86, linux-doc, linux-pm

First post is here: https://lkml.org/lkml/2011/1/19/4

acpi_sleep=s4_nonvs is superseded by acpi_sleep=nonvs.

Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Len Brown <len.brown@intel.com>

---
 Documentation/feature-removal-schedule.txt |    8 --------
 Documentation/kernel-parameters.txt        |    2 +-
 arch/x86/kernel/acpi/sleep.c               |    5 -----
 3 files changed, 1 insertions(+), 14 deletions(-)

diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 274b32d..f57775c 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -480,14 +480,6 @@ Who:	Thomas Gleixner <tglx@linutronix.de>
 
 ----------------------------
 
-What:	The acpi_sleep=s4_nonvs command line option
-When:	2.6.37
-Files:	arch/x86/kernel/acpi/sleep.c
-Why:	superseded by acpi_sleep=nonvs
-Who:	Rafael J. Wysocki <rjw@sisk.pl>
-
-----------------------------
-
 What: 	PCI DMA unmap state API
 When:	August 2012
 Why:	PCI DMA unmap state API (include/linux/pci-dma.h) was replaced
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index d2b5150..26c69c1 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -245,7 +245,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 
 	acpi_sleep=	[HW,ACPI] Sleep options
 			Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig,
-				  old_ordering, s4_nonvs, sci_force_enable }
+				  old_ordering, nonvs, sci_force_enable }
 			See Documentation/power/video.txt for information on
 			s3_bios and s3_mode.
 			s3_beep is for debugging; it makes the PC's speaker beep
diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c
index ff93bc1..18a857b 100644
--- a/arch/x86/kernel/acpi/sleep.c
+++ b/arch/x86/kernel/acpi/sleep.c
@@ -112,11 +112,6 @@ static int __init acpi_sleep_setup(char *str)
 #ifdef CONFIG_HIBERNATION
 		if (strncmp(str, "s4_nohwsig", 10) == 0)
 			acpi_no_s4_hw_signature();
-		if (strncmp(str, "s4_nonvs", 8) == 0) {
-			pr_warning("ACPI: acpi_sleep=s4_nonvs is deprecated, "
-					"please use acpi_sleep=nonvs instead");
-			acpi_nvs_nosave();
-		}
 #endif
 		if (strncmp(str, "nonvs", 5) == 0)
 			acpi_nvs_nosave();

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RESEND Patch] acpi: remove acpi_sleep=s4_nonvs
  2011-04-06  5:28 [RESEND Patch] acpi: remove acpi_sleep=s4_nonvs Amerigo Wang
@ 2011-04-06  5:32 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2011-04-06  5:32 UTC (permalink / raw)
  To: Amerigo Wang
  Cc: linux-kernel, akpm, Len Brown, Randy Dunlap, Rafael J. Wysocki,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, linux-doc,
	linux-pm

On Wed 2011-04-06 13:28:44, Amerigo Wang wrote:
> First post is here: https://lkml.org/lkml/2011/1/19/4
> 
> acpi_sleep=s4_nonvs is superseded by acpi_sleep=nonvs.
> 
> Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
> Signed-off-by: WANG Cong <amwang@redhat.com>
> Cc: Len Brown <len.brown@intel.com>

ACK.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-06  5:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-06  5:28 [RESEND Patch] acpi: remove acpi_sleep=s4_nonvs Amerigo Wang
2011-04-06  5:32 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®