From owner-cvs-src@FreeBSD.ORG Mon Feb 21 23:38:41 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 985AA16A4CE; Mon, 21 Feb 2005 23:38:41 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 668B843D5E; Mon, 21 Feb 2005 23:38:41 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1LNcf2J075501; Mon, 21 Feb 2005 23:38:41 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1LNcfFV075500; Mon, 21 Feb 2005 23:38:41 GMT (envelope-from njl) Message-Id: <200502212338.j1LNcfFV075500@repoman.freebsd.org> From: Nate Lawson Date: Mon, 21 Feb 2005 23:38:41 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_ec.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 21 Feb 2005 23:38:41 -0000 njl 2005-02-21 23:38:41 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_ec.c Log: Since the GPE handler is directly called by ACPI-CA and it may have unknown locks held, specify the ACPI_ISR flag to keep it from acquiring any more mutexes (which could potentially sleep.) This should fix "could sleep" warning messages on the following path: msleep() AcpiOsWaitSemaphore() AcpiUtAcquireMutex() AcpiDisableGpe() EcGpeHandler() AcpiEvGpeDispatch() AcpiEvGpeDetect() AcpiEvGpeDetect() AcpiEvSciXruptHandler() Revision Changes Path 1.62 +8 -3 src/sys/dev/acpica/acpi_ec.c