From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934569AbbGHLUg (ORCPT ); Wed, 8 Jul 2015 07:20:36 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:33171 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932791AbbGHLU3 (ORCPT ); Wed, 8 Jul 2015 07:20:29 -0400 Date: Wed, 8 Jul 2015 16:50:23 +0530 From: Viresh Kumar To: "Jon Medhurst (Tixy)" Cc: Rafael Wysocki , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, open list Subject: Re: [PATCH 2/2] cpufreq: Properly handle errors from cpufreq_init_policy() Message-ID: <20150708112023.GE1805@linux> References: <276debea91831d86c34079f6a40d773ce258a62c.1436348436.git.viresh.kumar@linaro.org> <043703bd1914d52340653c3cc31207e505df6139.1436348436.git.viresh.kumar@linaro.org> <1436354276.2844.20.camel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436354276.2844.20.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 On 08-07-15, 12:17, Jon Medhurst (Tixy) wrote: > I tried these patches without the earlier "cpufreq: Initialize the > governor again while restoring policy" patch. > > The result is that the error when bringing a cpu online is with flagged > up with a kernel message: > > cpufreq: cpufreq_add_dev: Failed to initialize policy for cpu: 1 (-16) > > and afterwards, the sysfs entries that I was poking and causing the > crash aren't present. So looks like this patch has done what we want, > and cleaned things up after an error. So... > > Tested-by: Jon Medhurst > > Thanks for the prompt fix. And thanks for your help in getting these tested :) -- viresh