[PATCH] x86: use invd instead of wbinvd in real mode start code

Bin Meng bmeng.cn at gmail.com
Mon Feb 3 05:41:24 CET 2020


On Wed, Jan 8, 2020 at 7:09 PM Masahiro Yamada <masahiroy at kernel.org> wrote:
>
> 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 at kernel.org>
> ---
>
>  arch/x86/cpu/start.S   | 2 +-
>  arch/x86/cpu/start16.S | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list