Page MenuHomeFreeBSD

bhyve: rework BAR emulation
AbandonedPublic

Authored by corvink on Jan 22 2021, 9:23 AM.
Tags
Referenced Files
Unknown Object (File)
Jan 27 2024, 11:10 AM
Unknown Object (File)
Jan 25 2024, 5:50 PM
Unknown Object (File)
Dec 20 2023, 2:25 AM
Unknown Object (File)
Dec 11 2023, 12:40 AM
Unknown Object (File)
Oct 18 2023, 2:07 PM
Unknown Object (File)
Oct 17 2023, 12:57 AM
Unknown Object (File)
Oct 13 2023, 5:24 PM
Unknown Object (File)
Oct 12 2023, 11:20 AM

Details

Reviewers
None
Group Reviewers
bhyve
Summary

If the guest writes ~0U to one register of a 64 bit BAR (to read it's size), bhyve registers a BAR with an invalid address. This patch avoids this behaviour.

Additionally, this BAR emulation is required for GVT-d (see D26209) and for GPU Passthrough of AMD graphic cards (see D27456).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped