the following patch was just integrated into master: commit a05c29057681e69485387f2846b44af503f82534 Author: Stefan Reinauer reinauer@google.com Date: Sat Oct 15 11:23:04 2011 -0700
SMM: Move wbinvd after pmode jump
According to Rudolf Marek putting a memory instruction between the CR0 write and the jmp in protected mode switching might hang the machine. Move it after the jmp.
There might be a better solution for this, such as enabling the cache, as keeping it disabled does not prevent cache poisoning attacks, so there is no real point.
However, Intel docs say that SMM code in ASEG is always running uncached, so we might want to consider running SMM out of TSEG instead, as well.
Signed-off-by: Stefan Reinauer reinauer@google.com Change-Id: Id396acf3c8a79a9f1abcc557af6e0cce099955ec
See http://review.coreboot.org/283 for details.
-gerrit