lkml.org 
[lkml]   [2016]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] efi/capsule: Make efi_capsule_pending() lockless
On Wed, 04 May, at 11:30:31AM, Borislav Petkov wrote:
>
> Hmmm, so panic() does bust_spinlocks() and efi_capsule_pending() could
> look at oops_in_progress which is set by bust_spinlocks() and that would
> probably solve the panic case but maybe the normal reboot case would
> still hang...

But emergency_restart() is called after bust_spinlocks(0) which can
reset oops_in_progress, so can't even use that to solve the panic
case.

\
 
 \ /
  Last update: 2016-05-04 14:01    [W:0.094 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site