<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/kernel/kvmclock.c, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-10-05T15:27:57Z</updated>
<entry>
<title>KVM guest: fix bogus wallclock physical address calculation</title>
<updated>2009-10-05T15:27:57Z</updated>
<author>
<name>Glauber Costa</name>
</author>
<published>2009-09-18T23:08:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc335935bf2b6084f411e244ca5323b57f864855'/>
<id>urn:sha1:cc335935bf2b6084f411e244ca5323b57f864855</id>
<content type='text'>
(cherry picked from commit a20316d2aa41a8f4fd171648bad8f044f6060826)

The use of __pa() to calculate the address of a C-visible symbol
is wrong, and can lead to unpredictable results. See arch/x86/include/asm/page.h
for details.

It should be replaced with __pa_symbol(), that does the correct math here,
by taking relocations into account.  This ensures the correct wallclock data
structure physical address is passed to the hypervisor.

Signed-off-by: Glauber Costa &lt;glommer@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>clocksource: pass clocksource to read() callback</title>
<updated>2009-04-21T20:41:47Z</updated>
<author>
<name>Magnus Damm</name>
</author>
<published>2009-04-21T19:24:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e19608e8b5c001e4a66ce482edc474f05fb7355'/>
<id>urn:sha1:8e19608e8b5c001e4a66ce482edc474f05fb7355</id>
<content type='text'>
Pass clocksource pointer to the read() callback for clocksources.  This
allows us to share the callback between multiple instances.

[hugh@veritas.com: fix powerpc build of clocksource pass clocksource mods]
[akpm@linux-foundation.org: cleanup]
Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Acked-by: John Stultz &lt;johnstul@us.ibm.com&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Hugh Dickins &lt;hugh@veritas.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>x86: refactor x86_quirks support</title>
<updated>2009-02-22T23:08:11Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2009-02-22T23:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e6dafd6c741cd4679b4de3c5d9698851e4fa59c'/>
<id>urn:sha1:8e6dafd6c741cd4679b4de3c5d9698851e4fa59c</id>
<content type='text'>
Impact: cleanup

Make x86_quirks support more transparent. The highlevel
methods are now named:

  extern void x86_quirk_pre_intr_init(void);
  extern void x86_quirk_intr_init(void);

  extern void x86_quirk_trap_init(void);

  extern void x86_quirk_pre_time_init(void);
  extern void x86_quirk_time_init(void);

This makes it clear that if some platform extension has to
do something here that it is considered ... weird, and is
discouraged.

Also remove arch_hooks.h and move it into setup.h (and other
header files where appropriate).

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: KVM guest: kvm_get_tsc_khz: return khz, not lpj</title>
<updated>2008-12-31T14:55:44Z</updated>
<author>
<name>Eduardo Habkost</name>
</author>
<published>2008-12-05T20:36:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e93353c93a3ba4215633ce930784f40a4e94e3f9'/>
<id>urn:sha1:e93353c93a3ba4215633ce930784f40a4e94e3f9</id>
<content type='text'>
kvm_get_tsc_khz() currently returns the previously-calculated preset_lpj
value, but it is in loops-per-jiffy, not kHz. The current code works
correctly only when HZ=1000.

Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86: KVM guest: sign kvmclock as paravirt</title>
<updated>2008-12-31T14:55:00Z</updated>
<author>
<name>Glauber Costa</name>
</author>
<published>2008-11-24T17:45:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=423cd25a5ade17b8a5cc85e6f0a0f37028d2c4a2'/>
<id>urn:sha1:423cd25a5ade17b8a5cc85e6f0a0f37028d2c4a2</id>
<content type='text'>
Currently, we only set the KVM paravirt signature in case
of CONFIG_KVM_GUEST. However, it is possible to have it turned
off, while CONFIG_KVM_CLOCK is turned on. This is also a paravirt
case, and should be shown accordingly.

Signed-off-by: Glauber Costa &lt;glommer@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>kvm_setup_secondary_clock() is cpuinit</title>
<updated>2008-11-30T18:03:37Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2008-11-22T17:37:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23a14b9e9db49ed5f7683857557c26c874d4abb6'/>
<id>urn:sha1:23a14b9e9db49ed5f7683857557c26c874d4abb6</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>x86: KVM guest: fix section mismatch warning in kvmclock.c</title>
<updated>2008-11-11T18:55:10Z</updated>
<author>
<name>Rakib Mullick</name>
</author>
<published>2008-10-29T21:13:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a29a2af378f3f6362b68e126e2541c8bde885ead'/>
<id>urn:sha1:a29a2af378f3f6362b68e126e2541c8bde885ead</id>
<content type='text'>
WARNING: arch/x86/kernel/built-in.o(.text+0x1722c): Section mismatch
in reference from the function kvm_setup_secondary_clock() to the
function .devinit.text:setup_secondary_APIC_clock()
The function kvm_setup_secondary_clock() references
the function __devinit setup_secondary_APIC_clock().
This is often because kvm_setup_secondary_clock lacks a __devinit
annotation or the annotation of setup_secondary_APIC_clock is wrong.

Signed-off-by: Md.Rakib H. Mullick &lt;rakib.mullick@gmail.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86: KVM guest: use paravirt function to calculate cpu khz</title>
<updated>2008-10-15T08:15:17Z</updated>
<author>
<name>Glauber Costa</name>
</author>
<published>2008-07-28T14:47:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0293615f3fb9886b6b23800c121be293bb7483e9'/>
<id>urn:sha1:0293615f3fb9886b6b23800c121be293bb7483e9</id>
<content type='text'>
We're currently facing timing problems in guests that do
calibration under heavy load, and then the load vanishes.
This means we'll have a much lower lpj than we actually should,
and delays end up taking less time than they should, which is a
nasty bug.

Solution is to pass on the lpj value from host to guest, and have it
preset.

Signed-off-by: Glauber Costa &lt;gcosta@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>x86: KVM guest: make kvm_smp_prepare_boot_cpu() static</title>
<updated>2008-07-20T09:42:37Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-06-30T22:19:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e37c2998a5a0b00134f6227167694b710f57ac0'/>
<id>urn:sha1:7e37c2998a5a0b00134f6227167694b710f57ac0</id>
<content type='text'>
This patch makes the needlessly global kvm_smp_prepare_boot_cpu() static.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
<entry>
<title>x86: KVM guest: Use the paravirt clocksource structs and functions</title>
<updated>2008-06-24T18:02:33Z</updated>
<author>
<name>Gerd Hoffmann</name>
</author>
<published>2008-06-03T14:17:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6e16d5ad463d15f285666f588cfe49495c692d9'/>
<id>urn:sha1:f6e16d5ad463d15f285666f588cfe49495c692d9</id>
<content type='text'>
This patch updates the kvm host code to use the pvclock structs
and functions, thereby making it compatible with Xen.

The patch also fixes an initialization bug: on SMP systems the
per-cpu has two different locations early at boot and after CPU
bringup.  kvmclock must take that in account when registering the
physical address within the host.

Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@qumranet.com&gt;
</content>
</entry>
</feed>
