public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolo Ornati <ornati@fastwebnet.it>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: "Luck, Tony" <tony.luck@intel.com>, Bob Picco <bob.picco@hp.com>,
	john stultz <johnstul@us.ibm.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: "double" hpet clocksource && hard freeze [bisected]
Date: Tue, 28 Aug 2007 22:21:19 +0200	[thread overview]
Message-ID: <20070828222119.5ef295e3@localhost> (raw)
In-Reply-To: <20070828102709.sybsmvvdw0o8swo4@webmail.df.eu>

On Tue, 28 Aug 2007 10:27:09 +0200
Clemens Ladisch <clemens@ladisch.de> wrote:

> Luck, Tony wrote:
> > [...] Given that the hang went away when you applied the earlier patch, I
> > conclude that the drivers/char/hpet.c code is the one that got selected when
> > you had two "hpet" entries ... and that there is something wrong with that
> > code that doesn't work right on x86_64.  
> 
> Apparently, the 'generic' code was just copied from ia64 and assumes that the
> timer is 64 bits.  This is not true with hardware from VIA (even on x86_64).

The hardware of this PC is Intel, not VIA.

> 
> This patch should make it work (although I'd prefer to set the mask  
> dynamically
> according to the hardware caps).
> 
> --- a/drivers/char/hpet.c	Tue Aug 28 09:42:22 2007
> +++ b/drivers/char/hpet.c	Tue Aug 28 10:16:54 2007
> @@ -73,7 +73,7 @@
>           .name           = "hpet",
>           .rating         = 250,
>           .read           = read_hpet,
> -        .mask           = CLOCKSOURCE_MASK(64),
> +        .mask           = CLOCKSOURCE_MASK(32),


Anyway, I've applied it (manually... whitespace/mime damage) to -rc4 and
it seems to work, no crash so far (I'm sure I'm testing it because
plain -rc4 doesn't have the "2hpet" fix and still manifest the problem).

-- 
	Paolo Ornati
	Linux 2.6.23-rc4-dirty on x86_64

  reply	other threads:[~2007-08-28 20:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-28  8:27 "double" hpet clocksource && hard freeze [bisected] Clemens Ladisch
2007-08-28 20:21 ` Paolo Ornati [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-08-23 20:21 Paolo Ornati
2007-08-23 20:22 ` Paolo Ornati
2007-08-23 20:41 ` Luck, Tony
2007-08-23 21:05   ` john stultz
2007-08-23 21:38     ` Bob Picco
2007-08-24  7:03       ` Paolo Ornati
2007-08-23 21:41     ` john stultz
2007-08-24  7:01       ` Paolo Ornati
2007-08-24 12:46       ` Bob Picco
2007-08-24 13:27         ` Paolo Ornati
2007-08-24 16:04           ` Luck, Tony
2007-08-24 16:13             ` Paolo Ornati
2007-08-24 18:17         ` john stultz
2007-08-27 20:34           ` Luiz Fernando N. Capitulino
2007-08-27 21:39             ` john stultz
2007-08-28  6:07             ` Paolo Ornati
2007-08-24  9:03     ` Paolo Ornati
2007-08-24 18:43     ` john stultz

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=20070828222119.5ef295e3@localhost \
    --to=ornati@fastwebnet.it \
    --cc=bob.picco@hp.com \
    --cc=clemens@ladisch.de \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.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