freebsd-src/sys/dev/hyperv
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
..
hvsock sockets: make pr_shutdown fully protocol specific method 2024-01-16 10:30:37 -08:00
include sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
input sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
netvsc hyperv/hn: Don't return error when setting media to autoselect 2024-03-14 00:05:19 +00:00
pcib new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE 2024-03-13 15:05:54 -07:00
storvsc sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
utilities sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vmbus Hyper_V: add a boot parameter to tlb flush hypercall 2024-06-11 10:05:21 +00:00