* [PATCH] KVM: x86: Fix hypercalls docs section number order
@ 2025-09-09 0:39 Bagas Sanjaya
2025-09-09 2:18 ` Randy Dunlap
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2025-09-09 0:39 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux KVM, Linux Documentation
Cc: Sean Christopherson, Paolo Bonzini, Jonathan Corbet,
Bagas Sanjaya, Wanpeng Li
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>
---
Documentation/virt/kvm/x86/hypercalls.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/virt/kvm/x86/hypercalls.rst b/Documentation/virt/kvm/x86/hypercalls.rst
index 10db7924720f16..521ecf9a8a361a 100644
--- a/Documentation/virt/kvm/x86/hypercalls.rst
+++ b/Documentation/virt/kvm/x86/hypercalls.rst
@@ -137,7 +137,7 @@ compute the CLOCK_REALTIME for its clock, at the same instant.
Returns KVM_EOPNOTSUPP if the host does not use TSC clocksource,
or if clock type is different than KVM_CLOCK_PAIRING_WALLCLOCK.
-6. KVM_HC_SEND_IPI
+7. KVM_HC_SEND_IPI
------------------
:Architecture: x86
@@ -158,7 +158,7 @@ corresponds to the APIC ID a2+1, and so on.
Returns the number of CPUs to which the IPIs were delivered successfully.
-7. KVM_HC_SCHED_YIELD
+8. KVM_HC_SCHED_YIELD
---------------------
:Architecture: x86
@@ -170,7 +170,7 @@ a0: destination APIC ID
:Usage example: When sending a call-function IPI-many to vCPUs, yield if
any of the IPI target vCPUs was preempted.
-8. KVM_HC_MAP_GPA_RANGE
+9. KVM_HC_MAP_GPA_RANGE
-------------------------
:Architecture: x86
:Status: active
base-commit: a6ad54137af92535cfe32e19e5f3bc1bb7dbd383
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] KVM: x86: Fix hypercalls docs section number order
2025-09-09 0:39 [PATCH] KVM: x86: Fix hypercalls docs section number order Bagas Sanjaya
@ 2025-09-09 2:18 ` Randy Dunlap
2025-09-22 7:54 ` Bagas Sanjaya
2025-09-24 18:07 ` Sean Christopherson
2 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2025-09-09 2:18 UTC (permalink / raw)
To: Bagas Sanjaya, Linux Kernel Mailing List, Linux KVM,
Linux Documentation
Cc: Sean Christopherson, Paolo Bonzini, Jonathan Corbet, Wanpeng Li
On 9/8/25 5:39 PM, Bagas Sanjaya wrote:
> 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>
Yep. Thanks.
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Documentation/virt/kvm/x86/hypercalls.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/virt/kvm/x86/hypercalls.rst b/Documentation/virt/kvm/x86/hypercalls.rst
> index 10db7924720f16..521ecf9a8a361a 100644
> --- a/Documentation/virt/kvm/x86/hypercalls.rst
> +++ b/Documentation/virt/kvm/x86/hypercalls.rst
> @@ -137,7 +137,7 @@ compute the CLOCK_REALTIME for its clock, at the same instant.
> Returns KVM_EOPNOTSUPP if the host does not use TSC clocksource,
> or if clock type is different than KVM_CLOCK_PAIRING_WALLCLOCK.
>
> -6. KVM_HC_SEND_IPI
> +7. KVM_HC_SEND_IPI
> ------------------
>
> :Architecture: x86
> @@ -158,7 +158,7 @@ corresponds to the APIC ID a2+1, and so on.
>
> Returns the number of CPUs to which the IPIs were delivered successfully.
>
> -7. KVM_HC_SCHED_YIELD
> +8. KVM_HC_SCHED_YIELD
> ---------------------
>
> :Architecture: x86
> @@ -170,7 +170,7 @@ a0: destination APIC ID
> :Usage example: When sending a call-function IPI-many to vCPUs, yield if
> any of the IPI target vCPUs was preempted.
>
> -8. KVM_HC_MAP_GPA_RANGE
> +9. KVM_HC_MAP_GPA_RANGE
> -------------------------
> :Architecture: x86
> :Status: active
>
> base-commit: a6ad54137af92535cfe32e19e5f3bc1bb7dbd383
--
~Randy
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] KVM: x86: Fix hypercalls docs section number order
2025-09-09 0:39 [PATCH] KVM: x86: Fix hypercalls docs section number order Bagas Sanjaya
2025-09-09 2:18 ` Randy Dunlap
@ 2025-09-22 7:54 ` Bagas Sanjaya
2025-09-22 14:07 ` Sean Christopherson
2025-09-24 18:07 ` Sean Christopherson
2 siblings, 1 reply; 6+ messages in thread
From: Bagas Sanjaya @ 2025-09-22 7:54 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux KVM, Linux Documentation,
Sean Christopherson, Paolo Bonzini
Cc: Jonathan Corbet, Wanpeng Li
[-- Attachment #1: Type: text/plain, Size: 496 bytes --]
On Tue, Sep 09, 2025 at 07:39:52AM +0700, Bagas Sanjaya wrote:
> 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.
Paolo, Sean, would you like to apply this patch on KVM tree or let Jon
handle it through docs-next?
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] KVM: x86: Fix hypercalls docs section number order
2025-09-22 7:54 ` Bagas Sanjaya
@ 2025-09-22 14:07 ` Sean Christopherson
2025-09-22 22:28 ` Bagas Sanjaya
0 siblings, 1 reply; 6+ messages in thread
From: Sean Christopherson @ 2025-09-22 14:07 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linux Kernel Mailing List, Linux KVM, Linux Documentation,
Paolo Bonzini, Jonathan Corbet, Wanpeng Li
On Mon, Sep 22, 2025, Bagas Sanjaya wrote:
> On Tue, Sep 09, 2025 at 07:39:52AM +0700, Bagas Sanjaya wrote:
> > 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.
>
> Paolo, Sean, would you like to apply this patch on KVM tree or let Jon
> handle it through docs-next?
I'll take it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] KVM: x86: Fix hypercalls docs section number order
2025-09-22 14:07 ` Sean Christopherson
@ 2025-09-22 22:28 ` Bagas Sanjaya
0 siblings, 0 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2025-09-22 22:28 UTC (permalink / raw)
To: Sean Christopherson
Cc: Linux Kernel Mailing List, Linux KVM, Linux Documentation,
Paolo Bonzini, Jonathan Corbet, Wanpeng Li
On 9/22/25 21:07, Sean Christopherson wrote:
> On Mon, Sep 22, 2025, Bagas Sanjaya wrote:
>> On Tue, Sep 09, 2025 at 07:39:52AM +0700, Bagas Sanjaya wrote:
>>> 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.
>>
>> Paolo, Sean, would you like to apply this patch on KVM tree or let Jon
>> handle it through docs-next?
>
> I'll take it.
OK, thanks!
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] KVM: x86: Fix hypercalls docs section number order
2025-09-09 0:39 [PATCH] KVM: x86: Fix hypercalls docs section number order Bagas Sanjaya
2025-09-09 2:18 ` Randy Dunlap
2025-09-22 7:54 ` Bagas Sanjaya
@ 2025-09-24 18:07 ` Sean Christopherson
2 siblings, 0 replies; 6+ messages in thread
From: Sean Christopherson @ 2025-09-24 18:07 UTC (permalink / raw)
To: Sean Christopherson, Linux Kernel Mailing List, Linux KVM,
Linux Documentation, Bagas Sanjaya
Cc: Paolo Bonzini, Jonathan Corbet, Wanpeng Li
On Tue, 09 Sep 2025 07:39:52 +0700, Bagas Sanjaya wrote:
> 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.
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Fix hypercalls docs section number order
https://github.com/kvm-x86/linux/commit/86bcd23df9ce
--
https://github.com/kvm-x86/linux/tree/next
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-09-24 18:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-09 0:39 [PATCH] KVM: x86: Fix hypercalls docs section number order Bagas Sanjaya
2025-09-09 2:18 ` Randy Dunlap
2025-09-22 7:54 ` Bagas Sanjaya
2025-09-22 14:07 ` Sean Christopherson
2025-09-22 22:28 ` Bagas Sanjaya
2025-09-24 18:07 ` Sean Christopherson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).