<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/hyperv, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:27Z</updated>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-23T17:43:27Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5510f79042fbd543de55807d0da7f8a2b8be2f89'/>
<id>urn:sha1:5510f79042fbd543de55807d0da7f8a2b8be2f89</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in current:
(cherry picked from commit 031beb4e239b)
</content>
</entry>
<entry>
<title>hv_hid: Hyper-V HID driver</title>
<updated>2023-03-31T18:44:04Z</updated>
<author>
<name>Yuri</name>
<email>yuri@aetern.org</email>
</author>
<published>2023-02-05T15:32:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=21f4e817fde79d5de79bfbdf180d358ca5f48bf9'/>
<id>urn:sha1:21f4e817fde79d5de79bfbdf180d358ca5f48bf9</id>
<content type='text'>
Hyper-V HID driver using hidbus/hms.

Reviewed by:	wulf
MFC after:	1 week
PR:		221074
Differential revision:	https://reviews.freebsd.org/D38140

(cherry picked from commit e4d3f1e40ab3327e4ff6f689f54a64bd2ebc0568)
</content>
</entry>
<entry>
<title>Fix some modules to export more used symbols</title>
<updated>2021-11-25T01:09:21Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-11-07T08:42:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=83271c68c4f4697ba15d49cc3f31912a5d04ff4b'/>
<id>urn:sha1:83271c68c4f4697ba15d49cc3f31912a5d04ff4b</id>
<content type='text'>
(cherry picked from commit 5bb3134a8c21cb87b30e135ef168483f0333dabb)
</content>
</entry>
<entry>
<title>hyperv: Fix vmbus after the i386 4/4 split</title>
<updated>2021-06-22T01:09:17Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2021-06-08T13:40:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=df57775d7a806ace688822dbc272e3672628163d'/>
<id>urn:sha1:df57775d7a806ace688822dbc272e3672628163d</id>
<content type='text'>
The vmbus ISR needs to live in a trampoline.  Dynamically allocating a
trampoline at driver initialization time poses some difficulties due to
the fact that the KENTER macro assumes that the offset relative to
tramp_idleptd is fixed at static link time.  Another problem is that
native_lapic_ipi_alloc() uses setidt(), which assumes a fixed trampoline
offset.

Rather than fight this, move the Hyper-V ISR to i386/exception.s.  Add a
new HYPERV kernel option to make this optional, and configure it by
default on i386.  This is sufficient to make use of vmbus(4) after the
4/4 split.  Note that vmbus cannot be loaded dynamically and both the
HYPERV option and device must be configured together.  I think this is
not too onerous a requirement, since vmbus(4) was previously
non-functional.

Reported by:	Harry Schmalzbauer &lt;freebsd@omnilan.de&gt;
Tested by:	Harry Schmalzbauer &lt;freebsd@omnilan.de&gt;
Reviewed by:	whu, kib
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 97993d1ebf592ac6689a498d5d0d2afb46758680)
</content>
</entry>
<entry>
<title>Fix directly building in sys/modules</title>
<updated>2020-05-31T05:02:15Z</updated>
<author>
<name>Li-Wen Hsu</name>
<email>lwhsu@FreeBSD.org</email>
</author>
<published>2020-05-31T05:02:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b7596ac1876bf43c96f248d4e4c544844d0f86ab'/>
<id>urn:sha1:b7596ac1876bf43c96f248d4e4c544844d0f86ab</id>
<content type='text'>
Sponsored 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/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>
<entry>
<title>Move most of the contents of opt_compat.h to opt_global.h.</title>
<updated>2018-04-06T17:35:35Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-04-06T17:35:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd'/>
<id>urn:sha1:6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd</id>
<content type='text'>
opt_compat.h is mentioned in nearly 180 files. In-progress network
driver compabibility improvements may add over 100 more so this is
closer to "just about everywhere" than "only some files" per the
guidance in sys/conf/options.

Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset of
sys/compat/linux/*.c.  A fake _COMPAT_LINUX option ensure opt_compat.h
is created on all architectures.

Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control the
set of compiled files.

Reviewed by:	kib, cem, jhb, jtl
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14941
</content>
</entry>
<entry>
<title>Rename assym.s to assym.inc</title>
<updated>2018-03-20T17:58:51Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-03-20T17:58:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fc2a8776a2f9945f22301cd92ec6d3ac1f817028'/>
<id>urn:sha1:fc2a8776a2f9945f22301cd92ec6d3ac1f817028</id>
<content type='text'>
assym is only to be included by other .s files, and should never
actually be assembled by itself.

Reviewed by:	imp, bdrewery (earlier)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D14180
</content>
</entry>
<entry>
<title>Move assym.s to DPSRCS in vmbus module</title>
<updated>2018-03-17T14:50:20Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-03-17T14:50:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f91e2d3a9554089b264e45adf86b3f34972c10a1'/>
<id>urn:sha1:f91e2d3a9554089b264e45adf86b3f34972c10a1</id>
<content type='text'>
assym.s is only to be included by other .s files, and should not
actually be assembled by itself.
</content>
</entry>
<entry>
<title>hyperv/vmbus: Reorganize vmbus device tree</title>
<updated>2017-05-10T05:28:14Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2017-05-10T05:28:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=554e6778b62713515c0b85202c1b74dd75d35a58'/>
<id>urn:sha1:554e6778b62713515c0b85202c1b74dd75d35a58</id>
<content type='text'>
For GEN1 Hyper-V, vmbus is attached to pcib0, which contains the
resources for PCI passthrough and SR-IOV.  There is no
acpi_syscontainer0 on GEN1 Hyper-V.

For GEN2 Hyper-V, vmbus is attached to acpi_syscontainer0, which
contains the resources for PCI passthrough and SR-IOV.  There is
no pcib0 on GEN2 Hyper-V.

The ACPI VMBUS device now only holds its _CRS, which is empty as
of this commit; its existence is mainly for upward compatibility.

Device tree structure is suggested by jhb@.

Tested-by:	dexuan@
Collabrated-wth:	dexuan@
MFC after:	1 week
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D10565
</content>
</entry>
</feed>
