<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/hv, branch v4.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-11-01T15:07:13Z</updated>
<entry>
<title>vmbus: make sysfs names consistent with PCI</title>
<updated>2016-11-01T15:07:13Z</updated>
<author>
<name>Stephen Hemminger</name>
<email>sthemmin@microsoft.com</email>
</author>
<published>2016-11-01T07:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f6b2db084b65b9dc0f910bc48d5f77c0e5166dc6'/>
<id>urn:sha1:f6b2db084b65b9dc0f910bc48d5f77c0e5166dc6</id>
<content type='text'>
In commit 9a56e5d6a0ba ("Drivers: hv: make VMBus bus ids persistent")
the name of vmbus devices in sysfs changed to be (in 4.9-rc1):
  /sys/bus/vmbus/vmbus-6aebe374-9ba0-11e6-933c-00259086b36b

The prefix ("vmbus-") is redundant and differs from how PCI is
represented in sysfs. Therefore simplify to:
  /sys/bus/vmbus/6aebe374-9ba0-11e6-933c-00259086b36b

Please merge this before 4.9 is released and the old format
has to live forever.

Signed-off-by: Stephen Hemminger &lt;sthemmin@microsoft.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>hv: do not lose pending heartbeat vmbus packets</title>
<updated>2016-10-25T06:52:10Z</updated>
<author>
<name>Long Li</name>
<email>longli@microsoft.com</email>
</author>
<published>2016-10-05T23:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=407a3aee6ee2d2cb46d9ba3fc380bc29f35d020c'/>
<id>urn:sha1:407a3aee6ee2d2cb46d9ba3fc380bc29f35d020c</id>
<content type='text'>
The host keeps sending heartbeat packets independent of the
guest responding to them.  Even though we respond to the heartbeat messages at
interrupt level, we can have situations where there maybe multiple heartbeat
messages pending that have not been responded to. For instance this occurs when the
VM is paused and the host continues to send the heartbeat messages.
Address this issue by draining and responding to all
the heartbeat messages that maybe pending.

Signed-off-by: Long Li &lt;longli@microsoft.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
CC: Stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Drivers: hv: get rid of id in struct vmbus_channel</title>
<updated>2016-09-27T10:35:49Z</updated>
<author>
<name>Vitaly Kuznetsov</name>
<email>vkuznets@redhat.com</email>
</author>
<published>2016-09-16T16:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e7fca5d860aeeb1e606448f5191cea8d925cc7a3'/>
<id>urn:sha1:e7fca5d860aeeb1e606448f5191cea8d925cc7a3</id>
<content type='text'>
The auto incremented counter is not being used anymore, get rid of it.

Signed-off-by: Vitaly Kuznetsov &lt;vkuznets@redhat.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Drivers: hv: make VMBus bus ids persistent</title>
<updated>2016-09-27T10:35:49Z</updated>
<author>
<name>Vitaly Kuznetsov</name>
<email>vkuznets@redhat.com</email>
</author>
<published>2016-09-16T16:01:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b294809dbfa7e50229d00253d43f9a56e5d6a0ba'/>
<id>urn:sha1:b294809dbfa7e50229d00253d43f9a56e5d6a0ba</id>
<content type='text'>
Some tools use bus ids to identify devices and they count on the fact
that these ids are persistent across reboot. This may be not true for
VMBus as we use auto incremented counter from alloc_channel() as such
id. Switch to using if_instance from channel offer, this id is supposed
to be persistent.

Signed-off-by: Vitaly Kuznetsov &lt;vkuznets@redhat.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Drivers: hv: hv_util: Avoid dynamic allocation in time synch</title>
<updated>2016-09-09T11:48:23Z</updated>
<author>
<name>Vivek yadav</name>
<email>vyadav@microsoft.com</email>
</author>
<published>2016-09-09T07:42:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3ba1eb17b633b419737b65429fa7124ce87c5efc'/>
<id>urn:sha1:3ba1eb17b633b419737b65429fa7124ce87c5efc</id>
<content type='text'>
Under stress, we have seen allocation failure in time synch code. Avoid
this dynamic allocation.

Signed-off-by: Vivek Yadav &lt;vyadav@microsoft.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Drivers: hv: utils: Support TimeSync version 4.0 protocol samples.</title>
<updated>2016-09-08T11:53:07Z</updated>
<author>
<name>Alex Ng</name>
<email>alexng@messages.microsoft.com</email>
</author>
<published>2016-09-08T12:24:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8e1d260738ca89bc7c87444f95f04a026d12b496'/>
<id>urn:sha1:8e1d260738ca89bc7c87444f95f04a026d12b496</id>
<content type='text'>
This enables support for more accurate TimeSync v4 samples when hosted
under Windows Server 2016 and newer hosts.

The new time samples include a "vmreferencetime" field that represents
the guest's TSC value when the host generated its time sample. This value
lets the guest calculate the latency in receiving the time sample. The
latency is added to the sample host time prior to updating the clock.

Signed-off-by: Alex Ng &lt;alexng@messages.microsoft.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Drivers: hv: utils: Use TimeSync samples to adjust the clock after boot.</title>
<updated>2016-09-08T11:53:07Z</updated>
<author>
<name>Alex Ng</name>
<email>alexng@messages.microsoft.com</email>
</author>
<published>2016-09-08T12:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2e338f7e034f12066c78999deff8894c337ae23b'/>
<id>urn:sha1:2e338f7e034f12066c78999deff8894c337ae23b</id>
<content type='text'>
Only the first 50 samples after boot were being used to discipline the
clock. After the first 50 samples, any samples from the host were ignored
and the guest clock would eventually drift from the host clock.

This patch allows TimeSync-enabled guests to continuously synchronize the
clock with the host clock, even after the first 50 samples.

Signed-off-by: Alex Ng &lt;alexng@messages.microsoft.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Drivers: hv: utils: Rename version definitions to reflect protocol version.</title>
<updated>2016-09-08T11:53:07Z</updated>
<author>
<name>Alex Ng</name>
<email>alexng@messages.microsoft.com</email>
</author>
<published>2016-09-08T12:24:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=abeda47ebb20997aa3c5b4cac7db70f8bea62d7d'/>
<id>urn:sha1:abeda47ebb20997aa3c5b4cac7db70f8bea62d7d</id>
<content type='text'>
Different Windows host versions may reuse the same protocol version when
negotiating the TimeSync, Shutdown, and Heartbeat protocols. We should only
refer to the protocol version to avoid conflating the two concepts.

Signed-off-by: Alex Ng &lt;alexng@messages.microsoft.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Drivers: hv: vmbus: suppress some "hv_vmbus: Unknown GUID" warnings</title>
<updated>2016-09-07T10:57:55Z</updated>
<author>
<name>Dexuan Cui</name>
<email>decui@microsoft.com</email>
</author>
<published>2016-09-07T12:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0f98829a99850836cf7c2cc9fbf1d7ce0f795780'/>
<id>urn:sha1:0f98829a99850836cf7c2cc9fbf1d7ce0f795780</id>
<content type='text'>
Some VMBus devices are not needed by Linux guest[1][2], and, VMBus channels
of Hyper-V Sockets don't really mean usual synthetic devices, so let's
suppress the warnings for them.

[1] https://support.microsoft.com/en-us/kb/2925727
[2] https://msdn.microsoft.com/en-us/library/jj980180(v=winembedded.81).aspx

Signed-off-by: Dexuan Cui &lt;decui@microsoft.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Driver: hv: vmbus: Make mmio resource local</title>
<updated>2016-09-07T10:57:55Z</updated>
<author>
<name>Stephen Hemminger</name>
<email>sthemmin@microsoft.com</email>
</author>
<published>2016-09-07T12:39:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e2e808413425d82c8f162933a30304d10a5df231'/>
<id>urn:sha1:e2e808413425d82c8f162933a30304d10a5df231</id>
<content type='text'>
This fixes a sparse warning because hyperv_mmio resources
are only used in this one file and should be static.

Signed-off-by: Stephen Hemminger &lt;sthemmin@microsoft.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
