|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
83271c68 |
| 07-Nov-2021 |
Konstantin Belousov <[email protected]> |
Fix some modules to export more used symbols
(cherry picked from commit 5bb3134a8c21cb87b30e135ef168483f0333dabb)
|
| #
df57775d |
| 08-Jun-2021 |
Mark Johnston <[email protected]> |
hyperv: Fix vmbus after the i386 4/4 split
The vmbus ISR needs to live in a trampoline. Dynamically allocating a trampoline at driver initialization time poses some difficulties due to the fact tha
hyperv: Fix vmbus after the i386 4/4 split
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 <[email protected]> Tested by: Harry Schmalzbauer <[email protected]> Reviewed by: whu, kib Sponsored by: The FreeBSD Foundation
(cherry picked from commit 97993d1ebf592ac6689a498d5d0d2afb46758680)
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
6469bdcd |
| 06-Apr-2018 |
Brooks Davis <[email protected]> |
Move most of the contents of opt_compat.h to opt_global.h.
opt_compat.h is mentioned in nearly 180 files. In-progress network driver compabibility improvements may add over 100 more so this is close
Move most of the contents of opt_compat.h to opt_global.h.
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
show more ...
|
| #
fc2a8776 |
| 20-Mar-2018 |
Ed Maste <[email protected]> |
Rename assym.s to assym.inc
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 Foundati
Rename assym.s to assym.inc
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
show more ...
|
| #
f91e2d3a |
| 17-Mar-2018 |
Ed Maste <[email protected]> |
Move assym.s to DPSRCS in vmbus module
assym.s is only to be included by other .s files, and should not actually be assembled by itself.
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
554e6778 |
| 10-May-2017 |
Sepherosa Ziehau <[email protected]> |
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.
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@ MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D10565
show more ...
|
| #
193d9e76 |
| 04-Mar-2017 |
Enji Cooper <[email protected]> |
sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic
Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
|
| #
531582f5 |
| 18-Nov-2016 |
Dexuan Cui <[email protected]> |
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 Approve
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) MFC after: 1 week Sponsored by: Microsoft
show more ...
|
| #
90587be3 |
| 30-Sep-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Add missing vmbus_if.c to module build.
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8067
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
6212aa15 |
| 11-Aug-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Add APIs for various types of transactions.
Reviewed by: Jun Su <junsu microsoft com> MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7456
|
| #
ce859641 |
| 27-Jul-2016 |
Bryan Drewery <[email protected]> |
opt_apic.h is only used on i386.
MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
|
| #
dc831186 |
| 27-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Rename cleaned up bufring code
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7318
|
| #
e6240996 |
| 19-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Rename laundered vmbus channel code
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7232
|
| #
7d590c73 |
| 15-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Merge hv_channel_mgmt.c into hv_channel.c
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7126
|
| #
e71d1719 |
| 13-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Merge hv_connection.c into hv_channel.c
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7004
|
| #
38d19df6 |
| 12-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Rework vmbus version accessing.
Instead of global variable, vmbus version is accessed through a vmbus DEVMETHOD now.
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revisi
hyperv/vmbus: Rework vmbus version accessing.
Instead of global variable, vmbus version is accessed through a vmbus DEVMETHOD now.
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6953
show more ...
|
| #
d8bf5168 |
| 06-Jun-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv: Move machine dependent bits into machine dependent files.
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6701
|
| #
b7bb4816 |
| 01-Jun-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv: Rename some cleaned up/almost cleaned up files
MFC after: 1 week Sponsored by: Microsoft OSTC
|
| #
7e118515 |
| 23-May-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv: Add helpers for busdma(9) operation
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6443
|
| #
0c29fe6d |
| 15-Apr-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv: Deprecate HYPERV option by moving Hyper-V IDT vector into vmbus
Submitted by: Jun Su <junsu microsoft com> Reviewed by: jhb, kib, sephe Sponsored by: Microsoft OSTC Differential Revision: ht
hyperv: Deprecate HYPERV option by moving Hyper-V IDT vector into vmbus
Submitted by: Jun Su <junsu microsoft com> Reviewed by: jhb, kib, sephe Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5910
show more ...
|
|
Revision tags: release/10.3.0 |
|
| #
8d5bab80 |
| 14-Jan-2016 |
Enji Cooper <[email protected]> |
Unbreak `make depend` with sys/modules/hyperv/vmbus after r293870
Pointyhat to: sephe
|
| #
99781cb3 |
| 14-Jan-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv: implement an event timer
Submitted by: Howard Su <[email protected]> Reviewed by: delphij, royger, adrian Approved by: adrian (mentor) Sponsored by: Microsoft OSTC Differential Revisio
hyperv: implement an event timer
Submitted by: Howard Su <[email protected]> Reviewed by: delphij, royger, adrian Approved by: adrian (mentor) Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D4676
show more ...
|
|
Revision tags: release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0 |
|
| #
2d0d1686 |
| 28-Sep-2013 |
Ulrich Spörlein <[email protected]> |
Fix make depend, apply a bit of style.
Approved by: re (marius) Reviewed by: grehan
|
|
Revision tags: release/9.2.0 |
|
| #
cc759c19 |
| 17-Jul-2013 |
Peter Grehan <[email protected]> |
Microsoft have changed their policy on how the hyper-v code will be pulled into FreeBSD. From now, FreeBSD will be considered the upstream repo.
First step: move the drivers away from the contrib ar
Microsoft have changed their policy on how the hyper-v code will be pulled into FreeBSD. From now, FreeBSD will be considered the upstream repo.
First step: move the drivers away from the contrib area and into the base system.
A follow-on commit will include the drivers in the amd64 GENERIC kernel.
show more ...
|
| #
7d99ab9f |
| 15-Jun-2013 |
Peter Grehan <[email protected]> |
make glue to hook up the hyperv kmods to the build.
Modified from the original Microsoft versions to pull code/headers in from the sys/contrib/dev directory.
|