diff options
| author | Nicholas Piggin <[email protected]> | 2023-01-21 10:01:56 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-01-30 09:07:42 +0000 |
| commit | c28548012ee2bac55772ef7685138bd1124b80c3 (patch) | |
| tree | d89e4e5290744797f80f470183b029a598012dd2 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | powerpc/64s: Fix local irq disable when PMIs are disabled (diff) | |
| download | kernel-c28548012ee2bac55772ef7685138bd1124b80c3.tar.gz kernel-c28548012ee2bac55772ef7685138bd1124b80c3.zip | |
powerpc/64: Fix perf profiling asynchronous interrupt handlers
Interrupt entry sets the soft mask to IRQS_ALL_DISABLED to match the
hard irq disabled state. So when should_hard_irq_enable() returns true
because we want PMI interrupts in irq handlers, MSR[EE] is enabled but
PMIs just get soft-masked. Fix this by clearing IRQS_PMI_DISABLED before
enabling MSR[EE].
This also tidies some of the warnings, no need to duplicate them in
both should_hard_irq_enable() and do_hard_irq_enable().
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
