Re: [PATCH] x86/mce: Convert timers to use timer_setup()

2017-10-05 Thread Borislav Petkov
On Wed, Oct 04, 2017 at 05:54:25PM -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. Adjust sanity-check WARN to make sure > the

[PATCH] x86/mce: Convert timers to use timer_setup()

2017-10-04 Thread Kees Cook
In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() to pass the timer pointer explicitly. Adjust sanity-check WARN to make sure the triggering timer matches the current CPU timer. Cc: Tony Luck Cc: