Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-03 Thread Nigel Cunningham
Hi. Rafael J. Wysocki wrote: > On Thursday, 3 of January 2008, Nigel Cunningham wrote: >> Hi. >> >> Rafael J. Wysocki wrote: I suppose we can always disable this when we start to support hardware changing over hibernate (I have ideas in this direction - memory cold plugging, for a s

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-03 Thread Rafael J. Wysocki
On Thursday, 3 of January 2008, Nigel Cunningham wrote: > Hi. > > Rafael J. Wysocki wrote: > >> I suppose we can always disable this when we start to support hardware > >> changing over hibernate (I have ideas in this direction - memory cold > >> plugging, for a start). > > > > Well, if we suppor

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-03 Thread Nigel Cunningham
Hi. Rafael J. Wysocki wrote: >> I suppose we can always disable this when we start to support hardware >> changing over hibernate (I have ideas in this direction - memory cold >> plugging, for a start). > > Well, if we support such features, we won't be following ACPI any more. Mmm. Apparently I

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-03 Thread Nigel Cunningham
Hi. Rafael J. Wysocki wrote: Is there another mechanism preventing this? >>> Not at the kernel level, but you can prevent this from happening by running >>> mkswap on all swap spaces that refuse to come up after a fresh boot. >> We really should do something about this. It should be possible

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-02 Thread Rafael J. Wysocki
On Wednesday, 2 of January 2008, Nigel Cunningham wrote: > Hi. > > Rafael J. Wysocki wrote: > > On Wednesday, 2 of January 2008, Erik Andrén wrote: > >> Hi, > >> > >> 2008/1/2, Shaohua Li <[EMAIL PROTECTED]>: > >>> ACPI defines a hardware signature. BIOS calculates the signature > >>> according to

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-02 Thread Rafael J. Wysocki
On Wednesday, 2 of January 2008, Nigel Cunningham wrote: > Hi. > > Rafael J. Wysocki wrote: > > On Wednesday, 2 of January 2008, Shaohua Li wrote: > >> ACPI defines a hardware signature. BIOS calculates the signature > >> according to hardware configure, if hardware changes, the signature will > >

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-02 Thread Nigel Cunningham
Hi. Rafael J. Wysocki wrote: > On Wednesday, 2 of January 2008, 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. > > The idea is fine, b

Re: [linux-pm] Re: [patch] hibernation: utilize ACPI hardware signature

2008-01-02 Thread Nigel Cunningham
Hi. Rafael J. Wysocki wrote: > On Wednesday, 2 of January 2008, Erik Andrén wrote: >> Hi, >> >> 2008/1/2, Shaohua Li <[EMAIL PROTECTED]>: >>> ACPI defines a hardware signature. BIOS calculates the signature >>> according to hardware configure, if hardware changes, the signature will >>> change, in