aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorRussell Currey <[email protected]>2023-02-22 02:17:08 +0000
committerMichael Ellerman <[email protected]>2023-02-22 06:01:46 +0000
commitf82cdc37c4bd4ba905bf99ade9782a639b5c12e9 (patch)
tree413f7146eb2ed8ca6f6d6f19da05ad1099bd31e9 /tools/perf/scripts/python/netdev-times.py
parentpowerpc: dts: turris1x.dts: Set lower priority for CPLD syscon-reboot (diff)
downloadkernel-f82cdc37c4bd4ba905bf99ade9782a639b5c12e9.tar.gz
kernel-f82cdc37c4bd4ba905bf99ade9782a639b5c12e9.zip
powerpc/pseries: Avoid hcall in plpks_is_available() on non-pseries
plpks_is_available() can be called on any platform via kexec but calls _plpks_get_config() which makes a hcall, which will only work on pseries. Fix this by returning early in plpks_is_available() if hcalls aren't possible. Fixes: 119da30d037d ("powerpc/pseries: Expose PLPKS config values, support additional fields") Reported-by: Murphy Zhou <[email protected]> Signed-off-by: Russell Currey <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions