GUC2PF_ADVERSE_EVENT(9)
π GUC2PF_ADVERSE_EVENT π
ok so bestie, real talk: this is a page from the Kernel API Manual (section 9, the kernel API zone β¨) and it's literally just one message definition. That's it. That's the whole vibe. But she's an important one so let's give her the respect she deserves π
β¨ NAME β¨
GUC2PF_ADVERSE_EVENT β the lil heads-up note the GuC slides into the PF's DMs when something adverse goes down π«Ά
πΈ DESCRIPTION πΈ
This message is used by the GuC to notify PF about adverse events. That's the whole plot. GuC sees something spicy, GuC tells the PF. iykyk π
ok but here's the rule, and she is not optional β this G2H message must be sent as a CTB HXG Message. no cap, that's the shape it has to take.
π¦ the bit layout, aka the receipts
first up, the header word (word 0):
- Bits 0β31 β
ORIGIN = GUC_HXG_ORIGIN_GUC_π - Bits 30:28 β
TYPE = GUC_HXG_TYPE_EVENT_β - Bits 27:16 β
DATA0 = MBZ(that's "must be zero", bestie, don't get creative) - Bits 15:0 β
ACTION =GUC_ACTION_GUC2PF_ADVERSE_EVENT= 0x5104π₯
and then the payload words:
1 31:0 DATA1 = **VFID** - VF identifier
2 31:0 DATA2 = **THRESHOLD** - key of the exceeded threshold
so DATA1 is the VFID, literally the VF identifier, and DATA2 is the THRESHOLD, which is the key of the exceeded threshold. iconic data delivery tbqh π
β οΈ warning-ish vibe check:DATA0isMBZβ must be zero. zero. not "a small number." zero. π
π SEE ALSO π
the kernel file for this one is right here, keep it warm:
Kernel file ./drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h
and the whole fam, all these pages are lowkey siblings:
GUC2PF_RELAY_FROM_VF(9)PF2GUC_RELAY_TO_VF(9)GUC2VF_RELAY_FROM_PF(9)VF2GUC_RELAY_TO_PF(9)GUC2PF_VF_STATE_NOTIFY(9)VF2GUC_MATCH_VERSION(9)PF2GUC_UPDATE_VGT_POLICY(9)PF2GUC_UPDATE_VF_CFG(9)PF2GUC_VF_CONTROL(9)VF2GUC_VF_RESET(9)VF2GUC_RESFIX_DONE(9)VF2GUC_QUERY_SINGLE_KLV(9)PF2GUC_SAVE_RESTORE_VF(9)VF2GUC_RESFIX_START(9)
periodt. go read them, they're all giving main character energy π
ok that's the whole page, bestie!! mwah π thanks for reading, this came out of ./drivers/gpu/drm/xe/abi, dated October 2026, and the page itself is GUC2PF_ADVERSE_EVENT(9) β slay, go touch some registers β¨ππ¦
π¦ 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