]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
KVM: PPC: Fix misleading interrupts comment in kvmppc_prepare_to_enter()
authorAndrew Donnellan <ajd@linux.ibm.com>
Wed, 6 Aug 2025 05:56:07 +0000 (15:56 +1000)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 20 Aug 2025 08:21:26 +0000 (13:51 +0530)
commit02c1b0824eb1873b15676257cf1dc80070927e1e
tree746f4bfb7814912f9597e4d2b16a83325402323b
parentc17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
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 <ajd@linux.ibm.com>
Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Reviewed-by: Gautam Menghani <gautam@linux.ibm.com>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
[Fixed the double colon in Reviewed-by line]
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250806055607.17081-1-ajd@linux.ibm.com
arch/powerpc/kvm/powerpc.c