<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/modules/hyperv, branch release/11.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2017-05-30T04:11:12Z</updated>
<entry>
<title>MFC r314651,r318439,r318440:</title>
<updated>2017-05-30T04:11:12Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-05-30T04:11:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cad800042f49286971db31b628d86a2be5d134ea'/>
<id>urn:sha1:cad800042f49286971db31b628d86a2be5d134ea</id>
<content type='text'>
r314651:

sys/modules: normalize .CURDIR-relative paths to SRCTOP

This simplifies make output/logic

Tested with:	`cd sys/modules; make ALL_MODULES=` on amd64

r318439:

Normalize .PATH on SRCTOP

This will help Jenkins dedupe 9 warnings between the static build and
the module build of ipsec(4).

Missed in SRCTOP conversion in r314651.

MFC with:	r314651

r318440:

Normalize SYSDIR on SRCTOP instead of .CURDIR

This is being done to simplify pathing for CFLAGS and source files.
</content>
</entry>
<entry>
<title>MFC 318136</title>
<updated>2017-05-17T01:48:44Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2017-05-17T01:48:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=966ca3d6276ab140e5c3b77721221436e30342f4'/>
<id>urn:sha1:966ca3d6276ab140e5c3b77721221436e30342f4</id>
<content type='text'>
    hyperv/vmbus: Reorganize vmbus device tree

    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@
    Sponsored by:	Microsoft
    Differential Revision:	https://reviews.freebsd.org/D10565
</content>
</entry>
<entry>
<title>MFC 310324</title>
<updated>2017-01-05T08:34:08Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2017-01-05T08:34:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e1ddb40d9ed196658892de70fed5dcab3f77abc6'/>
<id>urn:sha1:e1ddb40d9ed196658892de70fed5dcab3f77abc6</id>
<content type='text'>
    hyperv/ic: Rename cleaned up files.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8850
</content>
</entry>
<entry>
<title>MFC 310317</title>
<updated>2017-01-05T08:21:46Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2017-01-05T08:21:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c6c9a893c155db1e99e40ab730324e388b756229'/>
<id>urn:sha1:c6c9a893c155db1e99e40ab730324e388b756229</id>
<content type='text'>
    hyperv/ic: Rname cleaned up file.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8848
</content>
</entry>
<entry>
<title>MFC 309346,309348,309353</title>
<updated>2017-01-05T06:11:53Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2017-01-05T06:11:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=27312151c57e784a291674f5ee9c199e0ce6842b'/>
<id>urn:sha1:27312151c57e784a291674f5ee9c199e0ce6842b</id>
<content type='text'>
309346
    hyperv/hn: Add HN_DEBUG kernel option.

    If bufring is used for per-TX ring descs, don't update "available"
    counter, which is only used to help debugging.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8674

309348
    hyperv/hn: Don't hold txdesc, if no BPFs are attached.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8675

309353
    hyperv/hn: Add 'options RSS' support.

    Reviewed by:    adrian
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8676
</content>
</entry>
<entry>
<title>MFC 308664,308742,308743</title>
<updated>2017-01-05T03:20:00Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2017-01-05T03:20:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=027f89530385c3b3b7bf61d7d2e1b48f0231e8c1'/>
<id>urn:sha1:027f89530385c3b3b7bf61d7d2e1b48f0231e8c1</id>
<content type='text'>
308664
    hyperv/vss: Add driver and tools for VSS

    VSS stands for "Volume Shadow Copy Service".  Unlike virtual machine
    snapshot, it only takes snapshot for the virtual disks, so both
    filesystem and applications have to aware of it, and cooperate the
    whole VSS process.

    This driver exposes two device files to the userland:

        /dev/hv_fsvss_dev

        Normally userland programs should _not_ mess with this device file.
        It is currently used by the hv_vss_daemon(8), which freezes and
        thaws the filesystem.  NOTE: currently only UFS is supported, if
        the system mounts _any_ other filesystems, the hv_vss_daemon(8)
        will veto the VSS process.

        If hv_vss_daemon(8) was disabled, then this device file must be
        opened, and proper ioctls must be issued to keep the VSS working.

        /dev/hv_appvss_dev

        Userland application can opened this device file to receive the
        VSS freeze notification, hold the VSS for a while (mainly to flush
        application data to filesystem), release the VSS process, and
        receive the VSS thaw notification i.e. applications can run again.

        The VSS will still work, even if this device file is not opened.
        However, only filesystem consistency is promised, if this device
        file is not opened or is not operated properly.

    hv_vss_daemon(8) is started by devd(8) by default.  It can be disabled
    by editting /etc/devd/hyperv.conf.

    Submitted by:   Hongjiang Zhang &lt;honzhan microsoft com&gt;
    Reviewed by:    kib, mckusick
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8224

308742
    hyperv/vss: Nuke unused variables.

    Submitted by:   markj
    Reported by:    markj
    Sponsored by:   Microsoft

308743
    hyperv/vss: Install the userland daemon to /usr/sbin instead of /

    Submitted by:   markj
    Reported by:    markj
    Sponsored by:   Microsoft
</content>
</entry>
<entry>
<title>MFC: 308723-308725,308793-308795,309127</title>
<updated>2016-11-30T06:20:43Z</updated>
<author>
<name>Dexuan Cui</name>
<email>dexuan@FreeBSD.org</email>
</author>
<published>2016-11-30T06:20:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=46ad88c3c003733f07cdc7b9551b9a8a79e3edeb'/>
<id>urn:sha1:46ad88c3c003733f07cdc7b9551b9a8a79e3edeb</id>
<content type='text'>
Approved by:	sephe (mentor)

r308723
    hyperv/vmbus: add a new method to get vcpu_id

    vcpu_id is host's representation of guest CPU.
    We get the mapping between vcpu_id and FreeBSD kernel's cpu id when VMBus
    driver is loaded. Later, when a driver, like the coming pcib driver, talks
    to the host and needs to refer to a guest CPU, the driver must use the
    vcpu_id.

    Reviewed by:    jhb, sephe
    Approved by:    sephe (mentor)
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8410

r308724
    hyperv/vmbus: add new vmbus methods to support PCIe pass-through

    The new methods will be used by the coming pcib driver.

    Reviewed by:    sephe
    Approved by:    sephe (mentor)
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8409

r308725
    hyperv/pcib: enable PCIe pass-through (a.k.a. Discrete Device Assignment)

    The feature enables us to pass through physical PCIe devices to FreeBSD VM
    running on Hyper-V (Windows Server 2016) to get near-native performance with
    low CPU utilization.

    The patch implements a PCI bridge driver to support the feature:

    1) The pcib driver talks to the host to discover device(s) and presents
    the device(s) to FreeBSD's pci driver via PCI configuration space (note:
    to access the configuration space, we don't use the standard I/O port
    0xCF8/CFC method; instead, we use an MMIO-based method supplied by Hyper-V,
    which is very similar to the 0xCF8/CFC method).

    2) The pcib driver allocates resources for the device(s) and initialize
    the related BARs, when the device driver's attach method is invoked;

    3) The pcib driver talks to the host to create MSI/MSI-X interrupt
    remapping between the guest and the host;

    4) The pcib driver supports device hot add/remove.

    Reviewed by:    sephe
    Approved by:    sephe (mentor)
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8332

r308793
    hyperv/pcib: Fix the build for some kernel configs

    Add the dependency on pci explicitly for the pcib and vmbus drivers.
    The related Makefiles are updated accordingly too.

    Reviewed by:    sephe
    Approved by:    sephe (mentor)
    Sponsored by:   Microsoft

r308794
    hyperv/vmbus,pcib: Add MODULE_DEPEND on pci

    We'd better add this dependency explicitly, though usually the pci
    driver is built into the kernel by default.

    Reviewed by:    sephe
    Approved by:    sephe (mentor)
    Sponsored by:   Microsoft

r308795
    hyperv/pcib: change the file name: pcib.c -&gt; vmbus_pcib.c

    This makes the file name and the variable naming in the file consistent.

    Reviewed by:    sephe
    Approved by:    sephe (mentor)
    Sponsored by:   Microsoft

r309127
    hyperv/vmbus,pcib: unbreak build in case NEW_PCIB is undefined

    vmbus_pcib requires NEW_PCIB, but in case that's not defined, we at
    least shouldn't break build.

    Reviewed by:    sephe
    Approved by:    sephe (mentor)
    Sponsored by:   Microsoft
</content>
</entry>
<entry>
<title>MFC 308163</title>
<updated>2016-11-14T06:00:30Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2016-11-14T06:00:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4d13d8a7f9b7494bed6fe239090e838f1b3edbe4'/>
<id>urn:sha1:4d13d8a7f9b7494bed6fe239090e838f1b3edbe4</id>
<content type='text'>
    hyperv/hn: Rename cleaned up file.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8390
</content>
</entry>
<entry>
<title>MFC 308018,308116</title>
<updated>2016-11-14T05:24:05Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2016-11-14T05:24:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=787e8fff466325ecafc3779ae70c959de2b912d0'/>
<id>urn:sha1:787e8fff466325ecafc3779ae70c959de2b912d0</id>
<content type='text'>
308018
    hyeprv/hn: Rename cleaned up RNDIS header file.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8360

308116
    hyperv/hn: Rename cleaned up RNDIS source file.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8361
</content>
</entry>
<entry>
<title>MFC 308011,308012</title>
<updated>2016-11-14T03:36:59Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2016-11-14T03:36:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8ba2cd0fb7349203e86b8018ec3f9bd234280e40'/>
<id>urn:sha1:8ba2cd0fb7349203e86b8018ec3f9bd234280e40</id>
<content type='text'>
308011
    hyperv/hn: Rename cleaned up NVS header file.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8353

308012
    hyperv/hn: Rename cleaned up NVS source file.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D8354
</content>
</entry>
</feed>
