Re: [PATCH 1/7] ACPI Hibernation: Use ACPI hardware signature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

> From: Shaohua Li <shaohua.li@xxxxxxxxx>
> 
> ACPI defines a hardware signature. BIOS calculates the signature
> according to hardware configure, if hardware changes, the signature
> will change, in this case, S4 resume should fail.
> 
> Signed-off-by: Shaohua Li <shaohua.li@xxxxxxxxx>
> Acked-by: Pavel Machek <pavel@xxxxxxx>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>

I guess I'm quite late to the party, but... could we make this use
acpi_sleep= command line option, and related variable?

That brings advantage of existing /proc/sys interface, so that s2disk
could do blacklist in userspace, and easily...

									Pavel

> @@ -152,6 +152,11 @@ and is between 256 and 4096 characters. 
>  			s3_beep is for debugging; it makes the PC's speaker beep
>  			as soon as the kernel's real-mode entry point is called.
>  
> +	acpi_s4_nosigcheck [HW,ACPI] S4 hardware signature
> +			ACPI will ignore the S4 hardware signature
> +			default: The hardware signature is checked during
> +			         resume from S4.
> +
>  	acpi_sci=	[HW,ACPI] ACPI System Control Interrupt trigger mode
>  			Format: { level | edge | high | low }
>  

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux