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

(cherry picked from commit 65dc0e9071a5ea206d6fbf070c974ebcfdea3680)

Details

Provenance
dumbbellAuthored on Apr 22 2026, 4:23 PM
Parents
rG8da614f980cb: linuxkpi: Add `copy_from_user_inatomic_nontemporal()` function
Branches
Unknown
Tags
Unknown