Page MenuHomeFreeBSD

linuxkpi: Add x86 CPU ID matching functions and macros
Needs ReviewPublic

Authored by dumbbell on Jun 20 2026, 12:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 26, 2:25 PM
Unknown Object (File)
Sat, Jul 25, 11:25 PM
Unknown Object (File)
Sun, Jul 19, 4:14 PM
Unknown Object (File)
Sun, Jul 12, 10:14 AM
Unknown Object (File)
Wed, Jul 8, 11:43 PM
Unknown Object (File)
Wed, Jul 1, 11:59 PM
Unknown Object (File)
Wed, Jul 1, 11:30 PM
Unknown Object (File)
Wed, Jul 1, 6:07 AM
Subscribers

Details

Reviewers
None
Group Reviewers
linuxkpi
Summary

There are two parts that go together:

  • X86_MATCH_VFM() to declare a matching pattern
  • x86_match_cpu() to check if the current CPU matches one of the patterns in an array.

The i915 DRM driver started to use this in Linux 6.14.

This is part of the update of DRM drivers to Linux 6.14.

Sponsored by: The FreeBSD Foundation

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped