Thread (11 messages) 11 messages, 4 authors, 2013-08-26

Re: [PATCH 1/2] powerpc/85xx: add hardware automatically enter altivec idle state

From: Scott Wood <hidden>
Date: 2013-08-16 16:52:25

On Fri, 2013-08-16 at 06:02 -0500, Kumar Gala wrote:
On Aug 16, 2013, at 2:23 AM, Dongsheng Wang wrote:
quoted
From: Wang Dongsheng <redacted>

Each core's AltiVec unit may be placed into a power savings mode
by turning off power to the unit. Core hardware will automatically
power down the AltiVec unit after no AltiVec instructions have
executed in N cycles. The AltiVec power-control is triggered by hardware.

Signed-off-by: Wang Dongsheng <redacted>
Why treat this as a idle HW governor vs just some one time setup at boot of the time delay?
It is being done as one-time setup, despite the function name.

Maybe it should be moved into __setup/restore_cpu_e6500 (BTW, we really
should refactor those to reduce duplication) with the timebase bit
number hardcoded rather than a time in us.

As for the PVR check, the upstream kernel doesn't need to care about
rev1, so knowing it's an e6500 is good enough.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help