x86/mtrr: Add mtrr=debug command line option
authorJuergen Gross <jgross@suse.com>
Tue, 2 May 2023 12:09:27 +0000 (14:09 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 1 Jun 2023 13:04:33 +0000 (15:04 +0200)
commita4316603534cf7f4dcd9f9f1ed170257b987cca9
tree2282077a189a653b2958500956bcd01d793889a5
parent061b984aab5845dc958f248b5b0f9040fe45b5e1
x86/mtrr: Add mtrr=debug command line option

Add a new command line option "mtrr=debug" for getting debug output
after building the new cache mode map. The output will include MTRR
register values and the resulting map.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20230502120931.20719-13-jgross@suse.com
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Documentation/admin-guide/kernel-parameters.txt
arch/x86/kernel/cpu/mtrr/generic.c