Re: [PATCH] x86: Fix early boot crash on gcc-10, third try

2020-05-14 Thread Kalle Valo
Borislav Petkov writes: > Ok, > > here's the new version. Changes are: > > - It does mb() now (Linus). > - I've added a call to prevent_tail_call_optimization() in init/main.c > because it does generate the stack canary there too. This is a > future-proof thing. (Arvind). > - Dropped Reviewed

[PATCH] x86: Fix early boot crash on gcc-10, third try

2020-05-14 Thread Borislav Petkov
Ok, here's the new version. Changes are: - It does mb() now (Linus). - I've added a call to prevent_tail_call_optimization() in init/main.c because it does generate the stack canary there too. This is a future-proof thing. (Arvind). - Dropped Reviewed-by tags. - Dropped compiler checking from