From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 15 Mar 2011 16:22:50 -0500 Subject: [U-Boot] p4080ds starts OS with MSR[EE]=1 and DEC armed? In-Reply-To: <3B470DFF-2345-45CE-A682-82D13A9E45C2@pobox.com> References: <6EC57A52-1C75-4F1A-8A43-90A06BB6D11B@kernel.crashing.org> <53D46768-81AF-4AE1-B484-372F8BDF3D62@watson.ibm.com> <20110315152443.61f52f57@schlenkerla> <3B470DFF-2345-45CE-A682-82D13A9E45C2@pobox.com> Message-ID: <20110315162250.67fff68c@schlenkerla> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 15 Mar 2011 16:16:39 -0500 Jimi Xenidis wrote: > That is true for "server" and "classic" because they do not necessarily stop at 0. > for embedded you can just: > /* u-boot leaves decrementer enabled */ > mtspr(SPRN_DECAR, 0); /* paranoia */ > mtspr(SPRN_DEC, 0); > mtspr(SPRN_TCR, 0); > mtspr(SPRN_TSR, 0); > > And there is no way in hell any timer will go off, right? Ah, right. Forgot it stopped at zero. -Scott