xe_pxp_bo_key_check(9)
π xe_pxp_bo_key_check(9) π
okay so this is a page from the Kernel API Manual bestie, and it's literally about one tiny function that does a vibe check on your BO's key πβ¨
β¨ NAME β¨
xe_pxp_bo_key_check β bestie, this is the function that checks whether the key some xe_bo is using is actually valid π
πΈ SYNOPSIS πΈ
int xe_pxp_bo_key_check (struct xe_pxp *pxp , struct xe_bo *bo );
like that's it. that's the whole signature. two args, one int back, no cap π«Ά
π¦ ARGUMENTS π¦
pxpβ thexe->pxppointer, and heads up, it will literally beNULLif PXP is disabled. not "maybe", not "possibly" β it will beNULL. iykyk πboβ the BO we want to check. that's the one. the main character π
π DESCRIPTION π
so what it does is: it checks whether a BO was encrypted with the current key or with an obsolete one. that's the whole bit. key audit energy, honestly iconic π
π₯ RETURN π₯
it gives you back an int, and the value tells you everything:
0β slay, the key is valid β-ENODEVβ PXP is disabled, so likeβ¦ nothing to check here bestie π-EINVALβ the BO is not using PXP at all, so this whole call was not it π-ENOEXECβ nope, the key is not valid. failed the vibe check, periodt π
π SEE ALSO π
kernel file ./drivers/gpu/drm/xe/xe_pxp.c, plus the whole PXP friend group π«Ά:
PXP(9)xe_pxp_get_readiness_status(9)xe_pxp_irq_handler(9)xe_pxp_init(9)xe_pxp_exec_queue_set_type(9)xe_pxp_exec_queue_add(9)xe_pxp_exec_queue_remove(9)xe_pxp_key_assign(9)xe_pxp_obj_key_check(9)xe_pxp_pm_suspend(9)xe_pxp_pm_resume(9)
aaaand that's the page!! π this lil gem lives in ./drivers/gpu/drm/xe, it's dated October 2026, and the whole thing is filed under xe_pxp_bo_key_check(9) β go forth and check those keys bestie, ily, mwah π§π
π¦ 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