* [PATCH] Documentation: KVM: Fix unexpected unindent warnings
@ 2025-06-25 1:48 Binbin Wu
2025-06-25 6:31 ` Bagas Sanjaya
2025-06-25 22:25 ` Sean Christopherson
0 siblings, 2 replies; 3+ messages in thread
From: Binbin Wu @ 2025-06-25 1:48 UTC (permalink / raw)
To: pbonzini, seanjc, kvm, linux-kernel
Cc: sfr, rick.p.edgecombe, kai.huang, adrian.hunter, reinette.chatre,
xiaoyao.li, tony.lindgren, isaku.yamahata, yan.y.zhao, binbin.wu
Add proper indentations to bullet list items to resolve the warning:
"Bullet list ends without a blank line; unexpected unindent."
Fixes: cf207eac06f6 ("KVM: TDX: Handle TDG.VP.VMCALL<GetQuote>")
Fixes: 25e8b1dd4883 ("KVM: TDX: Exit to userspace for GetTdVmCallInfo")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes:https://lore.kernel.org/kvm/20250623162110.6e2f4241@canb.auug.org.au/
Signed-off-by: Binbin Wu <binbin.wu@linux.intel.com>
---
The fix for the same issue in Linux Next due to the patch
"KVM: TDX: Exit to userspace for SetupEventNotifyInterrupt" is not included.
---
Documentation/virt/kvm/api.rst | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index 9abf93ee5f65..a7dbe08dc376 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -7210,21 +7210,21 @@ number from register R11. The remaining field of the union provide the
inputs and outputs of the TDVMCALL. Currently the following values of
``nr`` are defined:
-* ``TDVMCALL_GET_QUOTE``: the guest has requested to generate a TD-Quote
-signed by a service hosting TD-Quoting Enclave operating on the host.
-Parameters and return value are in the ``get_quote`` field of the union.
-The ``gpa`` field and ``size`` specify the guest physical address
-(without the shared bit set) and the size of a shared-memory buffer, in
-which the TDX guest passes a TD Report. The ``ret`` field represents
-the return value of the GetQuote request. When the request has been
-queued successfully, the TDX guest can poll the status field in the
-shared-memory area to check whether the Quote generation is completed or
-not. When completed, the generated Quote is returned via the same buffer.
-
-* ``TDVMCALL_GET_TD_VM_CALL_INFO``: the guest has requested the support
-status of TDVMCALLs. The output values for the given leaf should be
-placed in fields from ``r11`` to ``r14`` of the ``get_tdvmcall_info``
-field of the union.
+ * ``TDVMCALL_GET_QUOTE``: the guest has requested to generate a TD-Quote
+ signed by a service hosting TD-Quoting Enclave operating on the host.
+ Parameters and return value are in the ``get_quote`` field of the union.
+ The ``gpa`` field and ``size`` specify the guest physical address
+ (without the shared bit set) and the size of a shared-memory buffer, in
+ which the TDX guest passes a TD Report. The ``ret`` field represents
+ the return value of the GetQuote request. When the request has been
+ queued successfully, the TDX guest can poll the status field in the
+ shared-memory area to check whether the Quote generation is completed or
+ not. When completed, the generated Quote is returned via the same buffer.
+
+ * ``TDVMCALL_GET_TD_VM_CALL_INFO``: the guest has requested the support
+ status of TDVMCALLs. The output values for the given leaf should be
+ placed in fields from ``r11`` to ``r14`` of the ``get_tdvmcall_info``
+ field of the union.
KVM may add support for more values in the future that may cause a userspace
exit, even without calls to ``KVM_ENABLE_CAP`` or similar. In this case,
base-commit: 86731a2a651e58953fc949573895f2fa6d456841
--
2.46.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation: KVM: Fix unexpected unindent warnings
2025-06-25 1:48 [PATCH] Documentation: KVM: Fix unexpected unindent warnings Binbin Wu
@ 2025-06-25 6:31 ` Bagas Sanjaya
2025-06-25 22:25 ` Sean Christopherson
1 sibling, 0 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2025-06-25 6:31 UTC (permalink / raw)
To: Binbin Wu, pbonzini, seanjc, kvm, linux-kernel
Cc: sfr, rick.p.edgecombe, kai.huang, adrian.hunter, reinette.chatre,
xiaoyao.li, tony.lindgren, isaku.yamahata, yan.y.zhao
[-- Attachment #1: Type: text/plain, Size: 2804 bytes --]
On Wed, Jun 25, 2025 at 09:48:29AM +0800, Binbin Wu wrote:
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index 9abf93ee5f65..a7dbe08dc376 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -7210,21 +7210,21 @@ number from register R11. The remaining field of the union provide the
> inputs and outputs of the TDVMCALL. Currently the following values of
> ``nr`` are defined:
>
> -* ``TDVMCALL_GET_QUOTE``: the guest has requested to generate a TD-Quote
> -signed by a service hosting TD-Quoting Enclave operating on the host.
> -Parameters and return value are in the ``get_quote`` field of the union.
> -The ``gpa`` field and ``size`` specify the guest physical address
> -(without the shared bit set) and the size of a shared-memory buffer, in
> -which the TDX guest passes a TD Report. The ``ret`` field represents
> -the return value of the GetQuote request. When the request has been
> -queued successfully, the TDX guest can poll the status field in the
> -shared-memory area to check whether the Quote generation is completed or
> -not. When completed, the generated Quote is returned via the same buffer.
> -
> -* ``TDVMCALL_GET_TD_VM_CALL_INFO``: the guest has requested the support
> -status of TDVMCALLs. The output values for the given leaf should be
> -placed in fields from ``r11`` to ``r14`` of the ``get_tdvmcall_info``
> -field of the union.
> + * ``TDVMCALL_GET_QUOTE``: the guest has requested to generate a TD-Quote
> + signed by a service hosting TD-Quoting Enclave operating on the host.
> + Parameters and return value are in the ``get_quote`` field of the union.
> + The ``gpa`` field and ``size`` specify the guest physical address
> + (without the shared bit set) and the size of a shared-memory buffer, in
> + which the TDX guest passes a TD Report. The ``ret`` field represents
> + the return value of the GetQuote request. When the request has been
> + queued successfully, the TDX guest can poll the status field in the
> + shared-memory area to check whether the Quote generation is completed or
> + not. When completed, the generated Quote is returned via the same buffer.
> +
> + * ``TDVMCALL_GET_TD_VM_CALL_INFO``: the guest has requested the support
> + status of TDVMCALLs. The output values for the given leaf should be
> + placed in fields from ``r11`` to ``r14`` of the ``get_tdvmcall_info``
> + field of the union.
>
> KVM may add support for more values in the future that may cause a userspace
> exit, even without calls to ``KVM_ENABLE_CAP`` or similar. In this case,
>
LGTM, thanks!
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
--
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] 3+ messages in thread
* Re: [PATCH] Documentation: KVM: Fix unexpected unindent warnings
2025-06-25 1:48 [PATCH] Documentation: KVM: Fix unexpected unindent warnings Binbin Wu
2025-06-25 6:31 ` Bagas Sanjaya
@ 2025-06-25 22:25 ` Sean Christopherson
1 sibling, 0 replies; 3+ messages in thread
From: Sean Christopherson @ 2025-06-25 22:25 UTC (permalink / raw)
To: Sean Christopherson, pbonzini, kvm, linux-kernel, Binbin Wu
Cc: sfr, rick.p.edgecombe, kai.huang, adrian.hunter, reinette.chatre,
xiaoyao.li, tony.lindgren, isaku.yamahata, yan.y.zhao
On Wed, 25 Jun 2025 09:48:29 +0800, Binbin Wu wrote:
> Add proper indentations to bullet list items to resolve the warning:
> "Bullet list ends without a blank line; unexpected unindent."
>
> Closes:https://lore.kernel.org/kvm/20250623162110.6e2f4241@canb.auug.org.au/
Applied to kvm-x86 fixes, thanks!
[1/1] Documentation: KVM: Fix unexpected unindent warnings
https://github.com/kvm-x86/linux/commit/0c84b534047d
--
https://github.com/kvm-x86/kvm-unit-tests/tree/next
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-25 22:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25 1:48 [PATCH] Documentation: KVM: Fix unexpected unindent warnings Binbin Wu
2025-06-25 6:31 ` Bagas Sanjaya
2025-06-25 22:25 ` 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).