<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/hv, branch v3.2.41</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/hv?h=v3.2.41</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/hv?h=v3.2.41'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-03-20T15:03:41Z</updated>
<entry>
<title>NLS: improve UTF8 -&gt; UTF16 string conversion routine</title>
<updated>2013-03-20T15:03:41Z</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2011-11-17T21:42:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6022b67230dcb25c267e832d72223ffb54703cc8'/>
<id>urn:sha1:6022b67230dcb25c267e832d72223ffb54703cc8</id>
<content type='text'>
commit 0720a06a7518c9d0c0125bd5d1f3b6264c55c3dd upstream.

The utf8s_to_utf16s conversion routine needs to be improved.  Unlike
its utf16s_to_utf8s sibling, it doesn't accept arguments specifying
the maximum length of the output buffer or the endianness of its
16-bit output.

This patch (as1501) adds the two missing arguments, and adjusts the
only two places in the kernel where the function is called.  A
follow-on patch will add a third caller that does utilize the new
capabilities.

The two conversion routines are still annoyingly inconsistent in the
way they handle invalid byte combinations.  But that's a subject for a
different patch.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
CC: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>Drivers: hv: Cleanup error handling in vmbus_open()</title>
<updated>2012-10-30T23:26:59Z</updated>
<author>
<name>K. Y. Srinivasan</name>
<email>kys@microsoft.com</email>
</author>
<published>2012-10-12T20:22:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9f9f1c8ccd02d7eb704105833f959a2b96876544'/>
<id>urn:sha1:9f9f1c8ccd02d7eb704105833f959a2b96876544</id>
<content type='text'>
commit 1392550240aaa72ce3a094a38bd23525cd67ce60 upstream.

Fix a memory leak  in the error handling path in the function vmbus_open().

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Reported-by: Jason Wang &lt;jasowang@redhat.com&gt;
Acked-by: Jason Wang &lt;jasowang@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>Drivers:hv: Fix a bug in vmbus_driver_unregister()</title>
<updated>2012-01-12T19:29:33Z</updated>
<author>
<name>K. Y. Srinivasan</name>
<email>kys@microsoft.com</email>
</author>
<published>2011-12-27T21:49:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d1883e7052eeffca3f42922bb31fa44d0992c6a6'/>
<id>urn:sha1:d1883e7052eeffca3f42922bb31fa44d0992c6a6</id>
<content type='text'>
commit 8f257a142fc3868d69de3f996b95d7bdbc509560 upstream.

The function vmbus_exists() was introduced recently to deal with cases where
the vmbus driver failed to initialize and yet other Hyper-V drivers attempted
to register with the vmbus bus driver. This patch introduced a bug where
vmbus_driver_unregister() would fail to unregister the driver. This patch
fixes the problem.

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Fuzhou Chen &lt;fuzhouch@microsoft.com&gt;
Cc: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drivers: hv: Don't OOPS when you cannot init vmbus</title>
<updated>2012-01-12T19:29:32Z</updated>
<author>
<name>K. Y. Srinivasan</name>
<email>kys@microsoft.com</email>
</author>
<published>2011-12-01T17:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=32eef9ed02e483cb39d0d70316ba35a5d4920b6b'/>
<id>urn:sha1:32eef9ed02e483cb39d0d70316ba35a5d4920b6b</id>
<content type='text'>
commit cf6a2eacbcb2593b5b91d0817915c4f0464bb534 upstream.

The hv vmbus driver was causing an OOPS since it was trying to register drivers
on top of the bus even if initialization of the bus has failed for some
reason (such as the odd chance someone would run a hv enabled kernel in a
non-hv environment).

Signed-off-by: Sasha Levin &lt;levinsasha928@gmail.com&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>hv: remove struct hv_device_info from hyperv.h</title>
<updated>2011-10-11T15:51:22Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-10-11T15:43:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=15b80d641793968605254c2bbb2aa9a10accb415'/>
<id>urn:sha1:15b80d641793968605254c2bbb2aa9a10accb415</id>
<content type='text'>
This is only used/needed by the vmbus core code, so move it out of the
hyperv.h file and into the .c file that uses it.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>hv: remove free_channel() from hyperv.h</title>
<updated>2011-10-11T15:51:22Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-10-11T15:40:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9f3e28e375a8d509a27efe89f3c8ea2a15aeb524'/>
<id>urn:sha1:9f3e28e375a8d509a27efe89f3c8ea2a15aeb524</id>
<content type='text'>
This function is only used in the file it is declared in
(channel_mgmt.c) so make it static and remove it from the hyperv.h file.

Cc: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: hv: remove vmbus_loglevel as it is not used at all anymore</title>
<updated>2011-10-11T15:51:21Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-10-11T15:27:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=815166b95df1acb4890e9dbdb26660e9c00a7505'/>
<id>urn:sha1:815166b95df1acb4890e9dbdb26660e9c00a7505</id>
<content type='text'>
As there is no user of this variable, it's time to delete it.  For
dynamic debugging of the hyperv code, use the standard dynamic debug
kernel interface.

Cc: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: hv: remove last user of DPRINT() macro</title>
<updated>2011-10-11T15:51:21Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-10-11T15:25:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1a2643012fa2262e823b7f11d9732b7fea4c25ce'/>
<id>urn:sha1:1a2643012fa2262e823b7f11d9732b7fea4c25ce</id>
<content type='text'>
This also removed the unused function hv_dump_ring_info().

Cc: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>hv: rename prep_negotiate_resp() to vmbus_prep_negotiate_resp()</title>
<updated>2011-10-11T14:49:19Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-10-11T14:42:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=da0e96315ca703ab6540cc7665549622f71c155f'/>
<id>urn:sha1:da0e96315ca703ab6540cc7665549622f71c155f</id>
<content type='text'>
It's a global symbol, so properly prefix it and use the proper EXPORT
value as well.

Cc: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Staging: hv: remove unneeded asm include file in hyperv.h</title>
<updated>2011-10-11T14:49:19Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-10-11T14:36:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=407dd1644302ea78fa5d740e67a1c09677aa18a4'/>
<id>urn:sha1:407dd1644302ea78fa5d740e67a1c09677aa18a4</id>
<content type='text'>
No one outside of the hyperv core needs to include the asm/hyperv.h
file, so don't put it in the "global" include/linux/hyperv.h file.

Cc: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
