Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

KVM: x86: Fix hypercalls docs section number order

Commit 4180bf1b655a79 ("KVM: X86: Implement "send IPI" hypercall")
documents KVM_HC_SEND_IPI hypercall, yet its section number duplicates
KVM_HC_CLOCK_PAIRING one (which both are 6th). Fix the numbering order
so that the former should be 7th.

Fixes: 4180bf1b655a ("KVM: X86: Implement "send IPI" hypercall")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20250909003952.10314-1-bagasdotme@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>

authored by

Bagas Sanjaya and committed by
Sean Christopherson
86bcd23d e8f85d78

+3 -3
+3 -3
Documentation/virt/kvm/x86/hypercalls.rst
··· 137 137 Returns KVM_EOPNOTSUPP if the host does not use TSC clocksource, 138 138 or if clock type is different than KVM_CLOCK_PAIRING_WALLCLOCK. 139 139 140 - 6. KVM_HC_SEND_IPI 140 + 7. KVM_HC_SEND_IPI 141 141 ------------------ 142 142 143 143 :Architecture: x86 ··· 158 158 159 159 Returns the number of CPUs to which the IPIs were delivered successfully. 160 160 161 - 7. KVM_HC_SCHED_YIELD 161 + 8. KVM_HC_SCHED_YIELD 162 162 --------------------- 163 163 164 164 :Architecture: x86 ··· 170 170 :Usage example: When sending a call-function IPI-many to vCPUs, yield if 171 171 any of the IPI target vCPUs was preempted. 172 172 173 - 8. KVM_HC_MAP_GPA_RANGE 173 + 9. KVM_HC_MAP_GPA_RANGE 174 174 ------------------------- 175 175 :Architecture: x86 176 176 :Status: active