Documentation: update config name in real-time architecture support
Subsystems (3)
PATCH 1/1 Documentation: update config name in real-time architecture support
From: Lukas Bulwahn <[email protected]>
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.
--- Documentation/core-api/real-time/architecture-porting.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
Documentation/core-api/real-time/architecture-porting.rst +4 -3
@@ -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
Signature · 1 line
2.51.0
Sebastian Andrzej Siewior
maintainerQuoted 4 lines · Lukas Bulwahn
From: Lukas Bulwahn <[email protected]>
Commit
14ec35ff5786("entry: Rename "kvm" entry code assets to "virt" to genericize APIs") renames the configKVM_XFER_TO_GUEST_WORKto
This is 4843a45ef9fe8 ("entry: Rename "kvm" entry code assets to "virt" to genericize APIs") in -next as of today.
Quoted 19 lines
VIRT_XFER_TO_GUEST_WORK. In a concurrent development work with commitf51fe3b7e48c("Documentation: Add real-time to core-api"), the documentation on making an architecture supportPREEMPT_RThas 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 <[email protected]>--- Documentation/core-api/real-time/architecture-porting.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)Documentation/core-api/real-time/architecture-porting.rst +0
-0
Documentation/core-api/real-time/architecture-porting.rst POSIX CPU timers and KVM · line 41
Quoted 10 lines
Documentation/core-api/real-time/architecture-porting.rst +4
-3@@ -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.
Documentation/core-api/real-time/architecture-porting.rst POSIX CPU timers and KVM · line 44
Quoted 2 lines
Documentation/core-api/real-time/architecture-porting.rst +0
-0Hard-IRQ and Soft-IRQ stacks Soft interrupts are handled in the thread context in which they are raised. If
Sebastian