From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH] Don't disable interrupts during EC access Date: Wed, 17 Nov 2004 03:02:58 -0500 Message-ID: <200411170302.58634.dtor_core@ameritech.net> References: <3ACA40606221794F80A5670F0AF15F84041AC08B@pdsmsx403> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3ACA40606221794F80A5670F0AF15F84041AC08B@pdsmsx403> Content-Disposition: inline Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Yu, Luming" Cc: "Li, Shaohua" , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Andi Kleen , Matthew Wilcox , "Fu, Michael" , "Brown, Len" , "Moore, Robert" List-Id: linux-acpi@vger.kernel.org On Wednesday 17 November 2004 02:46 am, Yu, Luming wrote: > Spec defined EC-SCI is edge-trigged. > So, I think that is solution sticking with Spec. > Not sure, how many laptop break this rule. > > If wait_event_interruptible_timeout returns due to timeout, > Can we think it of polling timeout? > Yes, I think this is a great idea - if we time out check the status register one more time to verify that we did not miss interrupt because SCI was raised earlier. -- Dmitry ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8