|
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 |
|
| #
685dc743 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\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 ...
|
| #
f49fd63a |
| 22-Sep-2022 |
John Baldwin <[email protected]> |
kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers.
Reviewed by: kib, markj Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D36549
|
|
Revision tags: release/13.1.0, release/12.3.0 |
|
| #
ed6a9452 |
| 19-Nov-2021 |
Mark Johnston <[email protected]> |
hyperv: Register the MSR-based timecounter during SI_SUB_HYPERVISOR
This reverts commit 9ef7df022a46 ("hyperv: Register hyperv_timecounter later during boot") and adds a comment explaining why the t
hyperv: Register the MSR-based timecounter during SI_SUB_HYPERVISOR
This reverts commit 9ef7df022a46 ("hyperv: Register hyperv_timecounter later during boot") and adds a comment explaining why the timecounter needs to be registered as early as it is.
PR: 259878 Fixes: 9ef7df022a46 ("hyperv: Register hyperv_timecounter later during boot") Reviewed by: kib MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33014
show more ...
|
| #
9ef7df02 |
| 25-Oct-2021 |
Mark Johnston <[email protected]> |
hyperv: Register hyperv_timecounter later during boot
Previously the MSR-based timecounter was registered during SI_SUB_HYPERVISOR, i.e., very early during boot, and before SI_SUB_LOCK. After commit
hyperv: Register hyperv_timecounter later during boot
Previously the MSR-based timecounter was registered during SI_SUB_HYPERVISOR, i.e., very early during boot, and before SI_SUB_LOCK. After commit 621fd9dcb2d8 this triggers a panic since the timecounter list lock is not yet initialized.
The hyperv timecounter does not need to be registered so early, so defer that to SI_SUB_DRIVERS, at the same time the hyperv TSC timecounter is registered.
Reported by: whu Approved by: whu Fixes: 621fd9dcb2d8 ("timecounter: Lock the timecounter list") MFC after: 1 week Sponsored by: The FreeBSD Foundation
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 |
|
| #
49bfa624 |
| 25-Aug-2018 |
Alan Cox <[email protected]> |
Eliminate the arena parameter to kmem_free(). Implicitly this corrects an error in the function hypercall_memfree(), where the wrong arena was being passed to kmem_free().
Introduce a per-page flag
Eliminate the arena parameter to kmem_free(). Implicitly this corrects an error in the function hypercall_memfree(), where the wrong arena was being passed to kmem_free().
Introduce a per-page flag, VPO_KMEM_EXEC, to mark physical pages that are mapped in kmem with execute permissions. Use this flag to determine which arena the kmem virtual addresses are returned to.
Eliminate UMA_SLAB_KRWX. The introduction of VPO_KMEM_EXEC makes it redundant.
Update the nearby comment for UMA_SLAB_KERNEL.
Reviewed by: kib, markj Discussed with: jeff Approved by: re (marius) Differential Revision: https://reviews.freebsd.org/D16845
show more ...
|
| #
83a90bff |
| 21-Aug-2018 |
Alan Cox <[email protected]> |
Eliminate kmem_malloc()'s unused arena parameter. (The arena parameter became unused in FreeBSD 12.x as a side-effect of the NUMA-related changes.)
Reviewed by: kib, markj Discussed with: jeff, re@
Eliminate kmem_malloc()'s unused arena parameter. (The arena parameter became unused in FreeBSD 12.x as a side-effect of the NUMA-related changes.)
Reviewed by: kib, markj Discussed with: jeff, re@ Differential Revision: https://reviews.freebsd.org/D16825
show more ...
|
| #
96f105d1 |
| 07-Jul-2018 |
Dexuan Cui <[email protected]> |
hyperv: Fix boot-up after malloc() returns memory of NX by default now
FreeBSD VM can't boot up on Hyper-V after the recent malloc change in r335068: Make UMA and malloc(9) return non-executable mem
hyperv: Fix boot-up after malloc() returns memory of NX by default now
FreeBSD VM can't boot up on Hyper-V after the recent malloc change in r335068: Make UMA and malloc(9) return non-executable memory in most cases.
The hypercall page here must be executable. Fix the boot-up issue by adding M_EXEC.
PR: 229167 Sponsored by: Microsoft
show more ...
|
|
Revision tags: release/11.2.0 |
|
| #
5a7ed65f |
| 30-Mar-2018 |
Ed Maste <[email protected]> |
Correct comment typo in Hyper-V
PR: 226665 Submitted by: Ryo ONODERA MFC after: 3 days
|
| #
6bf331af |
| 10-Oct-2017 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Expose Hyper-V major version.
MFC after: 3 days Sponsored by: Microsoft
|
|
Revision tags: release/10.4.0 |
|
| #
93b4e111 |
| 14-Aug-2017 |
Sepherosa Ziehau <[email protected]> |
hyperv: Update copyright for the files changed in 2017
MFC after: 3 days Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D11982
|
|
Revision tags: release/11.1.0 |
|
| #
9ba5e29c |
| 19-Apr-2017 |
Sepherosa Ziehau <[email protected]> |
hyperv: Use kmem_malloc for hypercall memory due to NX bit change.
Reported by: dexuan@ MFC after: now Sponsored by: Microsoft
|
| #
227bb849 |
| 09-Jan-2017 |
Sepherosa Ziehau <[email protected]> |
hyperv: Add method to read 64bit Hyper-V specific time value.
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D9057
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
5b444eda |
| 29-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Forward declare static functions
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7346
|
| #
7d8ee480 |
| 28-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Inclusion cleanup
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7334
|
| #
7dd8881c |
| 25-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Rename hv_vmbus_priv.h to vmbus_brvar.h
It only contains bufring related bits for a while.
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebs
hyperv/vmbus: Rename hv_vmbus_priv.h to vmbus_brvar.h
It only contains bufring related bits for a while.
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7281
show more ...
|
| #
71ac1309 |
| 14-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv: hv_guid -> struct hyperv_guid.
This paves way for the further cleanup/disentangle.
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7092
|
| #
562d480b |
| 13-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv: Signal event input parameter is shared w/ MNF
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7087
|
| #
fc7ddc1e |
| 12-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv: Nuke unused stuffs
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6917
|
| #
e44bdd84 |
| 12-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Busdma-fy Hypercall signal event input parameter.
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6916
|
| #
1f175550 |
| 12-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv: Nuke unused stuffs
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6913
|
| #
236764b1 |
| 11-Jul-2016 |
Sepherosa Ziehau <[email protected]> |
hyperv/vmbus: Implement a new set of APIs for post message Hypercall
And use this new APIs for Initial Contact post message Hypercall. More post message Hypercalls will be converted.
MFC after: 1 w
hyperv/vmbus: Implement a new set of APIs for post message Hypercall
And use this new APIs for Initial Contact post message Hypercall. More post message Hypercalls will be converted.
MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6830
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
|