diff options
| author | Rohan McLure <[email protected]> | 2022-12-01 18:10:15 +1100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-12-02 20:46:01 +1100 |
| commit | 75c5d6b1e194c341371639469fcb8691afa0e254 (patch) | |
| tree | c223d9dc1544e3026522f44a5b8e86ef182f8469 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cbf892ba56677b942020d2bc7ca9b79281fa0bcc (diff) | |
powerpc/64: Sanitise common exit code for interrupts
Interrupt code is shared between Book3E/S 64-bit systems for interrupt
handlers. Ensure that exit code correctly restores non-volatile gprs on
each system when CONFIG_INTERRUPT_SANITIZE_REGISTERS is enabled.
Also introduce macros for clearing/restoring registers on interrupt
entry for when this configuration option is either disabled or enabled.
Reviewed-by: Nicholas Piggin <[email protected]>
Signed-off-by: Rohan McLure <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions