<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hv/channel.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-10-30T16:43:09Z</updated>
<entry>
<title>Drivers: hv: vmbus: Fix a bug in vmbus_open()</title>
<updated>2014-10-30T16:43:09Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2014-08-27T23:25:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=51d2221f27affb219fe73d5949932ab0ca21ae62'/>
<id>urn:sha1:51d2221f27affb219fe73d5949932ab0ca21ae62</id>
<content type='text'>
commit 45d727cee9e200f5b351528b9fb063b69cf702c8 upstream.

Fix a bug in vmbus_open() and properly propagate the error. I would
like to thank Dexuan Cui &lt;decui@microsoft.com&gt; for identifying the
issue.

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Tested-by: Sitsofe Wheeler &lt;sitsofe@yahoo.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Drivers: hv: vmbus: Cleanup vmbus_establish_gpadl()</title>
<updated>2014-10-30T16:43:08Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2014-08-27T23:25:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96ef7d4bc55051546202eabbd27e4eb894939d3a'/>
<id>urn:sha1:96ef7d4bc55051546202eabbd27e4eb894939d3a</id>
<content type='text'>
commit 72c6b71c245dac8f371167d97ef471b367d0b66b upstream.

Eliminate the call to BUG_ON() by waiting for the host to respond. We are
trying to reclaim the ownership of memory that was given to the host and so
we will have to wait until the host responds.

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Tested-by: Sitsofe Wheeler &lt;sitsofe@yahoo.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Drivers: hv: vmbus: Cleanup vmbus_close_internal()</title>
<updated>2014-10-30T16:43:08Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2014-08-27T23:25:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73ac8e5ab39ec5c970d54018a9a54d7c98707822'/>
<id>urn:sha1:73ac8e5ab39ec5c970d54018a9a54d7c98707822</id>
<content type='text'>
commit 98d731bb064a9d1817a6ca9bf8b97051334a7cfe upstream.

Eliminate calls to BUG_ON() in vmbus_close_internal().
We have chosen to potentially leak memory, than crash the guest
in case of failures.

In this version of the patch I have addressed comments from
Dan Carpenter (dan.carpenter@oracle.com).

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Tested-by: Sitsofe Wheeler &lt;sitsofe@yahoo.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Drivers: hv: vmbus: Cleanup vmbus_teardown_gpadl()</title>
<updated>2014-10-30T16:43:08Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2014-08-27T23:25:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=552cb2dc6c7e932f00e179c7e2709aefd7bb7e4b'/>
<id>urn:sha1:552cb2dc6c7e932f00e179c7e2709aefd7bb7e4b</id>
<content type='text'>
commit 66be653083057358724d56d817e870e53fb81ca7 upstream.

Eliminate calls to BUG_ON() by properly handling errors. In cases where
rollback is possible, we will return the appropriate error to have the
calling code decide how to rollback state. In the case where we are
transferring ownership of the guest physical pages to the host,
we will wait for the host to respond.

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Tested-by: Sitsofe Wheeler &lt;sitsofe@yahoo.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>hyperv: remove meaningless pr_err() in vmbus_recvpacket_raw()</title>
<updated>2014-07-09T21:21:27Z</updated>
<author>
<name>Jason Wang</name>
</author>
<published>2014-06-30T06:14:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a446d635dd752a5326bbc458707364a288b3663'/>
<id>urn:sha1:7a446d635dd752a5326bbc458707364a288b3663</id>
<content type='text'>
All its callers depends on the return value of -ENOBUFS to reallocate a
bigger buffer and retry the receiving. So there's no need to call
pr_err() here since it was not a real issue, otherwise syslog will be
flooded by this false warning.

Cc: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@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>hv: Remove unnecessary comparison of unsigned against 0</title>
<updated>2014-05-03T23:24:26Z</updated>
<author>
<name>Tobias Klauser</name>
</author>
<published>2014-04-25T15:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=24b8a406bf5c3675bd193069cc6ab84a66fcbfd7'/>
<id>urn:sha1:24b8a406bf5c3675bd193069cc6ab84a66fcbfd7</id>
<content type='text'>
pfncount is of type u32 and thus can never be smaller than 0.

Found by the coverity scanner, CID 143213.

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&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: Eliminate the channel spinlock in the callback path</title>
<updated>2014-05-03T23:24:26Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2014-04-09T01:45:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3ba720dd58cdf6630fee4b89482c465d5ad0d0f'/>
<id>urn:sha1:d3ba720dd58cdf6630fee4b89482c465d5ad0d0f</id>
<content type='text'>
By ensuring that we set the callback handler to NULL in the channel close
path on the same CPU that the channel is bound to, we can eliminate this lock
acquisition and release in a performance critical path.

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Drivers: hv: vmbus: Cleanup the packet send path</title>
<updated>2014-02-07T23:22:40Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2014-02-02T03:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=011a7c3cc3aa60c7ea6bb49d847e80a299ba7b36'/>
<id>urn:sha1:011a7c3cc3aa60c7ea6bb49d847e80a299ba7b36</id>
<content type='text'>
The current channel code is using scatterlist abstraction to pass data to the
ringbuffer API on the send path. This causes unnecessary translations
between virtual and physical addresses. Fix this.

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>hyperv: Add support for physically discontinuous receive buffer</title>
<updated>2014-01-28T00:40:45Z</updated>
<author>
<name>Haiyang Zhang</name>
</author>
<published>2014-01-27T23:03:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b679ef73edc251f6d200a7dd2396e9fef9e36fc3'/>
<id>urn:sha1:b679ef73edc251f6d200a7dd2396e9fef9e36fc3</id>
<content type='text'>
This will allow us to use bigger receive buffer, and prevent allocation failure
due to fragmented memory.

Signed-off-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Reviewed-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>hv: vmbus: fix vmbus_recvpacket_raw() return code</title>
<updated>2013-09-26T23:34:55Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2013-09-16T21:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=33b06938cf81939135448ed448ee5aa95fa86d04'/>
<id>urn:sha1:33b06938cf81939135448ed448ee5aa95fa86d04</id>
<content type='text'>
Don't return success if the buffer has not been initialized.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.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>
