]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel-wmi-thunderbolt: Add dynamic debugging
authorMario Limonciello <mario.limonciello@dell.com>
Wed, 26 Sep 2018 16:10:58 +0000 (11:10 -0500)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 27 Sep 2018 09:18:20 +0000 (12:18 +0300)
commitb9a4322e941770e243f4fc28ec3c08fac50396a9
tree20dcc5af05261bff61a125f10e365c4379fff223
parentfec7cccb03b691c9c14743ba68f8a688a524a927
platform/x86: intel-wmi-thunderbolt: Add dynamic debugging

Some users have been reporting issues with thunderbolt being turned off
before fully initialized. This is suspected to be caused by userspace
turning off the Thunderbolt controller using intel-wmi-thunderbolt
prematurely.

Userspace has already made some mitigations for this situation:
https://github.com/hughsie/fwupd/commit/ef6f1d76983c9b66
https://github.com/hughsie/fwupd/commit/c07ce5b4889a5384

To allow easier debugging of this situation add output that can be turned
on with dynamic debugging to better root cause this problem.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=199631
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=201227
Suggested-by: Mika Westerberg <mika.westerberg@intel.com>
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/platform/x86/intel-wmi-thunderbolt.c