Re: [PATCH 2/4] Add cpufreq driver for the IBM PowerPC 750GX

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kevin Diggs
Date: Wednesday, August 27, 2008 - 2:01 pm

Arnd Bergmann wrote:
I will remove the "_v".
Ok. But leaving out the initialization will make me itch. Should I
also replace "override_min_core" with "mincore" (or "min_core")? And
"override_max_core" with "maxcore" (or "max_core")?

Leaving out the initializations makes me ... uneasy. It's ok to leave
them out if they are 0?
I meant I treat them as read only from the code. That is why I have a
separate variable to change from the sysfs routines. I'll eliminate it
if you like. I have removed the auto added sysfs attributes.
I really don't follow you here? If I let the timer fire then the cpu
(and the cpufreq sub-system) will be left in a well-defined state. I
don't understand why you want me to delete the timer and then
basically do manually what it was going to do anyway. There are two
calls to cpufreq_notify_transition(). One just before the modify_PLL()
call, with CPUFREQ_PRECHANGE as an argument, and one in the
pll_switch_cb() routine, with CPUFREQ_POSTCHANGE as an argument. I
would need to make sure that these are matched up.

Even without the HRTimer stuff being used the timer fires in less than
4 ms (@ 250 HZ). So I can't see the user actually trying to interrupt
a frequency change. With HRTimers it is 100 us.

Can we please, please leave this part as is?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/4] Add cpufreq driver for the IBM PowerPC 750GX, Geert Uytterhoeven, (Wed Aug 27, 4:40 am)
Re: [PATCH 2/4] Add cpufreq driver for the IBM PowerPC 750GX, Kevin Diggs, (Wed Aug 27, 2:01 pm)