sbi_remote_hfence_gvma_vmid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sbi_remote_hfence_gvma_vmid(9) β€” like, the whole glow-up

okay so bestie, this is a page straight out of the Kernel API Manual and it's literally about firing off HFENCE.GVMA instructions on remote harts for a guest physical address range that belongs to one specific VMID. yes, that VMID. the one VMID. main character VMID energy only πŸŽ€


✨ NAME ✨

sbi_remote_hfence_gvma_vmid β€” the function that executes HFENCE.GVMA instructions on the remote harts you point at, for a guest physical address range belonging to a specific VMID. no cap, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

int sbi_remote_hfence_gvma_vmid (const struct cpumask *cpu_mask ,
unsigned long start , unsigned long size , unsigned long vmid );

πŸ’– ARGUMENTS πŸ’–

  • cpu_mask β€” a cpu mask containing all the target harts. like, every hart you want in the group chat 🫢
  • start β€” start of the guest physical address.
  • size β€” total size of the guest physical address range. yes, the total size, don't come for me πŸ™ˆ
  • vmid β€” the value of guest ID (VMID). the ID of the guest. iconic behavior πŸ’…

⭐ RETURN ⭐

0 if success, Error otherwise. that's it, that's the whole return policy 😭


πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./arch/riscv/kernel/sbi.c, plus the whole friend group:


⚠️ quick vibe check: 0 means success, anything else is an error β€” so don't go assuming 0 means "nothing happened", bestie, it means you ate πŸ’€βœ¨

and that's the page, fr fr πŸ’œ this masterpiece of a manpage lives in ./arch/riscv/kernel, dated October 2026, and it's the Kernel API Manual. slay, go touch some harts πŸ§šβ€β™€οΈπŸŒˆπŸ‘‘

πŸ“¦ where this page comes from