Kuppuswamy Sathyanarayanan
6687aeb9cd
platform/x86: intel_pmc_ipc: Use spin_lock to protect GCR updates
...
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()
functions in iTCO_wdt.c driver, which in turn causes "sleeping into
atomic context" issue. This patch fixes this issue by replacing the
mutex_lock() with spin_lock() to protect the GCR read/write/update APIs.
Fixes: 9d855d4 ("platform/x86: intel_pmc_ipc: Fix iTCO_wdt GCS memory mapping failure")
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kupuswamy@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2017-10-23 20:16:36 +03:00
..
2017-06-20 20:23:17 +03:00
2017-06-21 14:12:46 -07:00
2017-07-25 20:54:03 +03:00
2014-10-20 16:21:27 +02:00
2017-03-30 22:42:30 +02:00
2017-03-14 22:58:02 -07:00
2017-04-28 21:52:24 +03:00
2017-02-24 23:48:48 -08:00
2017-08-13 15:55:05 +03:00
2017-04-28 21:52:24 +03:00
2015-02-07 12:12:00 -08:00
2017-09-14 11:59:30 +02:00
2017-06-20 20:24:56 +03:00
2017-06-13 11:00:21 -07:00
2015-06-10 22:04:11 -07:00
2017-04-13 10:12:19 -07:00
2017-04-13 10:12:19 -07:00
2016-09-27 21:15:23 -04:00
2017-03-14 22:58:04 -07:00
2017-06-28 09:01:36 -07:00
2017-08-18 17:06:32 -07:00
2017-06-30 20:13:01 -07:00
2016-04-09 03:12:58 +02:00
2017-09-27 00:04:43 -07:00
2015-03-06 17:18:16 -08:00
2017-09-14 11:59:30 +02:00
2017-02-03 14:04:53 +02:00
2017-04-28 21:51:25 +03:00
2017-08-13 15:26:54 +03:00
2017-09-14 11:59:30 +02:00
2017-08-14 23:27:12 +03:00
2017-06-19 15:45:30 +01:00
2017-05-31 13:21:00 +03:00
2017-06-15 00:55:44 +02:00
2017-03-02 08:42:27 +01:00
2010-12-23 09:51:36 +00:00
2017-06-21 14:13:10 -07:00
2017-08-13 15:27:10 +03:00
2017-02-03 14:04:53 +02:00
2017-09-14 11:59:30 +02:00
2017-08-13 16:01:22 +03:00
2017-08-13 16:01:22 +03:00
2017-10-23 20:16:36 +03:00
2016-04-19 13:51:41 -07:00
2017-08-13 15:27:10 +03:00
2016-01-30 09:40:35 -08:00
2016-05-05 13:58:55 -07:00
2017-07-25 20:54:03 +03:00
2017-07-25 20:54:04 +03:00
2017-02-24 23:48:54 -08:00
2017-09-08 16:04:50 -07:00
2014-09-17 13:55:54 -07:00
2016-12-13 09:29:01 -08:00
2017-08-18 16:23:15 -07:00
2017-07-20 16:57:51 -07:00
2017-07-06 15:33:27 -07:00
2017-09-14 11:59:30 +02:00
2016-10-23 07:52:57 -07:00
2017-09-14 11:59:30 +02:00
2017-07-25 09:56:38 -07:00
2017-08-13 15:55:05 +03:00
2017-07-11 09:22:53 -07:00
2017-08-13 15:55:06 +03:00
2017-01-26 16:21:59 -08:00
2015-06-07 21:30:12 -07:00
2017-09-14 11:59:30 +02:00
2017-09-14 11:59:30 +02:00
2017-07-12 13:57:42 -07:00
2017-09-14 11:59:30 +02:00
2017-03-16 21:52:12 +01:00
2017-01-21 01:43:42 +02:00
2016-05-27 11:47:53 -07:00
2016-01-19 17:35:47 -08:00
2017-08-18 15:57:24 -07:00
2017-05-15 16:15:50 -07:00
2017-07-11 09:22:55 -07:00
2016-09-23 16:21:06 -07:00
2017-06-28 09:01:37 -07:00
2017-09-14 11:59:30 +02:00
2017-06-13 11:00:18 -07:00
2017-08-18 15:10:40 +03:00
2014-10-20 16:21:27 +02:00
2013-12-07 01:03:14 +01:00