Re: [PATCH] ACPI : Disable the device's ability to wake the sleepingsystem in the boot phase

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

 



On Wed, 2008-03-19 at 10:40 +0800, Shaohua Li wrote:
> On Tue, 2008-03-18 at 13:47 +0800, Zhao Yakui wrote:
> > Subject: ACPI : Disable the device's ability to wake the sleeping
> > system in the boot phase
> > >From : Zhao Yakui <yakui.zhao@xxxxxxxxx>
> > 
> > In some machines some GPE is shared by several ACPI devices, for
> > example:
> > sleep button, keyboard, mouse. At the same time one of them is
> > non-wake(runtime) device and the other are wake devices. In such case
> > OSPM
> > should call the _PSW object to disable the device's ability to
> > wake the sleeping system in the boot phase.
> > Otherwise there will be ACPI interrupt flood triggered by the GPE
> > input.
> > 
> > http://bugzilla.kernel.org/show_bug.cgi?id=9781
> > http://bugzilla.kernel.org/show_bug.cgi?id=10224
> Good catch, but I'm wondering if we should call _PSR early, eg in ACPICA
> before GPE is enabled. Before the acpi bus scan time, the GPE might
> already be invoked and cause interrupt flood.
> 
Thanks for the reminder. 
After check the source code, I think that it is unnecessary to call the
_PSM in ACPICA. The _GPE with the _PRW object will be disabled when the
FADT GPE block device is installed in ACPICA.
For the desktops in bug9781 and 10224, there will be ACPI interrupt
flood only after the shared GPE is reenabled.(This is enabled in the
button driver).

Thanks
   Yakui.
> Thanks,
> Shaohua 
> 

--
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

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux