kvm_psci_call(9)
π NAME π
okay so bestie, this is the Kernel API Manual entry for kvm_psci_call(9) β and the NAME tea is: kvm_psci_call β handle PSCI call if r0 value is in range. πβ¨
πΈ SYNOPSIS πΈ
int kvm_psci_call (struct kvm_vcpu *vcpu );
π¦ ARGUMENTS π¦
vcpuβ Pointer to theVCPUstruct. π«Ά
π₯ DESCRIPTION π₯
So basically, this handles PSCI calls from guests through traps from HVC instructions. The calling convention is similar to SMC calls to the secure world, where the function number is placed in r0. π
This function returns:
> 0β success β0β success but exit to user space π< 0β errors π
Errors: -EINVAL: Unrecognized PSCI function. π
π SEE ALSO π
Kernel file ./arch/arm64/kvm/psci.c β go read it, iykyk. πβ¨
mwah π this iconic little page comes from the ./arch/arm64/kvm source/version and is dated October 2026 β periodt, no cap. ππ
π¦ 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