diff options
author | Greg Kurz <[email protected]> | 2021-03-09 19:11:10 +0100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-05-08 00:48:32 +1000 |
commit | 8873aab8646194a4446117bb617cc71bddda2dee (patch) | |
tree | 6e8a30f0fb3726c755cf9a45e2dd1f3268f0dbd0 /scripts/generate_rust_analyzer.py | |
parent | c3710ee7cd695dc1b0b4b8cfbf464e313467f970 (diff) |
powerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#"
All these commands end up peeking into the PACA using the user
originated cpu id as an index. Check the cpu id is valid in order
to prevent xmon to crash. Instead of printing an error, this follows
the same behavior as the "lp s #" command : ignore the buggy cpu id
parameter and fall back to the #-less version of the command.
Signed-off-by: Greg Kurz <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions