sbi_remote_hfence_gvma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sbi_remote_hfence_gvma β€” Kernel API Manual ✨

okay so bestie, welcome to sbi_remote_hfence_gvma(9), the manual page for the little RISC-V function that goes and yells at other harts for you πŸ¦‹ it literally executes HFENCE.GVMA instructions on the remote harts you point at, scoped to a guest physical address range. group-chat blast, but for fences. no cap.


πŸŽ€ NAME πŸŽ€

sbi_remote_hfence_gvma β€” execute HFENCE.GVMA instructions on given remote harts for the specified guest physical address range. that's the whole vibe fr fr πŸ’…


✨ SYNOPSIS ✨

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

🌸 ARGUMENTS 🌸

  • cpu_mask β€” a cpu mask containing all the target harts πŸ‘‘ like, who are we sending this to. everybody in the mask gets the treatment.
  • start β€” start of the guest physical address πŸŽ€ the beginning of the range, bestie.
  • size β€” total size of the guest physical address range πŸ’œ how far the range goes from start. yes it's a size, not an end. we been knew.

⭐ RETURN ⭐

None. πŸ’€ that's it. nothing comes back. no return value, no sneak peek, no little treat for you at the end. the function does its thing and dips πŸ™ˆ


🌈 SEE ALSO 🌈

kernel file ./arch/riscv/kernel/sbi.c 🫢 and the whole friend group of SBI calls, all holding hands:

like, the _vmid one and the _asid ones are literally cousins of this function, iykyk πŸ”₯


ngl there is genuinely a whole flock of remote_hfence pages and they all look alike at a glance β€” read the name twice, bestie, or you'll page the wrong cousin 😭

and that's the page!! 🌸 this came out of ./arch/riscv/kernel in October 2026, and the manual page itself is sbi_remote_hfence_gvma(9) β€” mwah, periodt, go fence something responsibly πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from