<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hv/hv.c, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-01-09T16:58:41Z</updated>
<entry>
<title>Drivers: hv: vmbus: Remove x86-isms from arch independent drivers</title>
<updated>2018-01-09T16:58:41Z</updated>
<author>
<name>Michael Kelley</name>
</author>
<published>2017-12-22T18:19:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a5f3cde4d51c7afce859aed9d74d197751896d5'/>
<id>urn:sha1:4a5f3cde4d51c7afce859aed9d74d197751896d5</id>
<content type='text'>
hv_is_hypercall_page_setup() is used to check if Hyper-V is
initialized, but a 'hypercall page' is an x86 implementation detail
that isn't necessarily present on other architectures. Rename to the
architecture independent hv_is_hyperv_initialized() and add check
that x86_hyper is pointing to Hyper-V.  Use this function instead of
direct references to x86-specific data structures in vmbus_drv.c,
and remove now redundant call in hv_init(). Also remove 'x86' from
the string name passed to cpuhp_setup_state().

Signed-off-by: Michael Kelley &lt;mikelley@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>Drivers: hv: vmbus: Close timing hole that can corrupt per-cpu page</title>
<updated>2017-05-25T13:42:42Z</updated>
<author>
<name>Michael Kelley</name>
</author>
<published>2017-05-18T17:46:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13b9abfc92be7c4454bff912021b9f835dea6e15'/>
<id>urn:sha1:13b9abfc92be7c4454bff912021b9f835dea6e15</id>
<content type='text'>
Extend the disabling of preemption to include the hypercall so that
another thread can't get the CPU and corrupt the per-cpu page used
for hypercall arguments.

Cc: &lt;Stable@vger.kernel.org&gt; #4.11
Signed-off-by: Michael Kelley &lt;mikelley@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: Get the current time from the current clocksource</title>
<updated>2017-05-25T13:42:42Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2017-05-18T17:46:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e546d778d6bb3e1a80697a6556d870c707e6df82'/>
<id>urn:sha1:e546d778d6bb3e1a80697a6556d870c707e6df82</id>
<content type='text'>
The current code uses the MSR based mechanism to get the current tick.
Use the current clock source as that might be more optimal.

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: Base autoeoi enablement based on hypervisor hints</title>
<updated>2017-03-17T06:10:49Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2017-03-15T01:01:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c248aad81c8903981db9f12fd74189fa01b3789'/>
<id>urn:sha1:6c248aad81c8903981db9f12fd74189fa01b3789</id>
<content type='text'>
Don't enable auto-eoi if the hypervisor recommends otherwise. This will
enable vAPIC functionality if available.

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: change to per channel tasklet</title>
<updated>2017-02-14T18:20:35Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2017-02-12T06:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=631e63a9f346cb657761ae22138f294718696501'/>
<id>urn:sha1:631e63a9f346cb657761ae22138f294718696501</id>
<content type='text'>
Make the event handling tasklet per channel rather than per-cpu.
This allows for better fairness when getting lots of data on the same
cpu.

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>vmbus: put related per-cpu variable together</title>
<updated>2017-02-14T18:20:35Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2017-02-12T06:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37cdd991fac810a727cd285629d1640fcf53cd19'/>
<id>urn:sha1:37cdd991fac810a727cd285629d1640fcf53cd19</id>
<content type='text'>
The hv_context structure had several arrays which were per-cpu
and was allocating small structures (tasklet_struct). Instead use
a single per-cpu array.

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>Drivers: hv: restore hypervcall page cleanup before kexec</title>
<updated>2017-01-31T10:05:58Z</updated>
<author>
<name>Vitaly Kuznetsov</name>
</author>
<published>2017-01-28T19:37:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6f3609d2b4c6d0eec01f398cb685e50da3e6013'/>
<id>urn:sha1:d6f3609d2b4c6d0eec01f398cb685e50da3e6013</id>
<content type='text'>
We need to cleanup the hypercall page before doing kexec/kdump or the new
kernel may crash if it tries to use it. Reuse the now-empty hv_cleanup
function renaming it to hyperv_cleanup and moving to the arch specific
code.

Fixes: 8730046c1498 ("Drivers: hv vmbus: Move Hypercall page setup out of common code")
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: Define an APIs to manage interrupt state</title>
<updated>2017-01-20T13:52:49Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2017-01-19T18:51:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37e11d5c7052a5ca55ef807731c75218ea341b4c'/>
<id>urn:sha1:37e11d5c7052a5ca55ef807731c75218ea341b4c</id>
<content type='text'>
As part of cleaning up architecture specific code, define APIs
to manage interrupt state.

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: Define an API to retrieve virtual processor index</title>
<updated>2017-01-20T13:52:48Z</updated>
<author>
<name>K. Y. Srinivasan</name>
</author>
<published>2017-01-19T18:51:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7297ff0ca9db7e2d830841035b95d8b94b529142'/>
<id>urn:sha1:7297ff0ca9db7e2d830841035b95d8b94b529142</id>
<content type='text'>
As part of cleaning up architecture specific code, define an API
to retrieve the virtual procesor index.

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>
