RE: [PATCH] ARM: Implement Clang's SLS mitigation

2021-02-12 Thread David Laight
> > on -mharden-sls=all, which mitigates the straight-line speculation > > vulnerability, or more commonly known as Spectre, Meldown. > > ^ I would drop "or" here > ^ drop comma, >

Re: [PATCH] ARM: Implement Clang's SLS mitigation

2021-02-11 Thread Nathan Chancellor
Hi Jian, On Thu, Feb 11, 2021 at 09:14:58PM -0800, Jian Cai wrote: > This patch adds a config CONFIG_HARDEN_SLS_ALL that can be used to turn Drop "a config". > on -mharden-sls=all, which mitigates the straight-line speculation > vulnerability, or more commonly known as Spectre, Meldown.

[PATCH] ARM: Implement Clang's SLS mitigation

2021-02-11 Thread Jian Cai
This patch adds a config CONFIG_HARDEN_SLS_ALL that can be used to turn on -mharden-sls=all, which mitigates the straight-line speculation vulnerability, or more commonly known as Spectre, Meldown. Notice -mharden-sls= has other options as below, and this config turns on the strongest option. all