login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
24
Re: [PATCH] x86, apic: Add apic calibration hook.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Thomas Gleixner
Subject:
Re: [PATCH] x86, apic: Add apic calibration hook.
Date: Tuesday, August 24, 2010 - 6:37 am
On Wed, 18 Aug 2010, Alok Kataria wrote:
quoted text
> > +static void __init initialize_lapic_clkevt(long delta) > +{ > + /* Calculate the scaled math multiplication factor */ > + lapic_clockevent.mult = div_sc(delta, TICK_NSEC * LAPIC_CAL_LOOPS, > + lapic_clockevent.shift); > + lapic_clockevent.max_delta_ns = > + clockevent_delta2ns(0x7FFFFF, &lapic_clockevent); > + lapic_clockevent.min_delta_ns = > + clockevent_delta2ns(0xF, &lapic_clockevent); > +} > + > static int __init calibrate_APIC_clock(void) > { > + apic_calibration_res = x86_init.timers.calibrate_apic(); > + if (apic_calibration_res) { > + struct clock_event_device *levt = &__get_cpu_var(lapic_events); > + long delta; > + > + if (lapic_clockevent.mult) > + return 0;
Why is this necessary ? calibrate_APIC_clock() is only called once. Thanks, tglx --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] x86, apic: Add apic calibration hook.
, Alok Kataria
, (Wed Aug 18, 10:41 am)
Re: [PATCH] x86, apic: Add apic calibration hook.
, Alok Kataria
, (Wed Aug 18, 10:53 am)
Re: [PATCH] x86, apic: Add apic calibration hook.
, Alok Kataria
, (Wed Aug 18, 12:27 pm)
Re: [PATCH] x86, apic: Add apic calibration hook.
, Alok Kataria
, (Mon Aug 23, 5:12 pm)
Re: [PATCH] x86, apic: Add apic calibration hook.
, Thomas Gleixner
, (Tue Aug 24, 6:37 am)
Re: [PATCH] x86, apic: Add apic calibration hook.
, Alok Kataria
, (Tue Aug 24, 10:06 am)
Re: [PATCH] x86, apic: Add apic calibration hook.
, Thomas Gleixner
, (Tue Aug 24, 2:51 pm)
Re: [PATCH] x86, apic: Add apic calibration hook.
, Alok Kataria
, (Tue Aug 24, 2:58 pm)
Re: [PATCH] x86, apic: Add apic calibration hook.
, Alok Kataria
, (Fri Aug 27, 2:28 pm)
Re: [PATCH] x86, apic: Add apic calibration hook.
, Alok Kataria
, (Wed Sep 1, 12:30 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Peter Zijlstra
Re: [RFC PATCH 1/2] Marker probes in futex.c
Andrew Morton
Re: [PATCH] lazy freeing of memory through MADV_FREE 2/2
Jordan Crouse
Re: 2.6.25-mm1
Andi Kleen
[PATCH] [0/35] Some x86 2.6.22 candidate patches for review
Stephen Rothwell
linux-next: manual merge of the block tree with the ext4 tree
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
Nicolas Pitre
Re: About git and the use of SHA-1
linux-netdev
:
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Andi Kleen
Re: RFC: Nagle latency tuning
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
Russell King
Re: [BUG] New Kernel Bugs
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
sh: Fix compile error by operands(mov.l) in sh3/entry.S
openbsd-misc
:
Rob Shepherd
x86 hardware for router system
Andres Salazar
About priorities in /etc/resolv.conf
P. Souza
Re: RouterBOARD RB600A support
Mitja Muženič
Re: isakmpd -- NCP IPsec client: peer proposed invalid phase 2 IDs
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate