diff options
author | Oliver Upton <[email protected]> | 2022-05-04 03:24:35 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-05-04 09:28:44 +0100 |
commit | 5bc2cb95ad03d866422d7b3f19ec42a6720f3262 (patch) | |
tree | b1ecdca5e3b5156944b0a31a5168d436a4a02514 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 672c0c5173427e6b3e2a9bbb7be51ceeec78093a (diff) |
KVM: arm64: Don't depend on fallthrough to hide SYSTEM_RESET2
Depending on a fallthrough to the default case for hiding SYSTEM_RESET2
requires that any new case statements clean up the failure path for this
PSCI call.
Unhitch SYSTEM_RESET2 from the default case by setting val to
PSCI_RET_NOT_SUPPORTED outside of the switch statement. Apply the
cleanup to both the PSCI_1_1_FN_SYSTEM_RESET2 and
PSCI_1_0_FN_PSCI_FEATURES handlers.
No functional change intended.
Signed-off-by: Oliver Upton <[email protected]>
Reviewed-by: Reiji Watanabe <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions