lkml.org 
[lkml]   [2020]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] x86/mce/therm_throt: Fix the access of uninitialized therm_work
Date


> -----Original Message-----
> From: Boris Petkov <bp@alien8.de>
> Sent: Monday, January 6, 2020 6:01 PM
> To: Liu, Chuansheng <chuansheng.liu@intel.com>
> Cc: linux-kernel@vger.kernel.org; Luck, Tony <tony.luck@intel.com>;
> tglx@linutronix.de; mingo@redhat.com; hpa@zytor.com
> Subject: RE: [PATCH] x86/mce/therm_throt: Fix the access of uninitialized
> therm_work
>
> On January 6, 2020 10:22:06 AM GMT+01:00, "Liu, Chuansheng"
> <chuansheng.liu@intel.com> wrote:
> >I traced there is about 2s gap between unmask interrupt and workqueue
> >Initialization.
>
> And that is a problem because?
>
> You setup workqueue etc and *then* unmask the irq.
>
Some previous experience shows:
If there is critical thermal alert, we still can take action in kernel side in this
2s, even though the workqueue is not ready, but interrupt handler can work
well.


\
 
 \ /
  Last update: 2020-01-06 11:11    [W:0.057 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site