the following patch was just integrated into master: commit 77439f041fc6348cdaaa682d5cbe8c41f3f96241 Author: Rudolf Marek r.marek@assembler.cz Date: Sat Jul 2 16:36:17 2011 +0200
Make AMD SMM SMP aware
Move the SMM MSR init to a code run per CPU. Introduce global SMM_BASE define, later all 0xa0000 could be changed to use it. Remove the unnecessary test if the smm_init routine is called once (it is called by BSP only) and also remove if lock bit is set becuase this bit is cleared by INIT it seems. Add the defines for fam10h and famfh to respective files, we do not have any shared AMD MSR header file.
Tested on M2V-MX SE with dualcore CPU.
Change-Id: I1b2bf157d1cc79c566c9089689a9bfd9310f5683 Signed-off-by: Rudolf Marek r.marek@assembler.cz
See http://review.coreboot.org/82 for details.
-gerrit