From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prarit Bhargava Subject: Re: [PATCH 1/2] cpufreq: serialize calls to __cpufreq_governor() Date: Fri, 10 Oct 2014 07:38:29 -0400 Message-ID: <5437C535.3070707@redhat.com> References: <54353223.7080704@redhat.com> <5437C12D.1070803@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58649 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751905AbaJJLim (ORCPT ); Fri, 10 Oct 2014 07:38:42 -0400 In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Viresh Kumar Cc: =?UTF-8?B?Um9iZXJ0IFNjaMO2bmU=?= , "Rafael J. Wysocki" , Lists linaro-kernel , "linux-pm@vger.kernel.org" , Saravana Kannan On 10/10/2014 07:30 AM, Viresh Kumar wrote: > On 10 October 2014 16:51, Prarit Bhargava wrote: >> Yep, I get that panic doing a very simple >> >> #!/bin/bash >> >> i=0 >> while [ True ]; do >> i=$((i+1)) >> echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor & >> echo "performance" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor & >> echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor & >> echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor & >> if [ $((i % 100)) = 0 ]; then >> echo $i >> fi >> done >> >> The blocking issue that I have (soon to be resolved I hope) is >> >> http://marc.info/?l=linux-kernel&m=141286895623716&w=2 >> >> which is preventing me from doing any LOCKDEP analysis on this system. >> >> I'm working on all of the above right now ... > > I have updated my patchset a bit now, the new branch is: > cpufreq/governor-fixes-v2. > But have you tried this on 3.17 without my patches? Yes, I unfortunately have a different set of issues with vanilla 3.17 (previously mentioned locking issue). I've done a quick and dirty hack to get around that, and everything seems okay. I apply your patches and I get a panic the first time I read sysfs P. > > -- > viresh >