x86/smpboot: Make error message actually useful
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:05:50 +0000 (22:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:43 +0000 (22:07 +0100)
commit6055f6cf0d462fa0d9212a8279b6b0d1130552e1
treee6a05e477bdaa4f8ececafb1215e74fc8a622bad
parent72530464ed609bcdd49a760e9d0bc3b16717ff2b
x86/smpboot: Make error message actually useful

"smpboot: native_kick_ap: bad cpu 33" is absolutely useless information.

Replace it with something meaningful which allows to decode the failure
condition.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20240213210252.170806023@linutronix.de
arch/x86/kernel/smpboot.c