Multicore Expert Series: QorIQ Power Management Technologies
Multicore Expert Series: QorIQ Power Management Technologies
Multicore Expert Series: QorIQ Power Management Technologies
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
June 2012<br />
TM<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire,<br />
ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, <strong>Power</strong>QUICC,<br />
Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of<br />
Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack,<br />
CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and<br />
Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service<br />
names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
.<br />
Li Yang<br />
Software Engineering Manager
• Saving energy is a world problem<br />
• <strong>Power</strong> management features that<br />
Freescale provides<br />
• How to use power management features<br />
TM<br />
2<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• <strong>Power</strong> <strong>Management</strong> Basics<br />
• <strong>QorIQ</strong> power management features<br />
• Linux ® power management<br />
• Design your low-power solution<br />
TM<br />
3<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
TM<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire,<br />
ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, <strong>Power</strong>QUICC,<br />
Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of<br />
Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack,<br />
CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and<br />
Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service<br />
names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
.
• CMOS Energy Consumption<br />
− Dynamic Energy Consumption<br />
− Static Energy Consumption<br />
TM<br />
5<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Dynamic <strong>Power</strong> Static <strong>Power</strong><br />
• Reduce voltage<br />
• Reduce frequency<br />
• Clock gating<br />
• Reduce active-load<br />
capacitance<br />
TM<br />
6<br />
• Reduce voltage<br />
• Less leaky transistors<br />
(better process)<br />
• <strong>Power</strong> gating<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Manual<br />
− User command (PC-style)<br />
Standby<br />
Hibernate<br />
• Automatic<br />
− Base on the work load of native tasks (On some PCs)<br />
− Base on the load of external I/O (<strong>QorIQ</strong> style)<br />
TM<br />
7<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
CPU is active CPU is inactive<br />
• Frequency scaling<br />
• Shutdown part of the<br />
cores<br />
• Multiple power rails<br />
TM<br />
8<br />
• System Sleep<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
TM<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire,<br />
ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, <strong>Power</strong>QUICC,<br />
Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of<br />
Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack,<br />
CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and<br />
Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service<br />
names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
.
DDR controller on on on on<br />
Interrupt controller on on on on<br />
Devices that generate<br />
wakeup event<br />
Voltage for other onchip<br />
devices<br />
Clock for other on-chip<br />
devices<br />
TM<br />
Doze Nap Sleep Deep Sleep<br />
Core voltage on on on off<br />
Core Timebase on on off off<br />
Core clock on off off off<br />
Core L1 Cache on off off off<br />
Core instruction fetch off off off off<br />
on on on on<br />
on on on off<br />
on on off off<br />
10<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Off during Deep Sleep On during Deep Sleep<br />
TM<br />
11<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
DDR controller on on on on<br />
Interrupt controller on on on on<br />
Devices that generate<br />
wakeup event<br />
Voltage for other onchip<br />
devices<br />
Clock for other on-chip<br />
devices<br />
TM<br />
Core Wait Core Doze Core Nap Device Sleep<br />
Core voltage on on on on<br />
Core Timebase on on on off<br />
Core clock on on off off<br />
Core L1 Cache on on off off<br />
Core instruction fetch off off off off<br />
on on on on<br />
on on on on<br />
on on on off<br />
12<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Cluster State PCL00 PCL00 PCL00 PCL00 PCL00 PCL10<br />
Core State PH00 PH10/PW10 PH15 PW20 PH20 PH20<br />
Cluster Voltage<br />
Core Voltage<br />
Cluster Clock On On On On On Off<br />
Core Clock On On Off Off Off Off<br />
L2 Cache SW Flushed<br />
L1 Cache SW Invalidated HW Invalidated SW Invalidated SW Invalidated<br />
Wakeup Time Active Immediate < 30 ns < 200 ns < 600 ns < 1us<br />
<strong>Power</strong><br />
TM<br />
13<br />
NEW NEW NEW<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• JOG<br />
− MPC8536<br />
− P1022<br />
− P1023<br />
TM<br />
14<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Security<br />
Accel<br />
XOR<br />
LCD<br />
(DIU)<br />
TDM<br />
/I 2 S<br />
IEEE-<br />
1588<br />
2x GE<br />
MAC<br />
32kB<br />
I-Cache<br />
TM<br />
New PLL<br />
Config.<br />
e500 Core<br />
STOPPED<br />
SATA<br />
PLL<br />
32kB<br />
D-Cache<br />
x2 SerDes<br />
256KB<br />
L2<br />
Coherency Module<br />
System Bus<br />
2x DMA<br />
32kB<br />
I-Cache<br />
32kB<br />
D-Cache<br />
System Bus<br />
On-Chip Network<br />
PCI<br />
Express ®<br />
STOPPED<br />
e500 Core<br />
PLL<br />
PCI<br />
Express<br />
x4 SerDes<br />
15<br />
Reset +<br />
Clocking Logic<br />
PLL<br />
Re-Config<br />
COP<br />
STOP<br />
Advanced<br />
<strong>Power</strong> <strong>Management</strong><br />
STOP<br />
PCI<br />
Express<br />
PLL PLL<br />
Sys PLL PLL<br />
DDR PLL<br />
Re-Config<br />
Fuse<br />
P1022<br />
DDR2/DDR3,<br />
SDRAM<br />
Controller<br />
Enhanced<br />
Local Bus<br />
Perf Mon,<br />
DUART, MPIC<br />
2x I2C, Timers<br />
SPI<br />
2x USB2.0<br />
SD/MMC<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• MPIC Timer<br />
• External Interrupt<br />
• Ethernet Magic packet (on some SoCs)<br />
• Ethernet User defined packet (on some SoCs)<br />
• USB events (on some SOCs)<br />
• GPIO lines (on some SoCs)<br />
• SD card (on some SoCs)<br />
TM<br />
16<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Packets received during sleep buffered in external DDR<br />
• Possible to sleep longer before wakeup from<br />
− Timer<br />
− Magic packet<br />
− User-defined packet<br />
− Buffered packets exceed defined threshold<br />
TM<br />
17<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
CPU<br />
L2<br />
Platform<br />
Enet2<br />
Enet1<br />
• Packet-Lossless<br />
− CPU + L2 <strong>Power</strong>ed Off<br />
− Path from Enet to DDR powered<br />
− <strong>Power</strong> down more SoC logic<br />
− First packet enables Rx wake-up timer<br />
TM<br />
CPU<br />
Timers<br />
USB2<br />
USB1<br />
DDR<br />
Ctlr<br />
DDR<br />
In self-refresh<br />
until packet<br />
arrives<br />
18<br />
= <strong>Power</strong>ed down in Deep Sleep<br />
= <strong>Power</strong>ed in Deep Sleep<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Today: All CPUs in Pool Channel<br />
dequeue until all FQs empty.<br />
Broadcast notification when work<br />
arrives.<br />
P0 P1 P2 P3<br />
Shared L2<br />
Task Queue<br />
T5 T4 T3 T2 T1<br />
Threshold 2<br />
TM<br />
Threshold 1<br />
QMan<br />
19<br />
AMP <strong>Series</strong>: DPAA uses task queue<br />
thresholds to inform CPUs they<br />
are not needed. CPUs selectively<br />
awakened as needed.<br />
P0 P1 P2 P3<br />
Drowsy<br />
Shared L2<br />
Drowsy<br />
Active CPUs<br />
12<br />
11<br />
10<br />
9<br />
8<br />
7<br />
6<br />
5<br />
4<br />
3<br />
Burst<br />
2<br />
1<br />
Day Night<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• e6500 core reintroduces support for AltiVec technology<br />
• AltiVec technology has very specific use cases that don’t apply to<br />
every usage or application that may run on the core<br />
• In order to reduce power for non-AltiVec code streams, the e6500<br />
core introduces a Drowsy AltiVec unit<br />
− 10% power savings vs. dynamic clock gating of AltiVec technology alone<br />
• The drowsy AltiVec mode can be entered through software control<br />
or through a hardware-triggered event<br />
− The hardware-triggered mode uses an instruction counter to count the number<br />
of non-AltiVec instructions. When a certain threshold is exceeded, then the<br />
<strong>Power</strong> <strong>Management</strong> unit will put the AltiVec unit into Drowsy mode. Software<br />
can enable or disable this mode and also set the count threshold<br />
TM<br />
20<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
TM<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire,<br />
ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, <strong>Power</strong>QUICC,<br />
Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of<br />
Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack,<br />
CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and<br />
Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service<br />
names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
.
• CPU idle<br />
• CPU hotplug<br />
• System suspend<br />
− standby<br />
− mem<br />
• System hibernation<br />
• Cpufreq<br />
• DPM<br />
TM<br />
22<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• cpu_idle() -- arch/powerpc/kernel/idle.c<br />
− A never-ending task on each CPU<br />
− Runs when there is nothing else to run<br />
− Calls ppc_md.power_save() when possible<br />
• e500_idle() -- arch/powerpc/kernel/idle_e500.S<br />
− The ppc_md.power_save() for e500 platforms<br />
− Calls wait instruction for e500mc platforms<br />
− Enters Doze state on other e500 platforms<br />
− Enters Nap instead of Doze when defined powersave_nap kernel<br />
parameter or set sysfs entry.<br />
− Exits when there is an interrupt to the core<br />
TM<br />
23<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Removes or plugs a CPU to the Linux system<br />
• Build-time option:<br />
− CONFIG_HOTPLUG_CPU<br />
• Run-time control through sysfs: /sys/devices/system/cpu/*<br />
− Removing<br />
#echo 0 > /sys/devices/system/cpu/cpuX/online<br />
− Plugging<br />
#echo 1 > /sys/devices/system/cpu/cpuX/online<br />
TM<br />
24<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Send CPU_DOWN_PREPARE notification to all in-kernel<br />
interested modules<br />
• Migrate all processes to other CPU(s)<br />
• Migrate all interrupts to a new CPU<br />
• Migrate timers/bottom half/tasklets to a new CPU<br />
• Call an arch specific routine __cpu_disable()<br />
• Finally send CPU_DEAD notification to all in-kernel modules<br />
TM<br />
25<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
1. __cpu_disable() calls platform specific cpu_disable<br />
1. Clear bit the online cpu mask<br />
2. Migrate IRQ<br />
2. On the cpu to be unplugged<br />
1. cpu_idle() will find its offload in cpu_mask<br />
2. Calls platform specific ppc_md.cpu_die() =<br />
smp_85xx_mach_cpu_die()<br />
3. Flush and disable L1<br />
4. Actually set the cpu to NAP state<br />
TM<br />
26<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Put system into low-power states on user command<br />
• Suspend states:<br />
− Standby<br />
− Suspend to RAM (mem)<br />
− Suspend to disk/hibernation (disk)<br />
• Run-time control through sysfs<br />
#echo state > /sys/power/state<br />
• Wakeup through interrupts<br />
− Different among SoCs<br />
TM<br />
27<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
1. Sync file systems<br />
2. Prepare<br />
1. Send PM_SUSPEND_PREPARE notification<br />
2. Disable user-mode helper<br />
3. Freeze processes<br />
3. Suspend console<br />
4. Call suspend callbacks of device drivers (interrupt enabled)<br />
5. Platform-specific suspend prepare operations<br />
6. Call late suspend callbacks of device drivers (interrupt disabled)<br />
7. Disable all CPUs other than the booting CPU<br />
8. Disable all interrupts<br />
9. Call suspend callbacks for system core devices<br />
10. Call platform-specific suspend_ops->enter()<br />
TM<br />
28<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
pmc_suspend_enter() -- arch/powerpc/sysdev/fsl_pmc.c<br />
1. Disable local interrupts<br />
2. Flush L1 dcache<br />
3. Setting SLP bit in powmgtcsr register<br />
4. Hardware enter SLEEP state<br />
TM<br />
29<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
mpc85xx_enter_deep_sleep() -arch/powerpc/platforms/85xx/sleep.S<br />
1. Enable SPE/FPU<br />
2. Disable local interrupt<br />
3. Backup important SPR registers in memory<br />
4. Save current BPTR<br />
5. Flush and disable L2 and L1 cache<br />
6. Set resume entry point mpc85xx_deep_resume() to<br />
BPTR(boot page translate register)<br />
7. Disable decrementer<br />
8. Set deep sleep bit in power management unit<br />
TM<br />
30<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Hardware wait for POWER_OK signal or voltage ramp up timer<br />
expire<br />
• Core reboot from page mapped by BPTR --<br />
mpc85xx_deep_resume()<br />
• Enable L2 cache<br />
• Restore original BPTR and jump to normal memory address<br />
• Restore TLB1<br />
• Restore SPR registers<br />
• Return to common resume code (opposite to suspend<br />
sequence)<br />
TM<br />
31<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Jog mode<br />
• Change the core frequency to 533 MHz for each core<br />
− # echo 500000 ><br />
/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed<br />
− # echo 500000 ><br />
/sys/devices/system/cpu/cpu1/cpufreq/scaling_setspeed<br />
TM<br />
32<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• PM notifier<br />
• SCHED_MC<br />
TM<br />
33<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Make it possible for subsystems to register notifiers on<br />
suspend and hibernation events<br />
TM<br />
34<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Linux scheduling policy<br />
• /sys/devices/system/cpu/sched_mc_power_savings<br />
• Performance drawback<br />
• Not yet supported on <strong>Power</strong> Architecture ®<br />
TM<br />
P0 P1 P2 P3<br />
Shared L2<br />
35<br />
P0 P1 P2 P3<br />
IDLE<br />
Shared L2<br />
IDLE<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• CPU topology<br />
− SMT<br />
− <strong>Multicore</strong><br />
− CPU packages<br />
− NUMA<br />
TM<br />
36<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
TM<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire,<br />
ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, <strong>Power</strong>QUICC,<br />
Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of<br />
Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack,<br />
CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and<br />
Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service<br />
names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
.
100%<br />
80%<br />
60%<br />
40%<br />
20%<br />
0%<br />
Boot up<br />
No work,<br />
enter deep<br />
sleep<br />
TM<br />
Process<br />
request<br />
Wakeup by<br />
pre-defined<br />
network<br />
packet<br />
No work,<br />
enter deep<br />
sleep<br />
38<br />
Maintenance<br />
work, enter<br />
JOG<br />
Wakeup by<br />
pre-defined<br />
network<br />
packet<br />
Work<br />
finished,<br />
enter deep<br />
sleep<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Examine the load profile of user application<br />
• Define a policy for entering low power states<br />
− When?<br />
− Which state?<br />
• A compromise of power saving and response time<br />
TM<br />
39<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Clock Generators<br />
− <strong>Power</strong> only exists while switching. By definition, a clock exerts power<br />
every half cycle.<br />
• Gigabit Ethernet PHY<br />
− 10/100 power is 50% or less than that of 1G<br />
• <strong>Power</strong> Supplies<br />
− Can be extremely inefficient if not designed carefully (85% is<br />
considered great?!)<br />
• DDR3 Clock Terminations<br />
− Don’t let the DDR3 vendors fool you! There is more power hidden than<br />
you realize.<br />
• 3.3V Rails<br />
− 3.3 time X amps adds up fast<br />
• Thermals<br />
− Keep it cool!<br />
TM<br />
40<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Consider clock consolidations – less than 166 MHz should not<br />
be an issue from a signal-integrity perspective<br />
− DDRCLK tied to SYSCLK<br />
− PCI CLK tied to SYSCLK<br />
• Watch those buffers<br />
− Some multiple input buffers still leak or run even without a need<br />
− Turn them off in SW or with proper strapping<br />
TM<br />
41<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Can your application use 10/100?<br />
− 1G is becoming the norm<br />
− Possibly the biggest source of power on the system in a low-power<br />
state and 2nd largest in a dynamic state after the processor itself<br />
• Don’t forget the transmitters<br />
− In deep sleep the link must stay active<br />
− Need low power phys to accommodate<br />
TM<br />
42<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Designing a power supply that can perform well, deliver at peak<br />
power, AND be efficient during low power modes is challenging<br />
• Efficiency generally goes down when drawing low power<br />
• Upwards of 95% efficiency can be realized with some research<br />
and simulation<br />
TM<br />
43<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• While DDR3 devices can achieve very low power in self-refresh<br />
mode, there is no way to disable the clock termination during<br />
these modes<br />
• With standard termination, this can consume almost 200 mW<br />
• Through careful simulation, increasing the value of the<br />
termination can achieve closer to 80 mW<br />
• There may be other termination schemes (such as LVDS-like<br />
termination) that may improve the power slightly<br />
TM<br />
44<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Freescale devices require OVdd at 3.3V<br />
− Runs much of the I/O on the device<br />
• Consider the 2.5V rail where appropriate<br />
• Minimize the power on that rail during deep sleep<br />
− Delete the I/O that is not necessary to the final product (BOM<br />
optimize for power, not just cost)<br />
TM<br />
45<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Can you afford a bigger heatsink?<br />
• Can you afford an active heatsink?<br />
• Can you increase the airflow?<br />
• Can you maintain ambient to 25 o C during deep sleep?<br />
TM<br />
46<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• <strong>Power</strong> <strong>Management</strong> Basics<br />
• <strong>QorIQ</strong> power management features<br />
• Linux ® power management<br />
• Design your low-power solution<br />
TM<br />
Freescale on Kaixin<br />
Tag yourself in photos<br />
and upload your own!<br />
Session materials will be posted @ www.freescale.com/FTF<br />
47<br />
Weibo?<br />
Please use hashtag<br />
#FTF2012#<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, <strong>Power</strong>QUICC, Processor <strong>Expert</strong>, <strong>QorIQ</strong>, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, <strong>QorIQ</strong> Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.