X86_MATCH_VENDOR_FEATURE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… X86_MATCH_VENDOR_FEATURE(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” today’s entry is X86_MATCH_VENDOR_FEATURE(9), and she is that girl. The whole vibe? Matching a vendor and a CPU feature. No cap. ✨

🌸 NAME 🌸

X86_MATCH_VENDOR_FEATURE β€” Macro for matching vendor and CPU feature. literally the name, the function, the moment. periodt. πŸ’…

✨ SYNOPSIS ✨

X86_MATCH_VENDOR_FEATURE (vendor , feature , data );

πŸŽ€ ARGUMENTS πŸŽ€

  • vendor β€” the vendor name, bestie. e.g. INTEL, AMD, HYGON, ..., ANY. The name is expanded to X86_VENDOR_vendor. that little expansion is the moment. 🫢
  • feature β€” a X86_FEATURE bit. that’s it. one bit doing its iconic little thing. 🌸
  • data β€” Driver specific data or NULL. The internal storage format is unsigned long. The supplied value, pointer etc. is casted to unsigned long internally. yes, casted. keep that energy. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file to peek at: ./arch/x86/include/asm/cpu_device_id.h β€” it’s giving essential reading, fr fr. πŸ’–


mwah πŸ’‹ that’s the page. source/version vibe: ./arch/x86/include/asm, dated October 2026, and the manual page is X86_MATCH_VENDOR_FEATURE(9). bye bestie, go match some vendors and features! πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from