* [PATCH] Documentation: update config name in real-time architecture support
@ 2025-09-10 8:58 Lukas Bulwahn
2025-09-10 11:00 ` Sebastian Andrzej Siewior
0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2025-09-10 8:58 UTC (permalink / raw)
To: Sebastian Andrzej Siewior, Clark Williams, Steven Rostedt,
Jonathan Corbet, linux-rt-devel, linux-doc
Cc: kernel-janitors, linux-kernel, Lukas Bulwahn
From: Lukas Bulwahn <lukas.bulwahn@redhat.com>
Commit 14ec35ff5786 ("entry: Rename "kvm" entry code assets to "virt" to
genericize APIs") renames the config KVM_XFER_TO_GUEST_WORK to
VIRT_XFER_TO_GUEST_WORK. In a concurrent development work with commit
f51fe3b7e48c ("Documentation: Add real-time to core-api"), the
documentation on making an architecture support PREEMPT_RT has been
included referring to this config with its previous name.
Adjust the documentation to the current situation, and specifically
refer to the new name of the config.
Fixes: f51fe3b7e48c ("Documentation: Add real-time to core-api")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
---
Documentation/core-api/real-time/architecture-porting.rst | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/core-api/real-time/architecture-porting.rst b/Documentation/core-api/real-time/architecture-porting.rst
index d822fac29922..3062cff0e5a3 100644
--- a/Documentation/core-api/real-time/architecture-porting.rst
+++ b/Documentation/core-api/real-time/architecture-porting.rst
@@ -35,9 +35,10 @@ POSIX CPU timers and KVM
POSIX CPU timers must expire from thread context rather than directly within
the timer interrupt. This behavior is enabled by setting the configuration
option CONFIG_HAVE_POSIX_CPU_TIMERS_TASK_WORK.
- When KVM is enabled, CONFIG_KVM_XFER_TO_GUEST_WORK must also be set to ensure
- that any pending work, such as POSIX timer expiration, is handled before
- transitioning into guest mode.
+ When virtualization support, such as KVM, is enabled,
+ CONFIG_VIRT_XFER_TO_GUEST_WORK must also be set to ensure that any pending
+ work, such as POSIX timer expiration, is handled before transitioning into
+ guest mode.
Hard-IRQ and Soft-IRQ stacks
Soft interrupts are handled in the thread context in which they are raised. If
--
2.51.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] Documentation: update config name in real-time architecture support
2025-09-10 8:58 [PATCH] Documentation: update config name in real-time architecture support Lukas Bulwahn
@ 2025-09-10 11:00 ` Sebastian Andrzej Siewior
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-09-10 11:00 UTC (permalink / raw)
To: Lukas Bulwahn
Cc: Clark Williams, Steven Rostedt, Jonathan Corbet, linux-rt-devel,
linux-doc, kernel-janitors, linux-kernel, Lukas Bulwahn
On 2025-09-10 10:58:59 [+0200], Lukas Bulwahn wrote:
> From: Lukas Bulwahn <lukas.bulwahn@redhat.com>
>
> Commit 14ec35ff5786 ("entry: Rename "kvm" entry code assets to "virt" to
> genericize APIs") renames the config KVM_XFER_TO_GUEST_WORK to
This is 4843a45ef9fe8 ("entry: Rename "kvm" entry code assets to "virt" to genericize APIs")
in -next as of today.
> VIRT_XFER_TO_GUEST_WORK. In a concurrent development work with commit
> f51fe3b7e48c ("Documentation: Add real-time to core-api"), the
> documentation on making an architecture support PREEMPT_RT has been
> included referring to this config with its previous name.
>
> Adjust the documentation to the current situation, and specifically
> refer to the new name of the config.
>
> Fixes: f51fe3b7e48c ("Documentation: Add real-time to core-api")
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
> ---
> Documentation/core-api/real-time/architecture-porting.rst | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/core-api/real-time/architecture-porting.rst b/Documentation/core-api/real-time/architecture-porting.rst
> index d822fac29922..3062cff0e5a3 100644
> --- a/Documentation/core-api/real-time/architecture-porting.rst
> +++ b/Documentation/core-api/real-time/architecture-porting.rst
> @@ -35,9 +35,10 @@ POSIX CPU timers and KVM
> POSIX CPU timers must expire from thread context rather than directly within
> the timer interrupt. This behavior is enabled by setting the configuration
> option CONFIG_HAVE_POSIX_CPU_TIMERS_TASK_WORK.
> - When KVM is enabled, CONFIG_KVM_XFER_TO_GUEST_WORK must also be set to ensure
> - that any pending work, such as POSIX timer expiration, is handled before
> - transitioning into guest mode.
> + When virtualization support, such as KVM, is enabled,
> + CONFIG_VIRT_XFER_TO_GUEST_WORK must also be set to ensure that any pending
> + work, such as POSIX timer expiration, is handled before transitioning into
> + guest mode.
I don't know how this is handled here but if you would start a new line
after "ensure" then you would end up with smaller diff.
> Hard-IRQ and Soft-IRQ stacks
> Soft interrupts are handled in the thread context in which they are raised. If
Sebastian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-10 11:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-10 8:58 [PATCH] Documentation: update config name in real-time architecture support Lukas Bulwahn
2025-09-10 11:00 ` Sebastian Andrzej Siewior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®