<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/include/asm/pvclock.h, branch linux-3.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-11-28T01:29:09Z</updated>
<entry>
<title>x86: pvclock: generic pvclock vsyscall initialization</title>
<updated>2012-11-28T01:29:09Z</updated>
<author>
<name>Marcelo Tosatti</name>
</author>
<published>2012-11-28T01:28:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71056ae22d43f58d7e0f793af18ace2eaf5b74eb'/>
<id>urn:sha1:71056ae22d43f58d7e0f793af18ace2eaf5b74eb</id>
<content type='text'>
Originally from Jeremy Fitzhardinge.

Introduce generic, non hypervisor specific, pvclock initialization
routines.

Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86: pvclock: add note about rdtsc barriers</title>
<updated>2012-11-28T01:29:08Z</updated>
<author>
<name>Marcelo Tosatti</name>
</author>
<published>2012-11-28T01:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=189e11731aa858597095fbe1e6d243bad26bd96b'/>
<id>urn:sha1:189e11731aa858597095fbe1e6d243bad26bd96b</id>
<content type='text'>
As noted by Gleb, not advertising SSE2 support implies
no RDTSC barriers.

Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86: pvclock: introduce helper to read flags</title>
<updated>2012-11-28T01:29:08Z</updated>
<author>
<name>Marcelo Tosatti</name>
</author>
<published>2012-11-28T01:28:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2697902be89d7f38e9736dfe946cd0e5d4f47b80'/>
<id>urn:sha1:2697902be89d7f38e9736dfe946cd0e5d4f47b80</id>
<content type='text'>
Acked-by: Glauber Costa &lt;glommer@parallels.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86: pvclock: create helper for pvclock data retrieval</title>
<updated>2012-11-28T01:29:07Z</updated>
<author>
<name>Marcelo Tosatti</name>
</author>
<published>2012-11-28T01:28:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dce2db0a35197e2f4421245079f19ab753e97348'/>
<id>urn:sha1:dce2db0a35197e2f4421245079f19ab753e97348</id>
<content type='text'>
Originally from Jeremy Fitzhardinge.

So code can be reused.

Acked-by: Glauber Costa &lt;glommer@parallels.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: Fix instruction size issue in pvclock scaling</title>
<updated>2011-08-30T11:42:30Z</updated>
<author>
<name>Duncan Sands</name>
</author>
<published>2011-08-30T08:58:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b217116edaac634bf31e85c35708298059a8171'/>
<id>urn:sha1:3b217116edaac634bf31e85c35708298059a8171</id>
<content type='text'>
Commit de2d1a524e94 ("KVM: Fix register corruption in pvclock_scale_delta")
introduced a mul instruction that may have only a memory operand; the
assembler therefore cannot select the correct size:

   pvclock.s:229: Error: no instruction mnemonic suffix given and no register
operands; can't size instruction

In this example the assembler is:

         #APP
         mul -48(%rbp) ; shrd $32, %rdx, %rax
         #NO_APP

A simple solution is to use mulq.

Signed-off-by: Duncan Sands &lt;baldrick@free.fr&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: Fix register corruption in pvclock_scale_delta</title>
<updated>2011-06-19T16:23:14Z</updated>
<author>
<name>Zachary Amsden</name>
</author>
<published>2011-06-16T03:50:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de2d1a524e94a79078d9fe22c57c0c6009237547'/>
<id>urn:sha1:de2d1a524e94a79078d9fe22c57c0c6009237547</id>
<content type='text'>
The 128-bit multiply in pvclock.h was missing an output constraint for
EDX which caused a register corruption to appear.  Thanks to Ulrich for
diagnosing the EDX corruption and Avi for providing this fix.

Signed-off-by: Zachary Amsden &lt;zamsden@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86/pvclock: Zero last_value on resume</title>
<updated>2010-11-28T08:33:20Z</updated>
<author>
<name>Jeremy Fitzhardinge</name>
</author>
<published>2010-10-25T23:53:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7a3481c0246c8e45e79c629efd63b168e91fcda'/>
<id>urn:sha1:e7a3481c0246c8e45e79c629efd63b168e91fcda</id>
<content type='text'>
If the guest domain has been suspend/resumed or migrated, then the
system clock backing the pvclock clocksource may revert to a smaller
value (ie, can be non-monotonic across the migration/save-restore).

Make sure we zero last_value in that case so that the domain
continues to see clock updates.

Signed-off-by: Jeremy Fitzhardinge &lt;jeremy.fitzhardinge@citrix.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: pvclock: Move scale_delta into common header</title>
<updated>2010-10-24T08:51:24Z</updated>
<author>
<name>Zachary Amsden</name>
</author>
<published>2010-08-20T08:07:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=347bb4448c2155eb2310923ccaa4be5677649003'/>
<id>urn:sha1:347bb4448c2155eb2310923ccaa4be5677649003</id>
<content type='text'>
The scale_delta function for shift / multiply with 31-bit
precision moves to a common header so it can be used by both
kernel and kvm module.

Signed-off-by: Zachary Amsden &lt;zamsden@redhat.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86, paravirt: Enable pvclock flags in vcpu_time_info structure</title>
<updated>2010-05-19T08:40:59Z</updated>
<author>
<name>Glauber Costa</name>
</author>
<published>2010-05-11T16:17:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=424c32f1aa3112632a657d45698c8e7666668f78'/>
<id>urn:sha1:424c32f1aa3112632a657d45698c8e7666668f78</id>
<content type='text'>
This patch removes one padding byte and transform it into a flags
field. New versions of guests using pvclock will query these flags
upon each read.

Flags, however, will only be interpreted when the guest decides to.
It uses the pvclock_valid_flags function to signal that a specific
set of flags should be taken into consideration. Which flags are valid
are usually devised via HV negotiation.

Signed-off-by: Glauber Costa &lt;glommer@redhat.com&gt;
CC: Jeremy Fitzhardinge &lt;jeremy@goop.org&gt;
Acked-by: Zachary Amsden &lt;zamsden@redhat.com&gt;
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86: Fix ASM_X86__ header guards</title>
<updated>2008-10-23T05:55:23Z</updated>
<author>
<name>H. Peter Anvin</name>
</author>
<published>2008-10-23T05:26:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1965aae3c98397aad957412413c07e97b1bd4e64'/>
<id>urn:sha1:1965aae3c98397aad957412413c07e97b1bd4e64</id>
<content type='text'>
Change header guards named "ASM_X86__*" to "_ASM_X86_*" since:

a. the double underscore is ugly and pointless.
b. no leading underscore violates namespace constraints.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
</feed>
