All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Castleberry <jcastle@in-system.com>
To: jcastle@in-system.com, alan@lxorguk.ukuu.org.uk
Cc: linux-kernel@vger.kernel.org
Subject: Re: "clock timer configuration lost" on Serverworks chipset
Date: Mon, 21 May 2001 11:52:18 -0600 (MDT)	[thread overview]
Message-ID: <200105211752.LAA12353@osprey.in-system.com> (raw)

I'm confused.  The 2.2.19 time.c is already doing ">":
    /* VIA686a test code... reset the latch if count > max */
    if (count > LATCH-1) {
        [adjust count and whine]
The 2.2.20-pre2 patch doesn't change time.c, and I don't see
this code in 2.4.4 or 2.4.5pre.

Are you saying the code should be doing the equivalent of
"(count > LATCH)", or is 2.2.19 correct and the whines I'm
seeing mean there really is a problem with the Serverworks
chipset?

Thanks,

jcastle

Alan Cox wrote:
>Jim Castleberry)wrote:
>> How well has the problem been nailed down?  Could it be that it just
>> showed up first on VIA and the real cause (and fix) remains to be
>> discovered?  Or does Serverworks somehow have an identical bug in
>> their chipset?
>
>There is a notional off by one in the check at least by the rules of the
>original chip which do allow the overflow value to be visible momentarily.
>Later -ac checks for > not >=
>


             reply	other threads:[~2001-05-21 17:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-21 17:52 Jim Castleberry [this message]
2001-05-21 18:44 ` "clock timer configuration lost" on Serverworks chipset Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-05-16 22:12 Jim Castleberry
2001-05-17  0:17 ` Alan Cox

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=200105211752.LAA12353@osprey.in-system.com \
    --to=jcastle@in-system.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.