VF2GUC_QUERY_SINGLE_KLV(9)
π VF2GUC_QUERY_SINGLE_KLV
okay so this is a page out of the Kernel API Manual, section 9, and it's all about the VF2GUC_QUERY_SINGLE_KLV action β literally the moment a VF slides into the GUC's DMs to ask "hey what's the value of this one KLV bestie?"
π what it does
This action is used by VF to query value of the single KLV data.
This message must be sent as MMIO HXG Message.
π¨ the request (what VF sends, main character energy)
Word 0, bits 0β31:
- bits 0β31 β
ORIGIN = GUC_HXG_ORIGIN_HOST_ - bits 30:28 β
TYPE = GUC_HXG_TYPE_REQUEST_ - bits 27:16 β
MBZ - bits 15:0 β
ACTION = GUC_ACTION_VF2GUC_QUERY_SINGLE_KLV=0x5509
Word 1:
- bits 31:16 β
MBZ - bits 15:0 β KEY β key for which value is requested
π the response (GUC replies, slay)
Word 0, bits 0β31:
- bits 0β31 β
ORIGIN = GUC_HXG_ORIGIN_GUC_ - bits 30:28 β
TYPE = GUC_HXG_TYPE_RESPONSE_SUCCESS_ - bits 27:16 β
MBZ - bits 15:0 β LENGTH β length of data in dwords
Then the value comes back in the following words, and how many of them actually matter depends on LENGTH (no cap, that's literally what the conditionals say):
- word 1, bits 31:0 β VALUE32 β bits 31:0 of value if LENGTH >= 1
- word 2, bits 31:0 β VALUE64 β bits 63:32 of value if LENGTH >= 2
- word 3, bits 31:0 β VALUE96 β bits 95:64 of value if LENGTH >= 3
π«Ά quick vibe check: the value words are conditional on LENGTH, so if LENGTH is smaller, don't go reading words that aren't promised. That's the whole point of the >= gates, iykyk.
β¨ SEE ALSO β¨
- Kernel file
./drivers/gpu/drm/xe/abi/guc_actions_sriov_abi.h GUC2PF_RELAY_FROM_VF(9)PF2GUC_RELAY_TO_VF(9)GUC2VF_RELAY_FROM_PF(9)VF2GUC_RELAY_TO_PF(9)GUC2PF_ADVERSE_EVENT(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)PF2GUC_SAVE_RESTORE_VF(9)VF2GUC_RESFIX_START(9)
and that's the whole page, bestie π¦ this little icon comes to you from ./drivers/gpu/drm/xe/abi, dated October 2026 β go forth and query your single KLV, periodt π
π¦ 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