From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>, Ingo Molnar <mingo@elte.hu>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] Typo in x86 apic.c with DIVISOR setup
Date: Fri, 10 Oct 2008 17:29:59 +0100 (BST) [thread overview]
Message-ID: <alpine.LFD.1.10.0810101723290.19747@ftp.linux-mips.org> (raw)
In-Reply-To: <7E82351C108FA840AB1866AC776AEC4637823667@orsmsx505.amr.corp.intel.com>
On Fri, 10 Oct 2008, Pallipadi, Venkatesh wrote:
> I understand that using 1 instead of 16 makes APIC timer count 16 times faster.
> I did that change as I thought that was the intention of making APIC_DIVISOR as 1.
> Otherwise, there is no real impact of APIC_DIVISOR #define from being there. It
> Is just changing the value of calibration_result across 32 bit and 64 bit kernels.
To use the value of 1 for the predivisor, special arrangements would have
to be made for the discrete 82489DX APIC. And we want to keep code
variations as little as possible, especially when uncommon configurations
are considered. The value of 16 is supported universally with no special
cases.
> For example, "host bus clock speed" message will print different values across
> 32 bit and 64 bit kernels on the same system, if we just make APIC_DIVISOR
> 16 for 32 bit and 1 for 64 bit kernel.
All places have to agree on the value of the predivisor of course -- if
you can see a problem somewhere, then please do send a patch.
Maciej
prev parent reply other threads:[~2008-10-10 16:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-10 0:22 Venki Pallipadi
2008-10-10 4:38 ` Cyrill Gorcunov
2008-10-10 5:10 ` Pallipadi, Venkatesh
2008-10-10 5:39 ` Cyrill Gorcunov
2008-10-10 9:01 ` Ingo Molnar
2008-10-10 11:14 ` Cyrill Gorcunov
2008-10-10 11:15 ` Maciej W. Rozycki
2008-10-10 11:16 ` Cyrill Gorcunov
2008-10-10 11:24 ` Maciej W. Rozycki
2008-10-10 11:56 ` Ingo Molnar
2008-10-10 12:38 ` Cyrill Gorcunov
2008-10-10 14:45 ` Ingo Molnar
2008-10-10 12:26 ` Cyrill Gorcunov
2008-10-10 16:01 ` Pallipadi, Venkatesh
2008-10-10 16:29 ` Maciej W. Rozycki [this message]
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=alpine.LFD.1.10.0810101723290.19747@ftp.linux-mips.org \
--to=macro@linux-mips.org \
--cc=gorcunov@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
--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
Powered by JetHome