HomeFreeBSD

linuxkpi: Define `VFM_*()` macros in <asm/cpu_device_id.h>

Description

linuxkpi: Define VFM_*() macros in <asm/cpu_device_id.h>

They use another set of constants and macros in <asm/intel-family.h>.

All these macros are defined regardless of the architecture, even though
they are specific to x86. Perhaps we should restrict them using #ifdefs.

The amdgpu DRM driver started to used VFM_MODEL() and the
INTEL_*LAKE* constants in Linux 6.12.x.

Reviewed by: bz, olce
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56585

Details

Provenance
dumbbellAuthored on Apr 22 2026, 4:23 PM
Reviewer
bz
Differential Revision
D56585: linuxkpi: Define `VFM_*()` macros in <asm/cpu_device_id.h>
Parents
rG6d65c91b9a47: etcupdate: fix arguments order of diff command
Branches
Unknown
Tags
Unknown