From: Jeff Mahoney <jeffm@suse.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andreas Herrmann <andreas.herrmann3@amd.com>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [BUG] IO-APIC + timer doesn't work!
Date: Sat, 18 Apr 2009 15:52:33 -0400 [thread overview]
Message-ID: <49EA2F81.7030302@suse.com> (raw)
In-Reply-To: <49E9904A.5030201@web.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jan Kiszka wrote:
> Jeff Mahoney wrote:
>> Hi all -
>>
>> I saw this while booting 2.6.30-rc1, -rc2, and today's git, on one of
>> my development nodes. This output is with apic=debug. With noapic,
>> it still hung. Both outputs follow.
>>
>> git bisect leads to commit 8d6f0c8214928f7c5083dd54ecb69c5d615b516e,
>> but I'm not seeing anything obvious there. Backing just that change
>> out doesn't fix it.
[snip]
> Hmmmmm. That somehow reminds me of what I thought I had to fix in the
> HPET emulation of QEMU just recently [1] - because of 2.6.30-rc's behavior.
>
> Could you try if writing 'delta' a second time makes any difference on
> that box?
>
> diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
> index 648b3a2..523d72b 100644
> --- a/arch/x86/kernel/hpet.c
> +++ b/arch/x86/kernel/hpet.c
> @@ -324,6 +324,7 @@ static void hpet_set_mode(enum clock_event_mode mode,
> HPET_TN_SETVAL | HPET_TN_32BIT;
> hpet_writel(cfg, HPET_Tn_CFG(timer));
> hpet_writel((unsigned long) delta, HPET_Tn_CMP(timer));
> + hpet_writel((unsigned long) delta, HPET_Tn_CMP(timer));
> hpet_start_counter();
> hpet_print_config();
> break;
>
Thanks, Jan.
That fixed it for me.
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAknqL4EACgkQLPWxlyuTD7JGSQCfROvm+88YIifOzWNar0MOCs3F
s5QAoKDi1IKw0Qrk6dky3iQ+u3sF2eAh
=pgI6
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2009-04-18 19:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-17 15:15 [BUG] IO-APIC + timer doesn't work! Jeff Mahoney
2009-04-18 8:33 ` Jan Kiszka
2009-04-18 19:52 ` Jeff Mahoney [this message]
2009-04-18 20:06 ` Ingo Molnar
2009-04-18 20:25 ` Jan Kiszka
2009-04-18 20:32 ` Ingo Molnar
2009-04-18 20:46 ` Jan Kiszka
2009-04-22 10:19 ` Andreas Herrmann
2009-04-22 10:46 ` Ingo Molnar
2009-04-22 17:13 ` Andreas Herrmann
2009-04-22 13:41 ` Jeff Mahoney
2009-04-20 8:58 ` Andreas Herrmann
2009-04-20 14:23 ` Jeff Mahoney
2009-04-21 18:00 ` Andreas Herrmann
2009-04-22 11:21 ` [tip:x86/urgent] x86: hpet: fix periodic mode programming on AMD 81xx tip-bot for Andreas Herrmann
2009-04-22 13:54 ` tip-bot for Andreas Herrmann
2009-04-20 9:04 ` [BUG] IO-APIC + timer doesn't work! Andreas Herrmann
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=49EA2F81.7030302@suse.com \
--to=jeffm@suse.com \
--cc=andreas.herrmann3@amd.com \
--cc=jan.kiszka@web.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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