sbi_remote_hfence_vvma(9)
π
sbi_remote_hfence_vvma(9) β the sbi_remote_hfence_vvma page, bestie edition
okay so this is a page from the Kernel API Manual (the sbi_remote_hfence_vvma(9) one, yes the name is a mouthful, we love her anyway π) and it's lowkey about firing off HFENCE.VVMA instructions on a bunch of remote harts for the current guest virtual address range. iconic RISC-V behavior ngl.
β¨ NAME β¨
sbi_remote_hfence_vvma β Execute HFENCE.VVMA instructions on given remote harts for the current guest virtual address range. that's the whole vibe, no cap π¦
πΈ SYNOPSIS πΈ
int sbi_remote_hfence_vvma (const struct cpumask *cpu_mask , unsigned
long start , unsigned long size );
literally just three args and an int return, she's a whole main character π
π«Ά ARGUMENTS π«Ά
cpu_maskβ A cpu mask containing all the target harts. iykyk, this is your guest list for the fence party πstartβ Start of the current guest virtual address. the beginning, the origin story β¨sizeβ Total size of the current guest virtual address range. how much of the address space we're covering, fr fr π
π₯ RETURN π₯
None. that's right bestie, nothing comes back. it's giving void energy, the function does its thing and dips π
π SEE ALSO π
Kernel file ./arch/riscv/kernel/sbi.c β that's where the actual code lives, go be nosy π
and the whole friend group of related pages, all of them, not skipping a single one:
sbi_console_putchar(9)sbi_console_getchar(9)sbi_shutdown(9)__sbi_set_timer_v01(9)sbi_fwft_set(9)sbi_fwft_set_cpumask(9)sbi_set_timer(9)sbi_send_ipi(9)sbi_remote_fence_i(9)sbi_remote_sfence_vma_asid(9)sbi_remote_hfence_gvma(9)sbi_remote_hfence_gvma_vmid(9)sbi_remote_hfence_vvma_asid(9)sbi_probe_extension(9)
like a whole squad, and they all ate π
ngl if you ever need to remember where this page came from:./arch/riscv/kernel, and the version stamp says October 2026. and the page title issbi_remote_hfence_vvma(9)in case you forgot already, no judgement π
anyway that's the page! hope it slayed for you, mwah π π¦β¨ (source & date above, go forth and fence those VMAs, bestie ππ§)
π¦ 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