Attention is currently required from: Marc Jones, Patrick Rudolph, Jonathan Zhang, Rocky Phagura, Jingle Hsu, Angel Pons, Arthur Heymans, Morgan Jang, Kyösti Mälkki. Hello build bot (Jenkins), Marc Jones, Patrick Rudolph, Jonathan Zhang, Rocky Phagura, Jingle Hsu, Angel Pons, Arthur Heymans, Morgan Jang,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/49460
to look at the new patch set (#9).
Change subject: cpu/x86/smm: Add log_level that can be overridden for SMM log level ......................................................................
cpu/x86/smm: Add log_level that can be overridden for SMM log level
When CONSOLE_OVERRIDE_LOGLEVEL is selected, ramstage can pass SMM console log level via this variable and in SMM it gets assigned to a global int 'smm_log_level' that can be referenced in SMM get_console_loglevel() override function directly.
The purpose is that getting the log level may spend too much time such as searching for the key-value from flash VPD, which is not ideal for SMM.
Tested=On OCP Delta Lake, verified SMM log level can be overridden.
Change-Id: I81722a4f1bf75ec942cc06e403ad702dfe938e71 Signed-off-by: Johnny Lin johnny_lin@wiwynn.com --- M src/cpu/x86/smm/smm_module_handler.c M src/cpu/x86/smm/smm_module_loader.c M src/cpu/x86/smm/smm_module_loaderv2.c M src/include/console/console.h M src/include/cpu/x86/smm.h 5 files changed, 28 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/49460/9