aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Donnellan <[email protected]>2025-08-06 05:56:07 +0000
committerMadhavan Srinivasan <[email protected]>2025-08-20 08:21:26 +0000
commit02c1b0824eb1873b15676257cf1dc80070927e1e (patch)
tree746f4bfb7814912f9597e4d2b16a83325402323b
parentLinux 6.17-rc2 (diff)
downloadkernel-02c1b0824eb1873b15676257cf1dc80070927e1e.tar.gz
kernel-02c1b0824eb1873b15676257cf1dc80070927e1e.zip
KVM: PPC: Fix misleading interrupts comment in kvmppc_prepare_to_enter()
Until commit 6c85f52b10fd ("kvm/ppc: IRQ disabling cleanup"), kvmppc_prepare_to_enter() was called with interrupts already disabled by the caller, which was documented in the comment above the function. Post-cleanup, the function is now called with interrupts enabled, and disables interrupts itself. Fix the comment to reflect the current behaviour. Fixes: 6c85f52b10fd ("kvm/ppc: IRQ disabling cleanup") Signed-off-by: Andrew Donnellan <[email protected]> Reviewed-by: Amit Machhiwal <[email protected]> Reviewed-by: Gautam Menghani <[email protected]> Reviewed-by: Shrikanth Hegde <[email protected]> [Fixed the double colon in Reviewed-by line] Signed-off-by: Madhavan Srinivasan <[email protected]> Link: https://patch.msgid.link/[email protected]
-rw-r--r--arch/powerpc/kvm/powerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c
index 153587741864..2ba057171ebe 100644
--- a/arch/powerpc/kvm/powerpc.c
+++ b/arch/powerpc/kvm/powerpc.c
@@ -69,7 +69,7 @@ int kvm_arch_vcpu_should_kick(struct kvm_vcpu *vcpu)
/*
* Common checks before entering the guest world. Call with interrupts
- * disabled.
+ * enabled.
*
* returns:
*