]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: use physical lobits for BARs of passthru devices
authorCorvin Köhne <CorvinK@beckhoff.com>
Thu, 18 Nov 2021 15:25:09 +0000 (16:25 +0100)
committerEmmanuel Vadot <manu@FreeBSD.org>
Thu, 18 Nov 2021 15:25:09 +0000 (16:25 +0100)
commite87a6f3ef284593c01e0fd3f8b5bfc1f645e5b18
tree6be8182881a7718f0a9cb05f30a20d424a81e7b0
parentf7c526ab3f23e5663cb8477c3dfb41a89de2d4cd
bhyve: use physical lobits for BARs of passthru devices

Tell the guest whether a BAR uses prefetched memory or not for
passthru devices by using the same lobits as the physical device.

Reviewed by:  grehan
Sponsored by:  Beckhoff Autmation GmbH & Co. KG
Differential Revision:   https://reviews.freebsd.org/D32685
usr.sbin/bhyve/pci_emul.c
usr.sbin/bhyve/pci_emul.h
usr.sbin/bhyve/pci_passthru.c