[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKohpok1dGMPSAehwsVeiyHzxaHupenA4sP5cxCrjVYQMyrVWA@mail.gmail.com>
Date: Mon, 23 Dec 2013 11:32:28 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Bjørn Mork <bjorn@...k.no>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>,
"cpufreq@...r.kernel.org" <cpufreq@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH Resend] cpufreq: remove sysfs files for CPU which failed
to come back after resume
On 23 December 2013 11:25, Bjørn Mork <bjorn@...k.no> wrote:
> I can confirm that it fixes the major regression. With this branch, the
> cpufreq directory is completely removed after a cancelled userspace
> hibernate (with the acpi-cpufreq problem causing failure). So it is
> possible to restore cpufreq by manually offlining and onlining non-boot
> cores. No more leftover sysfs attributes.
Thanks for giving it a try once again :)
> But there is still a minor regression compared to the old (v3.11)
> behaviour: Previously the cpufreq functionality would be automatically
> restored by any completed hibernate or suspend cycle, since it would
> effectively do the CPU offline/online. This automatix fixup won't happen
> with the current pm-cpufreq branch.
I didn't understood it completely, sorry :)
As far as I can see from 3.11 code we simply used to fail with any failure
resulting with a call to ->init() or some other call..
And so cpufreq wouldn't have added any directories at all in that case.
And so I think we still required an offline/online sequence to guarantee
things..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists