diff options
| author | Shrikanth Hegde <sshegde@linux.ibm.com> | 2026-11-18 10:44:17 +0530 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-11-20 13:25:17 +0530 |
| commit | 2672bdcc7857073722c4772831a24b14832ee88a (patch) | |
| tree | 4e3c6009a6393a37546f06f385c3219b65d17b8d /tools/perf/scripts/python | |
| parent | e721359e5ad0292d93bb9779c4b09fbeb681c266 (diff) | |
PPC32: Fix hard_irq_disable to follow tracing and lockdep state
On PPC32, the code for hard_irq_disable has diverged and it doesn't
do lockdep/tracing anymore, leading to use of both local_irq_disable
and hard_irq_disable on PPC32 to overcome those.
That is un-necessary, instead simply calling local_irq_disable is
enough. It disables EE bit and does lockdep tracking.
Subsequent patch uses this API in KVM code to avoid the warnings.
Wider use of it is possible, but it will be taken subsequently.
Cc: stable@vger.kernel.org # v7.2+
Suggested-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Reviewed-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20261118051419.783878-2-sshegde@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
