STRUCT INTEL_VSEC_PLATFORM_INFO(9)
π NAME π
struct intel_vsec_platform_info β the platform-specific data vibe check, aka all the extra little deets your platform wants to hand over π«Ά
Bestie, this is a page from the Kernel API Manual, and it's genuinely iconic. Let's get into it β¨
π SYNOPSIS π
struct intel_vsec_platform_info {
struct device *parent;
struct intel_vsec_header **headers;
const struct vsec_feature_dependency *deps;
u32 (*acpi_disc)[PMT_DISC_DWORDS];
enum intel_vsec_disc_source src;
void *priv_data;
unsigned long caps;
unsigned long quirks;
u64 base_addr;
int num_deps;
};
It's giving "one struct, ten members, zero chill" β every field is laid out below π
πΈ Members πΈ
parentβ the parent device in the auxbus chain. Like, the main character's parent, literally the whole family tree πheadersβ the list of headers that define which PMT client devices get created. Think of it as the guest list for the PMT party πdepsβ an array of feature dependencies. Every feature has its lil prerequisites, no cap πacpi_discβ the ACPI discovery tables, and listen β each entry is two QWORDs in little-endian format as defined by the PMT ACPI spec. Valid only whenprovider == INTEL_VSEC_DISC_ACPI. Not me warning you about that condition, but also, I'm warning you about that condition πsrcβ the source of the discovery table data. Where the data came from, iykyk πpriv_dataβ private data, usable by parent devices, currently a callback. Private means private, bestie πcapsβ a bitmask of the PMT capabilities for the given headers. Capability check: passed πquirksβ a bitmask of VSEC device quirks. Your fave device might be a little quirky and that's fine π¦base_addrβ lets you specify a base address rather than having it derived. You're allowed to just... say it. Main character energy βnum_depsβ the count of feature dependencies. Somebody has to keep track of the number π₯
π§ SEE ALSO π§
- Kernel file
./include/linux/intel_vsec.hπ struct intel_vsec_header(9)struct pmt_callbacks(9)struct intel_vsec_device(9)struct oobmsm_plat_info(9)
Go read them, they're all connected, it's a whole extended universe πΈ
π«Ά cute lil sign-off: this one lives over at./include/linux, dated October 2026, and yes β it'sstruct intel_vsec_platform_info(9)if you're looking it up by name. Slay, mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms