opnsense-src/sys/dev/hyperv
Wei Hu 75412a521f Hyper-V: vPCI: Prepopulate device bars
In recent Hyper-V releases on Windows Server 2022, vPCI code does not
initialize the last 4 bit of device bar registers. This behavior change
could result weird problems cuasing PCI code failure when configuring
bars.

Just write all 1's to those bars whose probed values are not the same
as current read ones. This seems to make Hyper-V vPCI and
pci_write_bar() to cooperate correctly on these releases.

Reported by:	khng@freebsd.org
Tested by:	khng@freebsd.org
MFC after:	2 weeks
Sponsored by:	Microsoft
2021-11-27 06:42:34 +00:00
..
hvsock socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
include HyperV socket implementation for FreeBSD 2020-05-20 11:03:59 +00:00
input hv_kbd: Fix build with EVDEV_SUPPORT kernel option disabled. 2021-04-23 01:13:25 +03:00
netvsc netvsc: Fix a typo in a comment 2021-10-02 10:42:18 +02:00
pcib Hyper-V: vPCI: Prepopulate device bars 2021-11-27 06:42:34 +00:00
storvsc storvsc: fix auto-sense reporting 2021-05-07 10:17:57 +03:00
utilities sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
vmbus hyperv: Register the MSR-based timecounter during SI_SUB_HYPERVISOR 2021-11-19 17:30:05 -05:00