[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ikjhacat.fsf@trenco.lwn.net>
Date: Thu, 24 Jul 2025 08:33:30 -0600
From: Jonathan Corbet <corbet@....net>
To: Andrew Donnellan <ajd@...ux.ibm.com>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Thomas Gleixner <tglx@...utronix.de>, Nicolas Saenz Julienne
<nsaenz@...zon.com>, Mark Rutland <mark.rutland@....com>
Subject: Re: [PATCH] Documentation: core-api: entry: Replace deprecated KVM
entry/exit functions
Andrew Donnellan <ajd@...ux.ibm.com> writes:
> The x86-specific functions kvm_guest_{enter,exit}_irqoff() were removed
> and replaced by the generic guest_state_{enter,exit}_irqoff() in commit
> ef9989afda73 ("kvm: add guest_state_{enter,exit}_irqoff()") and commit
> b2d2af7e5df3 ("kvm/x86: rework guest entry logic").
>
> Update the references in the entry/exit handling documentation.
>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Nicolas Saenz Julienne <nsaenz@...zon.com>
> Cc: Mark Rutland <mark.rutland@....com>
> Signed-off-by: Andrew Donnellan <ajd@...ux.ibm.com>
> ---
> Documentation/core-api/entry.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/core-api/entry.rst b/Documentation/core-api/entry.rst
> index a15f9b1767a2..286a5ecf7cae 100644
> --- a/Documentation/core-api/entry.rst
> +++ b/Documentation/core-api/entry.rst
> @@ -115,8 +115,8 @@ Entering or exiting guest mode is very similar to syscalls. From the host
> kernel point of view the CPU goes off into user space when entering the
> guest and returns to the kernel on exit.
>
> -kvm_guest_enter_irqoff() is a KVM-specific variant of exit_to_user_mode()
> -and kvm_guest_exit_irqoff() is the KVM variant of enter_from_user_mode().
> +guest_state_enter_irqoff() is a KVM-specific variant of exit_to_user_mode()
> +and guest_state_exit_irqoff() is the KVM variant of enter_from_user_mode().
> The state operations have the same ordering.
Applied, thanks.
jon
Powered by blists - more mailing lists