From owner-svn-src-head@FreeBSD.ORG Thu Mar 22 09:33:08 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59E00106564A; Thu, 22 Mar 2012 09:33:08 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A308D8FC0C; Thu, 22 Mar 2012 09:33:04 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA06332; Thu, 22 Mar 2012 11:33:03 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SAeOE-0005XE-O6; Thu, 22 Mar 2012 11:33:02 +0200 Message-ID: <4F6AF1CB.80902@FreeBSD.org> Date: Thu, 22 Mar 2012 11:32:59 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Jung-uk Kim References: <201203202037.q2KKbNfK037014@svn.freebsd.org> <201203211341.11859.jkim@FreeBSD.org> <4F6A1673.4050408@FreeBSD.org> <201203211502.14353.jkim@FreeBSD.org> In-Reply-To: <201203211502.14353.jkim@FreeBSD.org> X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Konstantin Belousov , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" Subject: Re: svn commit: r233249 - head/sys/amd64/acpica X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 09:33:08 -0000 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