<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/hyperv, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-12-10T13:11:52Z</updated>
<entry>
<title>hyperv/vmbus: avoid crash, panic if vbe fb info is missing</title>
<updated>2020-12-10T13:11:52Z</updated>
<author>
<name>Bradley T. Hughes</name>
<email>bhughes@FreeBSD.org</email>
</author>
<published>2020-12-10T13:11:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c05b5848f11b4b551b104a183231409ed4874c66'/>
<id>urn:sha1:c05b5848f11b4b551b104a183231409ed4874c66</id>
<content type='text'>
Do not assume that VBE framebuffer metadata can be used. Like with the
EFI fb metadata, it may be null, so we should take care not to
dereference the null vbefb pointer. This avoids a panic when booting
-CURRENT on a gen1 VM in Azure.

Approved by:	tsoome
Sponsored by:	Miles AS
Differential Revision:	https://reviews.freebsd.org/D27533
</content>
</entry>
<entry>
<title>fix vmbus_fb_mmio_res after r368168</title>
<updated>2020-11-30T08:31:41Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2020-11-30T08:31:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=cb794182660ddf2ea5dd5479abfce2ec0bb8c01f'/>
<id>urn:sha1:cb794182660ddf2ea5dd5479abfce2ec0bb8c01f</id>
<content type='text'>
mixed efifb versus vbefb struct use did slip in by mistake.
</content>
</entry>
<entry>
<title>Add VT driver for VBE framebuffer device</title>
<updated>2020-11-30T08:22:40Z</updated>
<author>
<name>Toomas Soome</name>
<email>tsoome@FreeBSD.org</email>
</author>
<published>2020-11-30T08:22:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a4a10b37d422dcdff2b0d700ab073b3078627a08'/>
<id>urn:sha1:a4a10b37d422dcdff2b0d700ab073b3078627a08</id>
<content type='text'>
Implement vt_vbefb to support Vesa Bios Extensions (VBE) framebuffer with VT.
vt_vbefb is built based on vt_efifb and is assuming similar data for
initialization, use MODINFOMD_VBE_FB to identify the structure vbe_fb
in kernel metadata.

struct vbe_fb, is populated by boot loader, and is passed to kernel via
metadata payload.

Differential Revision:	https://reviews.freebsd.org/D27373
</content>
</entry>
<entry>
<title>Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock</title>
<updated>2020-10-15T11:44:28Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2020-10-15T11:44:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b3460f44524b145c6c8a760ebe65052560a810bf'/>
<id>urn:sha1:b3460f44524b145c6c8a760ebe65052560a810bf</id>
<content type='text'>
The try lock loop in HN_LOCK put the thread spinning on cpu if the lock
is not available. It is possible to cause deadlock if the thread holding
the lock is sleeping. Relinquish the cpu to work around this problem even
it doesn't completely solve the issue. The priority inversion could cause
the livelock no matter how less likely it could happen. A more complete
solution may be needed in the future.

Reported by:	Microsoft, Netapp
MFC after:	2 weeks
Sponsored by:	Microsoft
</content>
</entry>
<entry>
<title>Hyper-V: pcib: Check revoke status during device attach</title>
<updated>2020-10-15T05:57:20Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2020-10-15T05:57:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=75c2786c25fef9a6f8239c9fc1631cd17756579b'/>
<id>urn:sha1:75c2786c25fef9a6f8239c9fc1631cd17756579b</id>
<content type='text'>
It is possible that the vmbus pcib channel is revoked during attach path.
The attach path could be waiting for response from host and this response will never
arrive since the channel has already been revoked from host point of view. Check
this situation during wait complete and return failed if this happens.

Reported by:	Netapp
MFC after:	2 weeks
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D26486
</content>
</entry>
<entry>
<title>Hyper-V: storvsc: Enhance srb_status code handling.</title>
<updated>2020-08-31T09:05:45Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2020-08-31T09:05:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2a0ce39d086ffe13782c9dc1e24bb240abbe790a'/>
<id>urn:sha1:2a0ce39d086ffe13782c9dc1e24bb240abbe790a</id>
<content type='text'>
In hv_storvsc_io_request() when coring, prevent changing of the send channel
from the base channel to another one. storvsc_poll always probes on the base
channel.

Based upon conversations with Microsoft, changed the handling of srb_status
codes. Most we should never get, others yes. All are treated as retry-able
except for two. We should not get these statuses, but if we ever do, the I/O
state is not known.

Submitted by:	Alexander Sideropoulos &lt;Alexander.Sideropoulos@netapp.com&gt;
Reviewed by:	trasz, allanjude, whu
MFC after:	1 week
Sponsored by:	Netapp Inc
Differential Revision:	https://reviews.freebsd.org/D25756
</content>
</entry>
<entry>
<title>Prevent framebuffer mmio space from being allocated to other devices on HyperV.</title>
<updated>2020-07-30T07:26:11Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2020-07-30T07:26:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c565776195f2f2b62427af07f6b1a9b7670cbc1f'/>
<id>urn:sha1:c565776195f2f2b62427af07f6b1a9b7670cbc1f</id>
<content type='text'>
On Gen2 VMs, Hyper-V provides mmio space for framebuffer.
This mmio address range is not useable for other PCI devices.
Currently only efifb driver is using this range without reserving
it from system.
Therefore, vmbus driver reserves it before any other PCI device
drivers start to request mmio addresses.

PR:		222996
Submitted by:	weh@microsoft.com
Reported by:	dmitry_kuleshov@ukr.net
Reviewed by:	decui@microsoft.com
Sponsored by:	Microsoft
</content>
</entry>
<entry>
<title>Socket AF_HYPERV should return failure when it is not running on HyperV</title>
<updated>2020-05-22T09:17:07Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2020-05-22T09:17:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c97c20ace76e469e03e029ecf921df78c168c627'/>
<id>urn:sha1:c97c20ace76e469e03e029ecf921df78c168c627</id>
<content type='text'>
Reported by:	pho
Sponsored by:	Microsoft
</content>
</entry>
<entry>
<title>Fix i386 build for r361275</title>
<updated>2020-05-20T13:51:27Z</updated>
<author>
<name>Li-Wen Hsu</name>
<email>lwhsu@FreeBSD.org</email>
</author>
<published>2020-05-20T13:51:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=db7ec3c3e66b29aa1aee328d77a9a32dd3f8e812'/>
<id>urn:sha1:db7ec3c3e66b29aa1aee328d77a9a32dd3f8e812</id>
<content type='text'>
kponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>HyperV socket implementation for FreeBSD</title>
<updated>2020-05-20T11:03:59Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2020-05-20T11:03:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a560f3ebd77733208fa8371a5f2d09523e847c0d'/>
<id>urn:sha1:a560f3ebd77733208fa8371a5f2d09523e847c0d</id>
<content type='text'>
This change adds Hyper-V socket feature in FreeBSD. New socket address
family AF_HYPERV and its kernel support are added.

Submitted by:	Wei Hu &lt;weh@microsoft.com&gt;
Reviewed by:	Dexuan Cui &lt;decui@microsoft.com&gt;
Relnotes:	yes
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D24061
</content>
</entry>
</feed>
