|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0 |
|
| #
7ece5993 |
| 07-Jun-2024 |
Souradeep Chakrabarti <[email protected]> |
Hyper-V: TLB flush enlightment using hypercall
Currently FreeBSD uses IPI based TLB flushing for remote TLB flushing. Hyper-V allows hypercalls to flush local and remote TLB. The use of Hyper-V hype
Hyper-V: TLB flush enlightment using hypercall
Currently FreeBSD uses IPI based TLB flushing for remote TLB flushing. Hyper-V allows hypercalls to flush local and remote TLB. The use of Hyper-V hypercalls gives significant performance improvement in TLB operations.
This patch set during test has shown near to 40 percent TLB performance improvement.
Also this patch adds rep hypercall implementation as well.
Reviewed by: whu, kib Tested by: whu Authored-by: Souradeep Chakrabarti <[email protected]> Co-Authored-by: Erni Sri Satya Vennela <[email protected]> MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D45521
(cherry picked from commit 2b887687edc25bb4553f0d8a1183f454a85d413d)
show more ...
|
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
031beb4e |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0 |
|
| #
9729f076 |
| 27-Oct-2022 |
Souradeep Chakrabarti <[email protected]> |
arm64: Hyper-V: enablement for ARM64 in Hyper-V (Part 3, final)
This is the last part for ARM64 Hyper-V enablement. This includes commone files and make file changes to enable the ARM64 FreeBSD gues
arm64: Hyper-V: enablement for ARM64 in Hyper-V (Part 3, final)
This is the last part for ARM64 Hyper-V enablement. This includes commone files and make file changes to enable the ARM64 FreeBSD guest on Hyper-V. With this patch, it should be able to build the ARM64 image and install it on Hyper-V.
Reviewed by: emaste, andrew, whu Tested by: Souradeep Chakrabarti <[email protected]> Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D36744
show more ...
|
|
Revision tags: release/13.1.0, release/12.3.0 |
|
| #
5bb3134a |
| 07-Nov-2021 |
Konstantin Belousov <[email protected]> |
Fix some modules to export more used symbols
and remove non-present symbols that are now reported by kmod_syms.awk.
Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differ
Fix some modules to export more used symbols
and remove non-present symbols that are now reported by kmod_syms.awk.
Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32878
show more ...
|
| #
97993d1e |
| 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 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30577
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 ...
|