]> git.baikalelectronics.ru Git - uboot.git/commit
x86: use invd instead of wbinvd in real mode start code
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 8 Jan 2020 11:08:44 +0000 (20:08 +0900)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 3 Feb 2020 17:19:26 +0000 (01:19 +0800)
commit4d082110ff608e966a32421271492385cdc46f09
tree589bdf17151a0301e8170e0753dd04256984c2a6
parent3c0d5d6ffbdd8de6f0f53017912ca8a84aaf2872
x86: use invd instead of wbinvd in real mode start code

I do not know why the boot code immediately after the system reset
should write-back the cache content. I think the cache invalidation
should be enough.

I tested this commit with qemu-x86_defconfig, and it worked for me.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/start.S
arch/x86/cpu/start16.S