From: Vojtech Pavlik <vojtech@suse.cz>
To: "Mika Penttilä" <mika.penttila@kolumbus.fi>
Cc: Andi Kleen <ak@muc.de>, Om Narasimhan <om.turyx@gmail.com>,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>,
linux-kernel@vger.kernel.org, randy.dunlap@oracle.com,
clemens@ladisch.de, bob.picco@hp.com
Subject: Re: HPET : Legacy Routing Replacement Enable - 3rd try.
Date: Fri, 27 Oct 2006 09:03:19 +0200 [thread overview]
Message-ID: <20061027070319.GA24559@suse.cz> (raw)
In-Reply-To: <4541A758.9010504@kolumbus.fi>
On Fri, Oct 27, 2006 at 09:29:44AM +0300, Mika Penttilä wrote:
> >JFYI: The new per-cpu timekeeping code doesn't need the HPET legacy bit,
> >thus not replacing IRQ0 (PIT) and IRQ13 (RTC). It still can do that, but
> >will work just as well without it.
> There seems to be lot of confusion here. Current code isn't using hpet
> as tick source if legacy is not supported. This patch adds
> hpet_lrr_force but it's not clear how it interacts with hpet_use_timer -
> in some places it is hpet_use_timer and some (hpet_use_timer &&
> hpet_lrr_force).
Sorry about my share of confusion introduced: Jiri Bohac
(jbohac@suse.cz) is currently working on a new timekeeping code for
x86-64 that takes a significantly different approach that allows for
precise and fast gettimeofday even on CPUs with unsynchronized TSCs.
This rewrite depends even less on hpet_use_timer than the current code.
The current code can cope with hpet_use_timer == 0, but that mode of
operation is far from optimal.
> The timer is routed to ioapic pin 2 which is irq0 with source override.
> With this patch with hpet_lrr_force=1 timer irq is set to 2 for x86_64
> and 0 for i386, that can't be right?
It doesn't seem right to me, unless someone at Sun really misread the
specification when designing the mainboard.
--
Vojtech Pavlik
Director SuSE Labs
next prev parent reply other threads:[~2006-10-27 7:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-25 20:21 HPET : Legacy Routing Replacement Enable - 3rd try Pallipadi, Venkatesh
2006-10-25 21:20 ` Om Narasimhan
2006-10-27 2:42 ` Andi Kleen
2006-10-27 5:57 ` Vojtech Pavlik
2006-10-27 6:29 ` Mika Penttilä
2006-10-27 7:03 ` Vojtech Pavlik [this message]
2006-10-27 22:31 ` Om Narasimhan
2006-10-27 6:11 ` Om Narasimhan
2006-10-27 14:59 ` Andi Kleen
2006-10-28 17:49 ` Andi Kleen
-- strict thread matches above, loose matches on Subject: below --
2006-10-25 7:13 Om Narasimhan
2006-10-25 18:53 ` Andi Kleen
2006-10-25 20:09 ` Om Narasimhan
2006-10-25 20:13 ` Om Narasimhan
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=20061027070319.GA24559@suse.cz \
--to=vojtech@suse.cz \
--cc=ak@muc.de \
--cc=bob.picco@hp.com \
--cc=clemens@ladisch.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mika.penttila@kolumbus.fi \
--cc=om.turyx@gmail.com \
--cc=randy.dunlap@oracle.com \
--cc=venkatesh.pallipadi@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