svn commit: r233249 - head/sys/amd64/acpica

Andriy Gapon avg at FreeBSD.org
Thu Mar 22 09:33:08 UTC 2012


on 21/03/2012 21:02 Jung-uk Kim said the following:
> On Wednesday 21 March 2012 01:57 pm, Andriy Gapon wrote:
>> on 21/03/2012 19:41 Jung-uk Kim said the following:
>>> I am well aware of the problem.  In fact, that's why I had to
>>> merge ACPICA 20120320 rather quickly, which added a new flag to
>>> not execute _GTS method.  Both _GTS and _BFS are turned off by
>>> default.  You can control them with a new tunable
>>> "debug.acpi.sleep_flags" if you want.
>>
>> But the bug still has to be fixed, right?
>> Even if it takes a non-default sysctl value to give the bug a
>> chance.
> 
> Ideally, yes.  However, I am not so sure if we can call it a "bug" 
> because AcpiEnterSleepState() must be called with interrupt disabled 
> and there is no way to change that API without breaking other OSes.  
> We can only work around it locally or persuade upstream to find a 
> better way to do this in ACPICA itself.  Either way, it will be 
> pretty hackish. :-(

I see.  Thank you.
Maybe the code could be somehow tricked into using M_NOWAIT in this context...

-- 
Andriy Gapon


More information about the svn-src-all mailing list