Page MenuHomeFreeBSD

bhyve: add PCI IDs of Intel GPUs from Linux v6.15
ClosedPublic

Authored by corvink on Jun 12 2025, 1:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 12, 1:38 AM
Unknown Object (File)
Thu, Jul 10, 5:38 PM
Unknown Object (File)
Wed, Jul 9, 2:12 PM
Unknown Object (File)
Wed, Jul 9, 5:09 AM
Unknown Object (File)
Tue, Jul 8, 12:23 PM
Unknown Object (File)
Mon, Jul 7, 3:03 PM
Unknown Object (File)
Mon, Jul 7, 10:50 AM
Unknown Object (File)
Mon, Jul 7, 8:45 AM
Subscribers

Details

Summary

Linux maintains a list of all known PCI IDs for Intel GPUs. We need this list
in the future because the quirks applied by our GVT-d don't work for the latest
generation of Intels integrated graphcis devices. We have to detect the
generation and then apply some generation specific quirks to it. Fortunately,
Linux has macros for each graphic device type making it easy for us to use that
header to detect the generation of the device in the next step.

Copied from Linux v6.15:

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64797
Build 61681: arc lint + arc unit

Event Timeline

usr.sbin/bhyve/pciids_intel_gpus.h
41

These two macros can't be used--can we remove them? There is no kernel_ulong_t, for instance.

Alternately, if this is supposed to be a pristine copy of the upstream header, some comment at the top of the file with the source would be nice to have.

usr.sbin/bhyve/pciids_intel_gpus.h
41

I don't have a strong preference. At the moment, it's a 1:1 copy without any modifications which should make updating this file very easy. I've added the source to the commit message, so a git log will show you the source of the file. However, I can add a comment on top of the file and remove these macros if you like to.

This revision is now accepted and ready to land.Jun 17 2025, 12:39 PM