opnsense-src/sys/dev/hyperv/vmbus
Wei Hu e02d20ddff Hyper_V: add a boot parameter to tlb flush hypercall
Add boot parameter hw.vmbus.tlb_hcall for tlb flush hypercall.
By default it is set to 1 to allow hyercall tlb flush. It can be
set to 0 in loader.conf to turn off hypercall and use system
provided tlb flush routine.

The change also changes flag in the per cpu contiguous memory
allocation to no wait to avoid panic happened some cases which there
are no enough contiguous memery available at boot time.

Reported by:	gbe
Tested by:	whu
MFC after:	1 week
Fixes:		2b887687ed
Sponsored by:	Microsoft
2024-06-11 10:05:21 +00:00
..
aarch64 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
amd64 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
i386 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
x86 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
hyperv.c Hyper-V: TLB flush enlightment using hypercall 2024-06-07 07:56:07 +00:00
hyperv_busdma.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
hyperv_common_reg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
hyperv_mmu.c Hyper-V: TLB flush enlightment using hypercall 2024-06-07 07:56:07 +00:00
hyperv_mmu.h Hyper-V: TLB flush enlightment using hypercall 2024-06-07 07:56:07 +00:00
hyperv_var.h Hyper-V: TLB flush enlightment using hypercall 2024-06-07 07:56:07 +00:00
vmbus.c Hyper_V: add a boot parameter to tlb flush hypercall 2024-06-11 10:05:21 +00:00
vmbus_br.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vmbus_brvar.h Hyper-V: vmbus: check if signaling host is needed in vmbus_rxbr_read 2023-10-20 09:15:21 +00:00
vmbus_chan.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vmbus_chanvar.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
vmbus_et.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vmbus_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
vmbus_reg.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
vmbus_res.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vmbus_var.h Hyper-V: TLB flush enlightment using hypercall 2024-06-07 07:56:07 +00:00
vmbus_xact.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00