From owner-cvs-src@FreeBSD.ORG Sat Jan 12 22:13:13 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B12EC16A418; Sat, 12 Jan 2008 22:13:13 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5296313C4CE; Sat, 12 Jan 2008 22:13:13 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0CMDDY9035487; Sat, 12 Jan 2008 22:13:13 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0CMDDCS035485; Sat, 12 Jan 2008 22:13:13 GMT (envelope-from njl) Message-Id: <200801122213.m0CMDDCS035485@repoman.freebsd.org> From: Nate Lawson Date: Sat, 12 Jan 2008 22:13:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD,INTEL Cc: Subject: cvs commit: src/sys/dev/acpica/Osd OsdSchedule.c src/sys/contrib/dev/acpica evgpe.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2008 22:13:13 -0000 njl 2008-01-12 22:13:12 UTC FreeBSD src repository Modified files: sys/dev/acpica/Osd OsdSchedule.c Modified files: (Branch: INTEL) sys/contrib/dev/acpica evgpe.c Log: Fix GPE livelock that occurs on HP/Compaq laptops, mostly in the thermal zone code. The GPE handler method (i.e. _L00) generates various Notify events that need to be run to completion before the GPE is re-enabled. In ACPI-CA, we queue an asynch callback at the same priority as a Notify so that it will only run after all Notify handlers have completed. The callback re-enables the GPE afterwards. We also changed the priority of Notifies to be the same as GPEs, given the possibility that another GPE could arrive before the Notifies have completed and we don't want it to get queued ahead of the rest. The ACPI-CA change was submitted by Alexey Starikovskiy (SUSE) and will appear in a later release. Special thanks to him for helping track this bug down. MFC after: 1 week Tested by: jhb, Yousif Hassan Revision Changes Path 1.1.1.13 +19 -3 src/sys/contrib/dev/acpica/evgpe.c 1.40 +7 -3 src/sys/dev/acpica/Osd/OsdSchedule.c