]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tpm: tpm_tis: store entire did_vid
authorJim Broadus <jbroadus@gmail.com>
Tue, 26 May 2026 23:22:43 +0000 (16:22 -0700)
committerJarkko Sakkinen <jarkko@kernel.org>
Sun, 21 Jun 2026 01:25:28 +0000 (04:25 +0300)
commitc4d52950536bb421eaf11d83c0ba8612c443bb20
tree17c8db85ad94bf597139f66e92fad8e6c5eb7903
parentddd33806b8911fa2ef849e8bbbab1e3fcb26adc0
tpm: tpm_tis: store entire did_vid

The entire 32 bit did_vid is read from the device, but only the 16 bit
vendor id portion was stored in the tpm_tis_data structure. Storing the
entire value allows the device id to be used to handle quirks. Printing
the vid and did in the error case also helps identify problem devices.

Signed-off-by: Jim Broadus <jbroadus@gmail.com>
Link: https://lore.kernel.org/r/20260526232245.5409-2-jbroadus@gmail.com
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm_tis_core.c
drivers/char/tpm/tpm_tis_core.h