Page MenuHomeFreeBSD

bhyve: add GVT-d support for graphics gen 11 and newer
ClosedPublic

Authored by corvink on May 24 2024, 11:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 30, 12:19 PM
Unknown Object (File)
Sat, Sep 27, 12:15 PM
Unknown Object (File)
Fri, Sep 26, 3:28 AM
Unknown Object (File)
Sep 12 2025, 1:40 PM
Unknown Object (File)
Sep 2 2025, 9:43 AM
Unknown Object (File)
Aug 15 2025, 12:32 AM
Unknown Object (File)
Aug 5 2025, 2:46 PM
Unknown Object (File)
Aug 4 2025, 11:44 PM
Subscribers

Details

Summary

The BDSM (Base Data Stolen Memory) register changed. Older generations are
using a 32 bit register. On newer generations a different register address is
used and the size was changed to 64 bit to permit allocating graphics stolen
memory above 4 GB. Bhyve has to detect that and properly emulate the correct
register.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 27 2024, 3:51 PM
This revision now requires review to proceed.Jun 12 2025, 1:46 PM
markj added inline comments.
usr.sbin/bhyve/amd64/pci_gvt-d.c
81
97
This revision is now accepted and ready to land.Jun 17 2025, 12:09 PM

Fine with me once @markj's style nit is fixed.