<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Ppc_Wait_Mode&amp;feed=atom&amp;action=history</id>
		<title>Ppc Wait Mode - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Ppc_Wait_Mode&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Ppc_Wait_Mode&amp;action=history"/>
		<updated>2013-05-22T05:01:11Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Ppc_Wait_Mode&amp;diff=72373&amp;oldid=prev</id>
		<title>Cschalle: Add category</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Ppc_Wait_Mode&amp;diff=72373&amp;oldid=prev"/>
				<updated>2011-10-27T22:13:42Z</updated>
		
		<summary type="html">&lt;p&gt;Add category&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:13, 27 October 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 103:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 103:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Open Source Projects/Mailing Lists ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Open Source Projects/Mailing Lists ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:PowerPC]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cschalle</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Ppc_Wait_Mode&amp;diff=2051&amp;oldid=prev</id>
		<title>RBot: Bot (Edward's framework)</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Ppc_Wait_Mode&amp;diff=2051&amp;oldid=prev"/>
				<updated>2007-03-06T03:35:54Z</updated>
		
		<summary type="html">&lt;p&gt;Bot (Edward&amp;#039;s framework)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Table Of Contents:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This page has information about [technology area], which is of interest to CE Linux Forum members,&lt;br /&gt;
because [short rationale, or link to an introduction page]&lt;br /&gt;
&lt;br /&gt;
== CELF Technology/Project pages ==&lt;br /&gt;
* [link to public wiki technology page]&lt;br /&gt;
&lt;br /&gt;
== Documents ==&lt;br /&gt;
&lt;br /&gt;
=== How to enter wait mode ===&lt;br /&gt;
&lt;br /&gt;
WE bit in MSR register enables WAIT mode. You can find more information with&lt;br /&gt;
following resources.&lt;br /&gt;
&lt;br /&gt;
* http://www.xtrj.org/ppc/ppc2.htm&lt;br /&gt;
  &amp;quot;2.10 Power Management&amp;quot; summarilze wait mode on PPC familly&lt;br /&gt;
&lt;br /&gt;
* P352 on 440GP User's Manual&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Figure 10-1. Machine State Register (MSR)&lt;br /&gt;
&lt;br /&gt;
      13 WE Wait State Enable &lt;br /&gt;
          0 The processor is not in the wait state. &lt;br /&gt;
          1 The processor is in the wait state. If MSR[WE] = 1,&lt;br /&gt;
             the processor remains in the wait state until an interrupt is taken, &lt;br /&gt;
             a reset occurs, or an external debug tool clears WE. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== PM on PPC 4xx ===&lt;br /&gt;
&lt;br /&gt;
PPC 4xx core has three PM state, &amp;quot;Active&amp;quot;, &amp;quot;Standby&amp;quot; and &amp;quot;Sleep&amp;quot;.&lt;br /&gt;
 - &amp;quot;Stanby&amp;quot; stands for &amp;quot;pipeline is stopped, however clock is active&amp;quot;.&lt;br /&gt;
   It means noraml(light) WAIT mode.&lt;br /&gt;
 - &amp;quot;Sleep&amp;quot; stands for &amp;quot;clock is stopped&amp;quot;. It means deeper WAIT mode.&lt;br /&gt;
&lt;br /&gt;
PPC Core FAQ (Ref: PPC440, PPC405) on IBM webiste says;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Q_20: The documentation mentions three power states; active, standby and sleep. &lt;br /&gt;
Nowhere in the documentation have I found any detail on how those states are &lt;br /&gt;
managed and exactly what happens in the non-active states.&lt;br /&gt;
A_20: PowerPC 4XX CPU cores have several features that help conserve power:&lt;br /&gt;
&lt;br /&gt;
        * First, the circuit implementation of the CPU cores automatically does &lt;br /&gt;
          clock gating to registers and latches when they are not being selected.&lt;br /&gt;
        * The CPU cores provide for program accessible means of stopping most &lt;br /&gt;
          activity by halting the execution pipeline.&lt;br /&gt;
        * Chip-top logic can be used to inactivate the clock enable inputs to&lt;br /&gt;
          the CPU or turn off the clocks external to the CPU core.&lt;br /&gt;
        * Chip-top logic can also be used to reduce the frequency of the clocks &lt;br /&gt;
          so that the CPU can continue to operate at a reduced capacity&lt;br /&gt;
&lt;br /&gt;
The power states are defined as:&lt;br /&gt;
&lt;br /&gt;
        * Active: the normal operating mode where the CPU is executing instructions&lt;br /&gt;
        * Standby: CPU clocks are active; the execution pipeline is stopped; an &lt;br /&gt;
          interrupt will start execution.&lt;br /&gt;
        * Sleep: CPU clocks are inactive or gated off; CPU can not be restarted via &lt;br /&gt;
          software mechanism or interrupt. This must be done by chip-top logic &lt;br /&gt;
          external to the CPU core&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== How to enter &amp;quot;Sleep&amp;quot; state on PPC440 ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Condtion where CPU enters &amp;quot;Sleep&amp;quot; state&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
This core sleep request signal is sent to a CPM unit to indicate that the &lt;br /&gt;
core is requesting to be put into a sleep mode. This signal is asserted by &lt;br /&gt;
the processor when the CPU is in the wait state, (i.e. MSR[WE] is set&lt;br /&gt;
and no incomplete instructions are in progress, including APU &lt;br /&gt;
instructions), the caches are idle (no fill or flush&lt;br /&gt;
operations are in progress or pending), and the trace FIFO is empty. &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 - Condtion where CPU leave &amp;quot;Sleep&amp;quot; stete&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Asserting following signal lines which are came from CPU core and are connected to &lt;br /&gt;
CPM(Clock and  Power managment Module), enter CPU &amp;quot;Sleep&amp;quot; state. So to leave from&lt;br /&gt;
the state, those signals would be &lt;br /&gt;
de-asserted.&lt;br /&gt;
&lt;br /&gt;
        C440_cpmDECIrptReq              Decrementer&lt;br /&gt;
        C440 _cpmFITIrptReq             Fixed interval timer&lt;br /&gt;
        C440_cpmWDIrptReq               WatchDog Output&lt;br /&gt;
        C440_cpmTimerResetReq           2nd reset from WatchDog&lt;br /&gt;
        C440_cpmMsrEE                   External Interrupt.&lt;br /&gt;
&lt;br /&gt;
In short, CPU timers can be used to leave &amp;quot;Sleep&amp;quot; state.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Open Source Projects/Mailing Lists ==&lt;/div&gt;</summary>
		<author><name>RBot</name></author>	</entry>

	</feed>