Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752262AbdLKThw (ORCPT ); Mon, 11 Dec 2017 14:37:52 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:62385 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725AbdLKTht (ORCPT ); Mon, 11 Dec 2017 14:37:49 -0500 To: linux-integrity@vger.kernel.org, azhar.shaikh@intel.com, jarkko.sakkinen@linux.intel.com Cc: linux-kernel@vger.kernel.org, james.l.morris@oracle.com From: James Ettle Subject: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system Message-ID: <57d96314-cc9c-0656-186e-4eb77a132b70@ettle.org.uk> Date: Mon, 11 Dec 2017 19:37:29 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:zraH3r4WWp4+Wm1AEYziyXDRop57FRbLTChnebwdvaA+xLocrfN 4V8lv8u1SjBsTGzL7Jl775vRAFZyyLMcfTWDU9tsUOaNv45UxVGqNOjloSEeXgC9T/F3Qx9 65cahizZwKQIkFqRu7Ukoi/JPLG+5YrJNQz0SXGrRneffGmnjRdvczJ4BpJUaiB3J3R+T+U +i39i2zyhfGGYKDk3r/Yg== X-UI-Out-Filterresults: notjunk:1;V01:K0:wFEdJOdsQT4=:fF26S3r4igadpF6ZKdGXn2 BEhMGTehrBU9m/cHJqcaLtP+ymq7AqLfpxPt3m+6/axA6KzvkTrEXl9Nh+mZc59fYmcSpi2Fh +1BQ3CBN/MLZlSDeglVNqvEZTLJy157GJCRoZYS43oNy6/CCsEbSujT6gmYzy9frSGxqqyeB1 bN5ObHxogi4VCuAnzT4wCjYQUxk5WU+qrb6HvnK5xgjBXXNY9lW3R/0/5mQtaf9CkgmN148yF RrMqjNs4Ulh/ryldPr5TthrGsvcqfZMP5MghT4TTOr6a7iQQaCmBbjo/N+oIhipT3gCvtUkKA inO9MQ9SGR+ihKgYYsD1ttAmZHtLX0YJd89iAzUYy2q12NUONCkUCW5KBq5oBFDNTVYyOVJCU Utq72GRAZ6umdgt/RGIK7Z2tPGE5DwQoxzM4QY0NzjUquU4aIXVsl+6qtGmHUFLzVDQ3FI42x bexg93ghLKFO0n4wXYB05Xt3jeM/urC5+htZz9s+69vrVdQDMdomfUao/lLKwHbo0YnUzt1Ru oYUnp/j9XWNcKtH7aZNM9RuOfzQ24v3pb3l+ROvceuOhW/TpcKLzuMe6qt266rx0wb3sNNU4i lxfbtGSPjtqyHkWV7x7LU+2iBXSNf1X1XAf4QMm0zvol9+XWexTMKThqpRVfY1m4FlmCDCgIq rVEZbGuqTA9lQO5/IKG7ufgY23JQxxw50iFb6yURjvR5Y8u+pu0bfdFqhawl3pSwK72HcdDuI v/y319pw3EhJg+263ozfXPAdD+pdqIPvrLYVk56AcsPqCvchwQpJ3gkPL9o= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1437 Lines: 33 Hello, [First: Apologies if cross-posting from Kernel.org BZ is bad form; my distro BZ advised I post this to your mailing list as well.] Situation: enabling TPM on a Clevo W510LU with an Intel N3160 CPU breaks PS/2 keyboard and mouse. They just don't respond until after a suspend/resume cycle, and after that they later stop after a while. I have confirmed this by blacklisting tpm modules. I noticed this first with kernel 4.13, and have bisected it down to: 5e572cab92f0bb56ca1e6e5ee4d807663a7ccbad is the first bad commit commit 5e572cab92f0bb56ca1e6e5ee4d807663a7ccbad Author: Azhar Shaikh Date: Sun Jun 18 19:17:59 2017 -0700 tpm: Enable CLKRUN protocol for Braswell systems To overcome a hardware limitation on Intel Braswell systems, disable CLKRUN protocol during TPM transactions and re-enable once the transaction is completed. Signed-off-by: Azhar Shaikh Reviewed-by: Jarkko Sakkinen Tested-by: Jarkko Sakkinen Signed-off-by: Jarkko Sakkinen Signed-off-by: James Morris :040000 040000 5437c91886cb62c497255f2c60dbedd7268ab50d 1863a1738ded35a817aad52f9f2b451bd43623d7 M drivers Currently in Kernel.org bugzilla 197287. Please let me know if you need any further info. Many thanks, James.