vgic_its_restore_dte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

vgic_its_restore_dte β€” restore a device table entry πŸ’…

(and yes bestie, this is the Kernel API Manual, we're in the big leagues now 🫢)


πŸŽ€ SYNOPSIS πŸŽ€

int vgic_its_restore_dte (struct vgic_its *its , u32 id , void *ptr ,
       void *opaque );

πŸ’– ARGUMENTS πŸ’–

  • its β€” the its handle. your entry point, your main character, your whole vibe πŸ’«
  • id β€” the device id that the DTE corresponds to πŸ”‘
  • ptr β€” the kernel VA where the 8 byte DTE is located. note the 8 byte thing, it's important, that's the whole footprint 🎯
  • opaque β€” unused. literally just vibing in the parameter list, contributing nothing, and honestly? relatable πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

okay so here's the vibe check on what comes back at you:

  • < 0 β€” error. something went wrong 😭
  • 0 β€” the dte is the last one. that's it, that's the end of the table, we're done here ✨
  • id offset to the next dte β€” otherwise you get the id offset pointing at the next dte, so keep it moving πŸ‘‘

🌈 SEE ALSO 🌈

the kernel file in question is ./arch/arm64/kvm/vgic/vgic-its.c β€” that's where all the lore lives πŸ“– and here's the whole friend group:

iykyk πŸ¦‹


ngl, opaque being unused is sending me. they put it there and then just never spoke to it again πŸ’€

okay that's the page!! πŸŽ€ this cutie came out of ./arch/arm64/kvm/vgic, dated October 2026, and it's called vgic_its_restore_dte(9) β€” stan her, she restores device table entries for a living πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from