diff options
author | Stefan Reinauer <reinauer@google.com> | 2011-10-15 11:23:04 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-10-15 21:16:37 +0200 |
commit | 3128685a918ee9c67a50f9753874b794008c8607 (patch) | |
tree | dde51d1605866e42ad19d8af16188f7aa0e45d83 /src/mainboard/tyan | |
parent | 1377491ac7a7bb75d6834bf79a219fd8ae1c03cd (diff) |
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
Reviewed-on: http://review.coreboot.org/283
Reviewed-by: Sven Schnelle <svens@stackframe.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/tyan')
0 files changed, 0 insertions, 0 deletions