[PATCH] powerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#"
Michael Ellerman
patch-notifications at ellerman.id.au
Wed May 8 23:39:45 AEST 2024
On Tue, 09 Mar 2021 19:11:10 +0100, Greg Kurz wrote:
> 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.
>
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#"
https://git.kernel.org/powerpc/c/8873aab8646194a4446117bb617cc71bddda2dee
cheers
More information about the Linuxppc-dev
mailing list