<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hv/connection.c, branch linux-4.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-11-04T11:04:26Z</updated>
<entry>
<title>hyper-v: trace channel events</title>
<updated>2017-11-04T11:04:26Z</updated>
<author>
<name>Vitaly Kuznetsov</name>
</author>
<published>2017-10-29T19:21:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=991f8f1c6eb634688952fa6a03cc0ce949b6e363'/>
<id>urn:sha1:991f8f1c6eb634688952fa6a03cc0ce949b6e363</id>
<content type='text'>
Added an additional set of trace points for when channel gets notified
or signals host.

Suggested-by: Stephen Hemminger &lt;sthemmin@microsoft.com&gt;
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>hyper-v: trace vmbus_negotiate_version()</title>
<updated>2017-11-04T11:04:25Z</updated>
<author>
<name>Vitaly Kuznetsov</name>
</author>
<published>2017-10-29T19:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=034ebf552e0a3403eeb7e7f8a3a502fc0c70a24c'/>
<id>urn:sha1:034ebf552e0a3403eeb7e7f8a3a502fc0c70a24c</id>
<content type='text'>
Add tracepoint to CHANNELMSG_INITIATE_CONTACT sender.

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: vmbus: Expose per-channel interrupts and events counters</title>
<updated>2017-10-31T12:40:29Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2017-10-29T18:33:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6981fbf3780366093858c5d2dcdaadcd1fbb04be'/>
<id>urn:sha1:6981fbf3780366093858c5d2dcdaadcd1fbb04be</id>
<content type='text'>
When investigating performance, it is useful to be able to look at
the number of host and guest events per-channel. This is equivalent
to per-device interrupt statistics.

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>hyper-v: Globalize vp_index</title>
<updated>2017-08-10T14:50:23Z</updated>
<author>
<name>Vitaly Kuznetsov</name>
</author>
<published>2017-08-02T16:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7415aea6072bab15969b6c3c5b2a193d88095326'/>
<id>urn:sha1:7415aea6072bab15969b6c3c5b2a193d88095326</id>
<content type='text'>
To support implementing remote TLB flushing on Hyper-V with a hypercall
we need to make vp_index available outside of vmbus module. Rename and
globalize.

Signed-off-by: Vitaly Kuznetsov &lt;vkuznets@redhat.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Reviewed-by: Stephen Hemminger &lt;sthemmin@microsoft.com&gt;
Cc: Andy Lutomirski &lt;luto@kernel.org&gt;
Cc: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Cc: Jork Loeser &lt;Jork.Loeser@microsoft.com&gt;
Cc: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Simon Xiao &lt;sixiao@microsoft.com&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: devel@linuxdriverproject.org
Link: http://lkml.kernel.org/r/20170802160921.21791-7-vkuznets@redhat.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>hyper-v: Use fast hypercall for HVCALL_SIGNAL_EVENT</title>
<updated>2017-08-10T14:50:22Z</updated>
<author>
<name>Vitaly Kuznetsov</name>
</author>
<published>2017-08-02T16:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=057841713cfff62b4485cdd2b245f05b7ea3ba16'/>
<id>urn:sha1:057841713cfff62b4485cdd2b245f05b7ea3ba16</id>
<content type='text'>
We need to pass only 8 bytes of input for HvSignalEvent which makes it a
perfect fit for fast hypercall. hv_input_signal_event_buffer is not needed
any more and hv_input_signal_event is converted to union for convenience.

Signed-off-by: Vitaly Kuznetsov &lt;vkuznets@redhat.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Reviewed-by: Stephen Hemminger &lt;sthemmin@microsoft.com&gt;
Cc: Andy Lutomirski &lt;luto@kernel.org&gt;
Cc: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Cc: Jork Loeser &lt;Jork.Loeser@microsoft.com&gt;
Cc: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Simon Xiao &lt;sixiao@microsoft.com&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: devel@linuxdriverproject.org
Link: http://lkml.kernel.org/r/20170802160921.21791-5-vkuznets@redhat.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>x86/hyper-v: Make hv_do_hypercall() inline</title>
<updated>2017-08-10T14:50:22Z</updated>
<author>
<name>Vitaly Kuznetsov</name>
</author>
<published>2017-08-02T16:09:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fc53662f13b889a5a1c069e79ee1e3d4534df132'/>
<id>urn:sha1:fc53662f13b889a5a1c069e79ee1e3d4534df132</id>
<content type='text'>
We have only three call sites for hv_do_hypercall() and we're going to
change HVCALL_SIGNAL_EVENT to doing fast hypercall so we can inline this
function for optimization.

Hyper-V top level functional specification states that r9-r11 registers
and flags may be clobbered by the hypervisor during hypercall and with
inlining this is somewhat important, add the clobbers.

Signed-off-by: Vitaly Kuznetsov &lt;vkuznets@redhat.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Reviewed-by: Stephen Hemminger &lt;sthemmin@microsoft.com&gt;
Cc: Andy Lutomirski &lt;luto@kernel.org&gt;
Cc: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Cc: Jork Loeser &lt;Jork.Loeser@microsoft.com&gt;
Cc: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Simon Xiao &lt;sixiao@microsoft.com&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: devel@linuxdriverproject.org
Link: http://lkml.kernel.org/r/20170802160921.21791-3-vkuznets@redhat.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>drivers: hv: vmbus: Increase the time between retries in vmbus_post_msg()</title>
<updated>2017-05-25T13:42:42Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2017-05-18T17:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e917a5e23a87e24931625c344daea834cd2d6f2f'/>
<id>urn:sha1:e917a5e23a87e24931625c344daea834cd2d6f2f</id>
<content type='text'>
Commit c0bb03924f1a ("Drivers: hv: vmbus: Raise retry/wait limits in
vmbus_post_msg()") increased the retry/wait limits of vmbus_post_msg()
to address the new DoS protection policies in WS2016.
Increase the time between retries to make the
code more robust.

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: Fix rescind handling</title>
<updated>2017-05-18T14:55:28Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2017-04-30T23:21:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54a66265d6754b37fb4baf1d970ec88a6225a988'/>
<id>urn:sha1:54a66265d6754b37fb4baf1d970ec88a6225a988</id>
<content type='text'>
Fix the rescind handling. This patch addresses the following rescind
scenario that is currently not handled correctly:

If a rescind were to be received while the offer is still being
peocessed, we will be blocked indefinitely since the rescind message
is handled on the same work element as the offer message. Fix this
issue.

I would like to thank Dexuan Cui &lt;decui@microsoft.com&gt; and
Long Li &lt;longli@microsoft.com&gt; for working with me on this patch.

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: Fix error code returned by vmbus_post_msg()</title>
<updated>2017-05-18T14:55:28Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2017-04-30T23:21:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48f4ccdfc46906627f77fda94d80f2db1bd23ba3'/>
<id>urn:sha1:48f4ccdfc46906627f77fda94d80f2db1bd23ba3</id>
<content type='text'>
ENOBUFS is a more approrpiate error code to be returned
when the hypervisor cannot post the message because of
insufficient buffers. Make the adjustment.

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>vmbus: only reschedule tasklet if time limit exceeded</title>
<updated>2017-03-17T06:10:48Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2017-03-05T01:27:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ada6eb11137be0baf846e00fca40fc096ba85a28'/>
<id>urn:sha1:ada6eb11137be0baf846e00fca40fc096ba85a28</id>
<content type='text'>
The change to reschedule tasklet if more data arrives in ring buffer
can cause performance regression if host timing is such that the
next response happens in small window.

Go back to a modified version of the original looping behavior.
If the race occurs in a small time, then loop. But if the tasklet
has been running for a long interval due to flood, then reschedule
the tasklet to allow migration to ksoftirqd.

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>
