Re: [tip:x86/urgent] x86/speculation: Prevent deadlock on ssb_state::lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 15 Apr 2019, Sasha Levin wrote:
> [This is an automated email]
> 
> This commit has been processed because it contains a "Fixes:" tag,
> fixing commit: 1f50ddb4f418 x86/speculation: Handle HT correctly on AMD.
> 
> The bot has tested the following trees: v5.0.7, v4.19.34, v4.14.111, v4.9.168, v4.4.178.
> 
> v5.0.7: Build OK!
> v4.19.34: Build OK!
> v4.14.111: Build failed! Errors:
>     arch/x86/kernel/process.c:417:2: error: implicit declaration of function ???lockdep_assert_irqs_disabled???; did you mean ???lockdep_assert_cpus_held???? [-Werror=implicit-function-declaration]
>

Simply zap that line.

> v4.9.168: Failed to apply! Possible dependencies:
>     01daf56875ee ("x86/speculation: Reorganize speculation control MSRs update")
>     26c4d75b2340 ("x86/speculation: Rename SSBD update functions")
>     5bfbe3ad5840 ("x86/speculation: Prepare for per task indirect branch speculation control")
>

So this lacks all the IBPB goodies.

> v4.4.178: Failed to apply! Possible dependencies:
>     01daf56875ee ("x86/speculation: Reorganize speculation control MSRs update")
>     26c4d75b2340 ("x86/speculation: Rename SSBD update functions")
>     5bfbe3ad5840 ("x86/speculation: Prepare for per task indirect branch speculation control")
>     cc69b3498921 ("x86/bugs: Unify x86_spec_ctrl_{set_guest,restore_host}")

Ditto.

> How should we proceed with this patch?

4.14. is easy. For the dead kernels you need to talk to the kernel
necrophilia cult members. :)

Thanks,

	tglx



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux