Re: [RFC v4 2/8] platform/x86: intel_pmc_ipc: Use spin_lock to protect GCR updates

2017-10-07 Thread Kuppuswamy, Sathyanarayanan
Hi, On 10/7/2017 9:13 AM, Andy Shevchenko wrote: On Sat, Oct 7, 2017 at 5:33 AM, wrote: From: Kuppuswamy Sathyanarayanan Currently, update_no_reboot_bit() function implemented in this driver uses mutex_lock() to protect its register updates. But this function is called with in atomic contex

Re: [RFC v4 2/8] platform/x86: intel_pmc_ipc: Use spin_lock to protect GCR updates

2017-10-07 Thread Andy Shevchenko
On Sat, Oct 7, 2017 at 5:33 AM, wrote: > From: Kuppuswamy Sathyanarayanan > > Currently, update_no_reboot_bit() function implemented in this driver > uses mutex_lock() to protect its register updates. But this function is > called with in atomic context in iTCO_wdt_start() and iTCO_wdt_stop() > f