* Re: [REGRESSION] Commit a66b2e50 "Preserve sysfs files across suspend/resume" causes a regression in intel_pstate
[not found] <51DD8890.8040008@gmail.com>
@ 2013-07-10 22:04 ` Rafael J. Wysocki
2013-07-10 22:25 ` Srivatsa S. Bhat
0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2013-07-10 22:04 UTC (permalink / raw)
To: Dirk Brandewie
Cc: cpufreq, srivatsa.bhat, durgadoss.r, Jarzmik, Robert, tianyu.lan,
Linux PM list
On Wednesday, July 10, 2013 09:15:12 AM Dirk Brandewie wrote:
> Hi All,
Hi,
> Tianyu debugged into https://bugzilla.kernel.org/show_bug.cgi?id=59781 and found
> that commit a66b2e50 is causing the regression.
>
> Tianyu has proposed a fix (patch attached to bugzilla) but having scaling
> drivers receive hotplug notifications through two paths seems weird.
>
> Looking at the core code and some of the other scaling drivers
> I don't see an obvious fix. Maybe adding optional suspend/resume callbacks
> to the scaling driver interface?
>
> All the scaling drivers that need to do stateful work in the init/exit
> callbacks are being affected by this change so I think there are other
> subtle side-effects out there that haven't been noticed yet.
>
> I am not sure how we should proceed here?
Well, first off, I'll queue up a revert of commit a66b2e50, as this was really
about being nice to user space than anything else. And it has caused subtle
problems to happen already elsewhere.
Then we can figure out how to address the original issue.
Thanks,
Rafael
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [REGRESSION] Commit a66b2e50 "Preserve sysfs files across suspend/resume" causes a regression in intel_pstate
2013-07-10 22:04 ` [REGRESSION] Commit a66b2e50 "Preserve sysfs files across suspend/resume" causes a regression in intel_pstate Rafael J. Wysocki
@ 2013-07-10 22:25 ` Srivatsa S. Bhat
0 siblings, 0 replies; 2+ messages in thread
From: Srivatsa S. Bhat @ 2013-07-10 22:25 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Dirk Brandewie, cpufreq, durgadoss.r, Jarzmik, Robert, tianyu.lan,
Linux PM list
On 07/11/2013 03:34 AM, Rafael J. Wysocki wrote:
> On Wednesday, July 10, 2013 09:15:12 AM Dirk Brandewie wrote:
>> Hi All,
>
> Hi,
>
>> Tianyu debugged into https://bugzilla.kernel.org/show_bug.cgi?id=59781 and found
>> that commit a66b2e50 is causing the regression.
>>
>> Tianyu has proposed a fix (patch attached to bugzilla) but having scaling
>> drivers receive hotplug notifications through two paths seems weird.
>>
>> Looking at the core code and some of the other scaling drivers
>> I don't see an obvious fix. Maybe adding optional suspend/resume callbacks
>> to the scaling driver interface?
>>
>> All the scaling drivers that need to do stateful work in the init/exit
>> callbacks are being affected by this change so I think there are other
>> subtle side-effects out there that haven't been noticed yet.
>>
>> I am not sure how we should proceed here?
>
> Well, first off, I'll queue up a revert of commit a66b2e50, as this was really
> about being nice to user space than anything else. And it has caused subtle
> problems to happen already elsewhere.
>
> Then we can figure out how to address the original issue.
>
Sure, that sounds like a good plan. Sorry about the mess it caused :(
I do have a (large-ish) fix in the works (which I posted in my previous mail),
but reverting the original commit first will be better, especially from the
stable-tree perspective.
I can provide you the revert tomorrow after testing (the revert needs to take
care of commit f51e1eb6 which went in later), but if you do it yourself by then,
you can add my ACK to it.
Thanks a lot!
Regards,
Srivatsa S. Bhat
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-10 22:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <51DD8890.8040008@gmail.com>
2013-07-10 22:04 ` [REGRESSION] Commit a66b2e50 "Preserve sysfs files across suspend/resume" causes a regression in intel_pstate Rafael J. Wysocki
2013-07-10 22:25 ` Srivatsa S. Bhat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).