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

Bin Meng bmeng.cn at gmail.com
Mon Feb 3 05:47:17 CET 2020


On Mon, Feb 3, 2020 at 12:41 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list