<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/arch/x86/kernel/tsc_32.c, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/arch/x86/kernel/tsc_32.c?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/arch/x86/kernel/tsc_32.c?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2008-07-09T05:43:27Z</updated>
<entry>
<title>x86: merge tsc_init and clocksource code</title>
<updated>2008-07-09T05:43:27Z</updated>
<author>
<name>Alok Kataria</name>
<email>akataria@vmware.com</email>
</author>
<published>2008-07-01T18:43:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8fbbc4b45ce3e4c0eeb15004c79c72b6896a79c2'/>
<id>urn:sha1:8fbbc4b45ce3e4c0eeb15004c79c72b6896a79c2</id>
<content type='text'>
Unify the clocksource code.
Unify the tsc_init code.

Signed-off-by: Alok N Kataria &lt;akataria@vmware.com&gt;
Signed-off-by: Dan Hecht &lt;dhecht@vmware.com&gt;
Cc: Dan Hecht &lt;dhecht@vmware.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: merge the TSC cpu-freq code</title>
<updated>2008-07-09T05:43:26Z</updated>
<author>
<name>Alok Kataria</name>
<email>akataria@vmware.com</email>
</author>
<published>2008-07-01T18:43:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2dbe06faf37b39f9ecffc054dd173b2a1dc2adcd'/>
<id>urn:sha1:2dbe06faf37b39f9ecffc054dd173b2a1dc2adcd</id>
<content type='text'>
Unify the TSC cpufreq code.

Signed-off-by: Alok N Kataria &lt;akataria@vmware.com&gt;
Signed-off-by: Dan Hecht &lt;dhecht@vmware.com&gt;
Cc: Dan Hecht &lt;dhecht@vmware.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: merge tsc calibration</title>
<updated>2008-07-09T05:43:25Z</updated>
<author>
<name>Alok Kataria</name>
<email>akataria@vmware.com</email>
</author>
<published>2008-07-01T18:43:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bfc0f5947afa5e3a13e55867f4478c8a92c11dca'/>
<id>urn:sha1:bfc0f5947afa5e3a13e55867f4478c8a92c11dca</id>
<content type='text'>
Merge the tsc calibration code for the 32bit and 64bit kernel.
The paravirtualized calculate_cpu_khz for 64bit now points to the correct
tsc_calibrate code as in 32bit.
Original native_calculate_cpu_khz for 64 bit is now called as calibrate_cpu.

Also moved the recalibrate_cpu_khz function in the common file.
Note that this function is called only from powernow K7 cpu freq driver.

Signed-off-by: Alok N Kataria &lt;akataria@vmware.com&gt;
Signed-off-by: Dan Hecht &lt;dhecht@vmware.com&gt;
Cc: Dan Hecht &lt;dhecht@vmware.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: merge sched_clock handling</title>
<updated>2008-07-09T05:43:25Z</updated>
<author>
<name>Alok Kataria</name>
<email>akataria@vmware.com</email>
</author>
<published>2008-07-01T18:43:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0ef95533326a7b37d16025af9edc0c18e644b346'/>
<id>urn:sha1:0ef95533326a7b37d16025af9edc0c18e644b346</id>
<content type='text'>
Move the basic global variable definitions and sched_clock handling in the
common "tsc.c" file.

 - Unify notsc kernel command line handling for 32 bit and 64bit.
 - Functional changes for 64bit.
        - "tsc_disabled" is updated if "notsc" is passed at boottime.
        - Fallback to jiffies for sched_clock, incase notsc is passed on
	  commandline.

Signed-off-by: Alok N Kataria &lt;akataria@vmware.com&gt;
Signed-off-by: Dan Hecht &lt;dhecht@vmware.com&gt;
Cc: Dan Hecht &lt;dhecht@vmware.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>Merge branches 'x86/mmio', 'x86/delay', 'x86/idle', 'x86/oprofile', 'x86/debug', 'x86/ptrace' and 'x86/amd-iommu' into x86/devel</title>
<updated>2008-07-08T07:46:15Z</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2008-07-08T07:46:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=58cf35228fec541418cc3bd781d6c069d904815e'/>
<id>urn:sha1:58cf35228fec541418cc3bd781d6c069d904815e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'linus' into x86/timers</title>
<updated>2008-06-25T10:36:55Z</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2008-06-25T10:36:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f6477cc76c73833a56e97f1fafc36a7ca92927e5'/>
<id>urn:sha1:f6477cc76c73833a56e97f1fafc36a7ca92927e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'linus' into x86/delay</title>
<updated>2008-06-25T10:30:10Z</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2008-06-25T10:30:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=28f73e51d0f64a5b896ad816ab8df6f3bcec5810'/>
<id>urn:sha1:28f73e51d0f64a5b896ad816ab8df6f3bcec5810</id>
<content type='text'>
Conflicts:

	arch/x86/kernel/tsc_32.c

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: use cpu_khz for loops_per_jiffy calculation, cleanup</title>
<updated>2008-06-24T11:53:46Z</updated>
<author>
<name>Alok Kataria</name>
<email>akataria@vmware.com</email>
</author>
<published>2008-06-24T01:21:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f3f3149f35b9195ef4b761b1353fc0766b5f53be'/>
<id>urn:sha1:f3f3149f35b9195ef4b761b1353fc0766b5f53be</id>
<content type='text'>
As suggested by Ingo, remove all references to tsc from init/calibrate.c

TSC is x86 specific, and using tsc in variable names in a generic file should
be avoided. lpj_tsc is now called lpj_fine, since it is related to fine tuning
of lpj value. Also tsc_rate_*  is called timer_rate_*

Signed-off-by: Alok N Kataria &lt;akataria@vmware.com&gt;
Cc: Arjan van de Ven &lt;arjan@infradead.org&gt;
Cc: Daniel Hecht &lt;dhecht@vmware.com&gt;
Cc: Tim Mann &lt;mann@vmware.com&gt;
Cc: Zach Amsden &lt;zach@vmware.com&gt;
Cc: Sahil Rihan &lt;srihan@vmware.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: fix "x86: use cpu_khz for loops_per_jiffy calculation"</title>
<updated>2008-06-24T07:29:03Z</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2008-06-23T23:19:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6ff10de374cc68ff2024247793176dc8a1b317ea'/>
<id>urn:sha1:6ff10de374cc68ff2024247793176dc8a1b317ea</id>
<content type='text'>
fix:

arch/x86/kernel/tsc_32.c: In function ‘tsc_init':
arch/x86/kernel/tsc_32.c:421: error: ‘lpj_tsc' undeclared (first use in this function)
arch/x86/kernel/tsc_32.c:421: error: (Each undeclared identifier is reported only once
arch/x86/kernel/tsc_32.c:421: error: for each function it appears in.)

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: use cpu_khz for loops_per_jiffy calculation</title>
<updated>2008-06-23T20:51:33Z</updated>
<author>
<name>Alok Kataria</name>
<email>akataria@vmware.com</email>
</author>
<published>2008-06-20T22:06:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=3da757daf86e498872855f0b5e101f763ba79499'/>
<id>urn:sha1:3da757daf86e498872855f0b5e101f763ba79499</id>
<content type='text'>
On the x86 platform we can use the value of tsc_khz computed during tsc
calibration to calculate the loops_per_jiffy value. Its very important
to keep the error in lpj values to minimum as any error in that may
result in kernel panic in check_timer. In virtualization environment, On
a highly overloaded host the guest delay calibration may sometimes
result in errors beyond the ~50% that timer_irq_works can handle,
resulting in the guest panicking.

Does some formating changes to lpj_setup code to now have a single
printk to print the bogomips value.

We do this only for the boot processor because the AP's can have
different base frequencies or the BIOS might boot a AP at a different
frequency.

Signed-off-by: Alok N Kataria &lt;akataria@vmware.com&gt;
Cc: Arjan van de Ven &lt;arjan@infradead.org&gt;
Cc: Daniel Hecht &lt;dhecht@vmware.com&gt;
Cc: Tim Mann &lt;mann@vmware.com&gt;
Cc: Zach Amsden &lt;zach@vmware.com&gt;
Cc: Sahil Rihan &lt;srihan@vmware.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
</feed>
