Skip to content
Commit 3f0d3d01 authored by Matthew Garrett's avatar Matthew Garrett Committed by James Morris
Browse files

tpm: Autodetect itpm devices



Some Lenovos have TPMs that require a quirk to function correctly. This can
be autodetected by checking whether the device has a _HID of INTC0102. This
is an invalid PNPid, and as such is discarded by the pnp layer - however
it's still present in the ACPI code, so we can pull it out that way. This
means that the quirk won't be automatically applied on non-ACPI systems,
but without ACPI we don't have any way to identify the chip anyway so I
don't think that's a great concern.

Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
Acked-by: default avatarRajiv Andrade <srajiv@linux.vnet.ibm.com>
Tested-by: default avatarJiri Kosina <jkosina@suse.cz>
Tested-by: default avatarAndy Isaacson <adi@hexapodia.org>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 72083646
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment