Re: [PATCH 17/21] x86/acpi: Convert indirect jump to retpoline

2021-01-14 Thread Andrew Cooper
On 14/01/2021 23:47, Josh Poimboeuf wrote: > On Thu, Jan 14, 2021 at 10:59:39PM +, Andrew Cooper wrote: >> On 14/01/2021 19:40, Josh Poimboeuf wrote: >>> It's kernel policy to not have (unannotated) indirect jumps because of >>> Spectre v2. This one's probably harmless, but better safe than

Re: [PATCH 17/21] x86/acpi: Convert indirect jump to retpoline

2021-01-14 Thread Josh Poimboeuf
On Thu, Jan 14, 2021 at 10:59:39PM +, Andrew Cooper wrote: > On 14/01/2021 19:40, Josh Poimboeuf wrote: > > It's kernel policy to not have (unannotated) indirect jumps because of > > Spectre v2. This one's probably harmless, but better safe than sorry. > > Convert it to a retpoline. > > > >

Re: [PATCH 17/21] x86/acpi: Convert indirect jump to retpoline

2021-01-14 Thread Andrew Cooper
On 14/01/2021 19:40, Josh Poimboeuf wrote: > It's kernel policy to not have (unannotated) indirect jumps because of > Spectre v2. This one's probably harmless, but better safe than sorry. > Convert it to a retpoline. > > Cc: "Rafael J. Wysocki" > Cc: Len Brown > Cc: Pavel Machek >

[PATCH 17/21] x86/acpi: Convert indirect jump to retpoline

2021-01-14 Thread Josh Poimboeuf
It's kernel policy to not have (unannotated) indirect jumps because of Spectre v2. This one's probably harmless, but better safe than sorry. Convert it to a retpoline. Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: Pavel Machek Signed-off-by: Josh Poimboeuf --- arch/x86/kernel/acpi/wakeup_64.S |