]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpu: Create helper function to parse the 'clearcpuid=' boot parameter
authorBrendan Jackman <jackmanb@google.com>
Fri, 20 Dec 2024 15:18:31 +0000 (15:18 +0000)
committerIngo Molnar <mingo@kernel.org>
Fri, 28 Feb 2025 09:57:49 +0000 (10:57 +0100)
commitf034937f5af32188cd1c07865c885b2f171e17bf
treeb186ff9a58a15af8f1a3f3bb816b626076508607
parenta4248ee16f411ac1ea7dfab228a6659b111e3d65
x86/cpu: Create helper function to parse the 'clearcpuid=' boot parameter

This is in preparation for a later commit that will reuse this code, to
make review convenient.

Factor out a helper function which does the full handling for this arg
including printing info to the console.

No functional change intended.

Signed-off-by: Brendan Jackman <jackmanb@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20241220-force-cpu-bug-v2-1-7dc71bce742a@google.com
arch/x86/kernel/cpu/common.c