vgic_v2_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– vgic_v2_probe β€” a Kernel API Manual moment πŸ’–

okay so bestie, welcome to the Kernel API Manual, and today's main character is vgic_v2_probe(9) β€” literally the vibe check for your VGICv2 compatible interrupt controller πŸŽ€


✨ NAME ✨

vgic_v2_probe β€” probe for a VGICv2 compatible interrupt controller

like, it goes looking for one. that's the whole job. iconic honestly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int vgic_v2_probe (const struct gic_kvm_info *info );

yup, that's it. returns an int, takes one pointer, slays 🫢


🌸 ARGUMENTS 🌸

  • info β€” pointer to the GIC description. it's giving "here's the lore, now do something with it" ✨

πŸ”₯ DESCRIPTION πŸ”₯

Returns 0 if the VGICv2 has been probed successfully πŸŽ‰ returns an error code otherwise 😭

that's the whole thing. no cap. zero means we ate, anything else means something went sideways and you get an error code instead πŸ’€


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./arch/arm64/kvm/vgic/vgic-v2.c β€” go read it, iykyk πŸ“–βœ¨


ngl bestie, if you're poking at this one you're already deep in KVM on arm64 territory. proud of you fr fr 🧚

and that's the page!! brought to you by the <pink>./arch/arm64/kvm/vgic</pink> girlies, dated October 2026 β€” mwah, see you in the next probe πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from