Attention is currently required from: Tim Wawrzynczak, Angel Pons, Arthur Heymans, Eric Lai, Lean Sheng Tan, Werner Zeh. Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63630 )
Change subject: soc/intel/cmn/pch/lockdown: Implement LPC lock down configuration ......................................................................
Patch Set 1:
(1 comment)
File src/soc/intel/common/pch/lockdown/lockdown.c:
https://review.coreboot.org/c/coreboot/+/63630/comment/2724b985_1118fad7 PS1, Line 94: static void lpc_lockdown_config(int chipset_lockdown) : { : /* Set BIOS Interface Lock, BIOS Lock */ : if (chipset_lockdown == CHIPSET_LOCKDOWN_COREBOOT) { : /* BIOS Interface Lock */ : lpc_set_bios_interface_lock_down(); : : /* Only allow writes in SMM */ : if (CONFIG(BOOTMEDIA_SMM_BWP)) : lpc_set_eiss(); : : /* BIOS Lock */ : lpc_set_lock_enable(); : } : }
This generic code is executed even by platforms where there is no LPC at all (for instance elkhartlake). How is the behavior on these platforms?
I hope you mean, LPC is not there but eSPI is there. From ICL, LPC registers are now renamed with eSPI and register snapshot is same, hence, this lockdown configuration is relevant for latest platform as well. Let me put a comment as well to make it explicit.