freebsd-dev/sys/dev/hyperv
Wei Hu 5473dee730 Hyper-V: vPCI: Write back original BAR values after prepopulating bars
In vmbus_pcib_prepopulate_bars(), after writing all 1's to the
avialable device bars, those without being configured by device driver
are also set to its initialized values. However, this could cause
weird problem which results to device failure. The issue has been
reported to happen on LSI 9211-8i HBA card for DDA access on Hyper-V.
Writing back the orignal BAR values seem to work around this problem.

Reported by:	Alexander Motin <mavbsd@gmail.com>
Tested by:	Mathias Kraut <krautmaster@gmail.com>
Fixes:		75412a521f Hyper-V: vPCI: Prepopulate device bars
MFC after:	1 month
2022-03-30 06:56:09 +00:00
..
hvsock domains: make domain_init() initialize only global state 2022-01-03 10:15:22 -08:00
include
input hv_kbd: Fix build with EVDEV_SUPPORT kernel option disabled. 2021-04-23 01:13:25 +03:00
netvsc Hyper-V: hn: add switch to turn on and off RSC 2022-03-15 08:12:22 +00:00
pcib Hyper-V: vPCI: Write back original BAR values after prepopulating bars 2022-03-30 06:56:09 +00:00
storvsc hyperv storvsc: Don't abuse struct sglist to hold virtual addresses. 2022-01-31 17:11:27 -08:00
utilities
vmbus hyperv: scanning locking is using the bus mtx 2021-12-14 16:53:09 -07:00