Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933776AbbGHJ3b (ORCPT ); Wed, 8 Jul 2015 05:29:31 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:33802 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933444AbbGHJ3V (ORCPT ); Wed, 8 Jul 2015 05:29:21 -0400 Date: Wed, 8 Jul 2015 14:59:15 +0530 From: Viresh Kumar To: "Jon Medhurst (Tixy)" Cc: Rafael Wysocki , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Pi-Cheng Chen , open list Subject: Re: [PATCH] cpufreq: Initialize the governor again while restoring policy Message-ID: <20150708092915.GA24289@linux> References: <1436347629.2844.12.camel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436347629.2844.12.camel@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 960 Lines: 20 On 08-07-15, 10:27, Jon Medhurst (Tixy) wrote: > I believe this also fixes the other issue I mentioned (nullptr deref in > in arm_big_little driver). To test that, after applying this patch, I > modified the code to force __cpufreq_governor to still return an error > when a cpu is hotpluged back in. Now the arm_big_little driver doesn't > get called when I manually poke scaling_setspeed, presumably because > policy->governor==NULL prevents that from reaching the driver? I would like to fix that issue without using this patch as we aren't cleaning up things properly on errors today. I am almost done with the patches, and will send them to you shortly. Please give them a try without this patch. -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/