xe_gt_sriov...very_pending(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_gt_sriov...very_pending β€” Kernel API Manual, section 9 πŸŽ€

okay bestie, sit down, because this one's from the Linux kernel API manual (that's the manual name, section 9, the whole "kernel internals" girlie club) and it's short but she is important. ✨


🌸 NAME 🌸

xe_gt_sriov_vf_recovery_pending β€” VF post migration recovery pending. yes that's the whole name, no she did not abbreviate, she said it with her whole chest. πŸ’œ


πŸ¦‹ SYNOPSIS πŸ¦‹

bool xe_gt_sriov_vf_recovery_pending (struct xe_gt *gt );

that's it. one function. takes one thing, gives you back a bool. minimal. iconic. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • gt β€” the xe_gt. that's literally the whole description, bestie, the docs said "the xe_gt" and then moved on. it's giving "trust me, you know what this is." 😭

✨ DESCRIPTION ✨

okay so here's the actual tea πŸ”₯: the return value of this function must be immediately visible upon vCPU unhalt, and it must persist until RESFIX_DONE is issued. like, those are the rules, non-negotiable, no cap.

and here's the caveat that you need to clock πŸ‘‘: that guarantee is currently implemented only for platforms that support memirq. that's it. that's the whole list. so if non-memirq platforms ever start supporting VF migration, this function will need to be updated accordingly β€” that's straight from the docs, not me being dramatic (for once). πŸ’€

ngl this is one of those "the comment is the spec" situations. the guarantee only holds where memirq is a thing, periodt. πŸ™ˆ

🌈 RETURN 🌈

  • True if VF post migration recovery is pending βœ…
  • False otherwise ❌

binary queen. she only has two moods. πŸ’…


⭐ SEE ALSO ⭐

the whole friend group, in the order the manpage said, because I would never rearrange the squad:


okay that's the page!! mwah πŸ’– go read the source file, she's right there, she's waiting.

sign-off szn 🧚: this lil masterpiece lives at ./drivers/gpu/drm/xe, dated October 2026, and answers to the name xe_gt_sriov...very_pending(9). bye bestie, slay your migration πŸŽ€βœ¨

πŸ“¦ where this page comes from