From: Benjamin Herrenschmidt Subject: Re: [PATCH] Make cpufreq_transition_notifier a raw notifier Date: Fri, 26 May 2006 09:18:23 +1000 Message-ID: <1148599103.10832.5.camel@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@ozlabs.org Errors-To: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@ozlabs.org To: Alan Stern Cc: Andrew Morton , "linuxppc-dev@ozlabs.org" , johannes@sipsolutions.net, cpufreq@lists.linux.org.uk On Thu, 2006-05-25 at 13:53 -0400, Alan Stern wrote: > The cpufreq code has problems with atomic vs. blocking notifier calls and > enabling vs. disabling interrupts (show up on pmac). As a temporary > band-aid, this patch (as697) makes the cpufreq_transition_notifier_list > into a raw notifier. Thanks Alan. That should fix our warning for now, though we'll have to sync with brodo to get cpufreq right. As I explained separately, I think part of the problem is bcs cpufreq is a sysdev, it shouldn't have to be, at least not necessarily. I'm worried that even if they work in atomic context, some drivers who hook on the cpufreq events might still be buggy when notified so late in the sleep process.