Thread (3 messages) flat view 3 messages, 3 authors, 2005-08-16

Re: [PATCH] Use todc on Mot PReP platforms

From: Tom Rini <hidden>
Date: 2005-08-16 14:49:08

On Mon, Aug 15, 2005 at 10:52:24PM -0700, Matt Porter wrote:
On Thu, Aug 11, 2005 at 12:43:07PM -0700, Tom Rini wrote:
quoted
On Wed, Aug 10, 2005 at 09:37:35AM -0700, Matt Porter wrote:
quoted
This restores behavior from 2.4 where PReP platforms identified
as Motorola would calibrate the decrementer using the RTC. On
real Motorola PReP hardware this isn't needed. However, in order
to boot a stock 2.6 PReP kernel on qemu (which emulates a Motorola
PReP system) it is necessary to allow it to calibrate the decrementer
using an emulated RTC.  If the decrementer rate is read from
residual data then timing is screwed since a qemu PReP system typically
runs much faster than the original hardware.

If anybody has objections to this as the default, let me know. It
still works (as did 2.4) on a couple of my Mot PReP boxes and doesn't
affect the IBM PReP paths. My goal with this is to be able to run
a stock 2.6 defconfig PReP build on qemu.
So, I like this, and not just because I'm playing with qemu as well.
Why? It has no other redeeming quality except that it makes qemu work.
And it gets us away from residual data which can be crap or non
existant.  FWIW, I've move past using qemu, and I still like the change.

-- 
Tom Rini
http://gate.crashing.org/~trini/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help