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

2020-02-02 Thread Bin Meng
On Mon, Feb 3, 2020 at 12:41 PM Bin Meng wrote: > > On Wed, Jan 8, 2020 at 7:09 PM Masahiro Yamada 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

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

2020-02-02 Thread Bin Meng
On Wed, Jan 8, 2020 at 7:09 PM Masahiro Yamada 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. > >

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

2020-01-29 Thread Simon Glass
On Wed, 8 Jan 2020 at 04:09, Masahiro Yamada 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. > >

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

2020-01-08 Thread Masahiro Yamada
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 --- arch/x86/cpu/start.S | 2 +-