RE: [PATCH] acpi: Fall back to manually changing SCI_EN

From: Rezwanul_Kabir
Date: Tue Apr 20 2010 - 13:42:01 EST


Agree with getting Matthew's patch to fall back on force setting SCI_EN bit. I have discovered this issue recently with New Gen Dell systems where the systems were suspending right the first time around and then resorted to rebooting ( instead of resuming ) the second time. Also, the system would come with SCI interrupt disabled the first time around.
I worked with the BIOS teams to get this fixed in the latest BIOS revs but just as Alex pointed out Matthew's approach seems to be the default bahaviour in the "Other OS". The problem may be more widespread than the limited set of blacklisted platforms..

Thanks..
--rez


Rezwanul Kabir
Dell Inc.
512-725-0766


>-----Original Message-----
>From: linux-acpi-owner@xxxxxxxxxxxxxxx
>[mailto:linux-acpi-owner@xxxxxxxxxxxxxxx] On Behalf Of Alex Chiang
>Sent: Tuesday, April 20, 2010 10:00 AM
>To: Matthew Garrett
>Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-acpi@xxxxxxxxxxxxxxx;
>lenb@xxxxxxxxxx
>Subject: Re: [PATCH] acpi: Fall back to manually changing SCI_EN
>
>* Matthew Garrett <mjg@xxxxxxxxxx>:
>> The ACPI spec tells us that the ACPI SCI_EN bit is under hardware
>> control and shouldn't be touched by the OS. It seems that
>the Leading
>> Other OS ignores this and some machines expect this
>behaviour. We have
>> a blacklist for these, but given that we're able to detect
>the failure
>> case and the alternative to breaking the spec is letting the machine
>> crash and burn, let's try falling back when we know the
>alternative is
>> a mostly-dead machine.
>
>Yes, we got a hint from a Lenovo BIOS developer:
>
> A SCI_EN bit had not been set at S3 resume post. It
> should be set as ACPI defines. It seems that Windows OS
> sets SCI_EN bit by itself after S3 resume....
>
>So I believe that Matthew's approach is reasonably safe and correct.
>
>Acked-by: Alex Chiang <achiang@xxxxxxxxxxxxx>
>
>/ac
>--
>To unsubscribe from this list: send the line "unsubscribe
>linux-acpi" in the body of a message to
>majordomo@xxxxxxxxxxxxxxx More majordomo info at
>http://vger.kernel.org/majordomo-info.html
>--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/