On Wednesday, 2 January 2008 08:59:22 Shaohua Li wrote: > 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> > --- > drivers/acpi/sleep/main.c | 13 +++++++++++++ > include/linux/suspend.h | 5 +++++ > kernel/power/disk.c | 21 ++++++++++++++++++--- > kernel/power/power.h | 6 +++--- > kernel/power/swap.c | 24 +++++++++++++++--------- > 5 files changed, 54 insertions(+), 15 deletions(-) Once reading the ACPI spec I noticed that ACPI supports this feature so it is qute nice to implement it, since this will prevent resume from disk what hardware was changed. But.. how many bioses are broken regarding this feature.... Regards, Maxim Levitsky _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm