From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755998Ab3G3N4T (ORCPT ); Tue, 30 Jul 2013 09:56:19 -0400 Received: from hydra.sisk.pl ([212.160.235.94]:47472 "EHLO hydra.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754893Ab3G3N4E (ORCPT ); Tue, 30 Jul 2013 09:56:04 -0400 From: "Rafael J. Wysocki" To: "Srivatsa S. Bhat" Cc: viresh.kumar@linaro.org, toralf.foerster@gmx.de, robert.jarzmik@intel.com, durgadoss.r@intel.com, tianyu.lan@intel.com, lantianyu1986@gmail.com, dirk.brandewie@gmail.com, stern@rowland.harvard.edu, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/7] Cpufreq, cpu hotplug, suspend/resume related fixes Date: Tue, 30 Jul 2013 16:06:14 +0200 Message-ID: <2115849.jgF3cVvlvK@vostro.rjw.lan> User-Agent: KMail/4.9.5 (Linux/3.10.0+; KDE/4.9.5; x86_64; ; ) In-Reply-To: <20130729225213.20863.56722.stgit@srivatsabhat.in.ibm.com> References: <20130729225213.20863.56722.stgit@srivatsabhat.in.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, July 30, 2013 04:23:12 AM Srivatsa S. Bhat wrote: > > Hi, > > This patchset reorganizes the cpufreq code and preserves the file permissions > of cpufreq-related per-cpu sysfs files across suspend/resume cycles, by > performing a light-weight init/teardown in those paths. > > Patches 1 - 4 reorganize the code and have no functional impact, and can go > in as general cleanups as well. This reorganization builds a base that the > rest of the patches will make use of. > > Patch 5 and 6 add a mechanism to perform light-weight init/tear-down of CPUs > in the cpufreq subsystem and finally patch 7 uses it to preserve sysfs files > across suspend/resume. > > All the patches apply on Rafael's bleeding-edge branch on linux-pm git > tree[1]. > > > Changes in v2: > * Fixed a refcounting bug explained here: > http://marc.info/?l=linux-kernel&m=137511192600806&w=2 > > * Addressed some suggestions about code reorganization received in v1. > * Rebased on top of the bleeding-edge branch. > > > [1]. git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge > > Thank you very much! > > > Srivatsa S. Bhat (7): > cpufreq: Fix misplaced call to cpufreq_update_policy() > cpufreq: Add helper to perform alloc/free of policy structure > cpufreq: Extract non-interface related stuff from cpufreq_add_dev_interface > cpufreq: Extract the handover of policy cpu to a helper function > cpufreq: Introduce a flag ('frozen') to separate full vs temporary init/teardown > cpufreq: Preserve policy structure across suspend/resume > cpufreq: Perform light-weight init/teardown during suspend/resume > > > drivers/cpufreq/cpufreq.c | 303 ++++++++++++++++++++++++++------------- > drivers/cpufreq/cpufreq_stats.c | 8 - > 2 files changed, 205 insertions(+), 106 deletions(-) Thanks, queued up for 3.12. Rafael -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.