linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Josh Boyer <jwboyer@linux.vnet.ibm.com>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [patch 06/10] 40x decrementer fixes
Date: Fri, 3 Aug 2007 12:25:12 -0500	[thread overview]
Message-ID: <20070803122512.26a24d99@weaponx.rchland.ibm.com> (raw)
In-Reply-To: <46B3617B.10509@ru.mvista.com>

On Fri, 03 Aug 2007 21:10:19 +0400
Sergei Shtylyov <sshtylyov@ru.mvista.com> wrote:

> I wrote:
> 
> >>Allow generic_calibrate_decr to work for 40x platforms.  Given that the hardware
> >>behavior is identical, this also changes the set_dec function to reload the PIT
> 
>     It's not actually identical. When you're writing to the PIT reg on 40x, 
> you're alos writing to the hidden PIT auto-reload reg. which is not the case 
> for 440 that is true Book E.

I said the hardware _behavior_ is identical.  On both 440 and 405, if
the PIT/DEC counts down to 0 and ARE isn't set, it just doesn't tick
anymore.  The fact that writing to PIT sets the shadow reload reg on
405 doesn't matter since ARE isn't enabled.  The same is true for 440
at the moment, since DECAR is never set.

> 
> >>on 40x to match the behavior 44x currently has.
> 
> >     Why bother doing this?! This will only warrant you imprecise decrementer 
> > interrupts while it should be interrupting at the precise period currently (if 
> > you load PIT once)...
> 
>     I.e. the error will only accumulate. NAK.

What error exactly?  I'm not following you there.  If there really is
an error, then we can fix it but it seems that it would be common error
for both 440 and 405 at the moment.

josh

  reply	other threads:[~2007-08-03 17:25 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03 16:09 [patch 00/10] 4xx patch series for 2.6.24 Josh Boyer
2007-08-03 16:09 ` [patch 01/10] Rename 4xx paths to 40x Josh Boyer
2007-08-03 16:09 ` [patch 02/10] 4xx Kconfig cleanup Josh Boyer
2007-08-04  7:45   ` David Gibson
2007-08-06 12:31     ` Josh Boyer
2007-08-07  3:06       ` David Gibson
2007-08-03 16:09 ` [patch 03/10] Rename 44x bootwrapper Josh Boyer
2007-08-06  4:36   ` David Gibson
2007-08-03 16:09 ` [patch 04/10] 4xx bootwrapper reworks Josh Boyer
2007-08-06  4:38   ` David Gibson
2007-08-06 12:36     ` Josh Boyer
2007-08-07  3:05       ` David Gibson
2007-08-07 13:10         ` Josh Boyer
2007-08-08  1:19           ` David Gibson
2007-08-03 16:09 ` [patch 05/10] 40x MMU Josh Boyer
2007-08-06  4:34   ` David Gibson
2007-08-03 16:09 ` [patch 06/10] 40x decrementer fixes Josh Boyer
2007-08-03 16:47   ` Sergei Shtylyov
2007-08-03 17:10     ` Sergei Shtylyov
2007-08-03 17:25       ` Josh Boyer [this message]
2007-08-03 17:30         ` Sergei Shtylyov
2007-08-03 17:30           ` Josh Boyer
2007-08-03 17:35             ` Sergei Shtylyov
2007-08-04  2:28       ` Benjamin Herrenschmidt
2007-08-05 14:12         ` Sergei Shtylyov
2007-08-03 17:15     ` Josh Boyer
2007-08-03 17:25       ` Sergei Shtylyov
2007-08-04  2:28     ` Benjamin Herrenschmidt
2007-08-05 14:19       ` Sergei Shtylyov
2007-08-03 16:09 ` [patch 07/10] Fix 40x build Josh Boyer
2007-08-06  4:39   ` David Gibson
2007-08-03 16:09 ` [patch 08/10] Bamboo DTS Josh Boyer
2007-08-06  4:53   ` David Gibson
2007-08-06 18:01     ` Jon Loeliger
2007-08-06 18:05       ` Josh Boyer
2007-08-07 13:11     ` Josh Boyer
2007-08-03 16:09 ` [patch 09/10] Bamboo board support Josh Boyer
2007-08-06  4:55   ` David Gibson
2007-08-03 16:09 ` [patch 10/10] Bamboo zImage wrapper Josh Boyer
2007-08-06  5:00   ` David Gibson
2007-08-06 12:39     ` Josh Boyer
2007-08-07  3:04       ` David Gibson
2007-08-07  3:04   ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070803122512.26a24d99@weaponx.rchland.ibm.com \
    --to=jwboyer@linux.vnet.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=sshtylyov@ru.mvista.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).