diff options
author | Florian Fainelli <[email protected]> | 2024-04-24 10:57:32 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-04-24 21:11:48 +0200 |
commit | c7cad38d37486668a448215fc92bace9c8cf747a (patch) | |
tree | 524cab53b404adb57d02e78b50cbca9c297f43f9 /tools/perf/scripts/python/Perf-Trace-Util | |
parent | 6678ae1918ff554f7438ff3f1a3be22d6d01f2fb (diff) |
irqchip/irq-brcmstb-l2: Avoid saving mask on shutdown
The interrupt controller shutdown path does not need to save the mask of
enabled interrupts because the next state the system is going to be in is
akin to a cold boot, or a kexec'd kernel. Saving the mask only makes sense
if the software state needs to preserve the hardware state across a system
suspend/resume cycle.
As an optimization, and given that there are systems with dozens of such
interrupt controller, save a "slow" memory mapped I/O read in the shutdown
path where no saving/restoring is required.
Reported-by: Tim Ross <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions