Re: [PATCH] tpm: Autodetect itpm devices

From: Rajiv Andrade
Date: Tue Oct 26 2010 - 09:15:51 EST


On 21/10/10 19:42, Matthew Garrett wrote:
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: Matthew Garrett<mjg@xxxxxxxxxx>
Thanks Matthew,

I'd be glad to remove the module option after this patch, but the non-ACPI case wouldn't
remain covered indeed.

Acked-by: Rajiv Andrade <srajiv@xxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/