aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm
AgeCommit message (Expand)AuthorFilesLines
2024-03-14Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/...Linus Torvalds10-10/+10
2024-03-13Merge tag 'tpmdd-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/j...Linus Torvalds5-5/+8
2024-03-12tpm: tis_i2c: Add compatible string nuvoton,npct75xLukas Wunner1-0/+2
2024-03-12tpm_tis: Add compatible string atmel,at97sc3204Lukas Wunner1-0/+1
2024-03-12tpm_tis_spi: Add compatible string atmel,attpm20pLukas Wunner1-0/+1
2024-03-12tpm,tpm_tis: Avoid warning splat at shutdownLino Sanfilippo1-2/+1
2024-03-12tpm/tpm_ftpm_tee: fix all kernel-doc warningsRandy Dunlap1-3/+3
2024-03-06Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>"Ahelenia Ziemiańska10-10/+10
2024-02-08tpm_tis_spi: Follow renaming of SPI "master" to "controller"Uwe Kleine-König1-2/+2
2024-01-09tpm: cr50: fix kernel-doc warning and spellingRandy Dunlap1-2/+1
2024-01-09tpm: nuvoton: Use i2c_get_match_data()Rob Herring1-11/+4
2023-09-12tpm: Fix typo in tpmrm class definitionJustin M. Forbes1-1/+1
2023-09-04tpm: Enable hwrng only for Pluton on AMD CPUsJarkko Sakkinen1-25/+8
2023-09-04tpm_crb: Fix an error handling path in crb_acpi_add()Christophe JAILLET1-2/+3
2023-09-01Merge tag 'driver-core-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds4-18/+20
2023-08-30Merge tag 'devicetree-header-cleanups-for-6.6' of git://git.kernel.org/pub/sc...Linus Torvalds4-4/+1
2023-08-28tpm: Explicitly include correct DT includesRob Herring4-4/+1
2023-08-17tpm/tpm_tis_synquacer: Use module_platform_driver macro to simplify the codeLi Zetao1-17/+1
2023-08-17tpm: remove redundant variable lenColin Ian King1-2/+1
2023-08-17tpm_tis: Resend command to recover from data transfer errorsAlexander Steffen1-3/+10
2023-08-17tpm_tis: Use responseRetry to recover from data transfer errorsAlexander Steffen2-8/+30
2023-08-17tpm_tis: Move CRC check to generic send routineAlexander Steffen1-6/+6
2023-08-17tpm_tis_spi: Add hardware wait pollingKrishna Yarlagadda1-2/+89
2023-08-17tpm_tis: Revert "tpm_tis: Disable interrupts on ThinkPad T490s"Jarkko Sakkinen1-91/+2
2023-08-12tpm_tis: Opt-in interruptsJarkko Sakkinen1-1/+1
2023-08-12tpm: tpm_tis: Fix UPX-i11 DMI_MATCH conditionPeter Ujfalusi1-1/+1
2023-08-09tpm: Add a helper for checking hwrng enabledMario Limonciello1-5/+14
2023-08-07tpm/tpm_tis: Disable interrupts for Lenovo P620 devicesJonathan McDowell1-0/+8
2023-08-07tpm: Disable RNG for all AMD fTPMsMario Limonciello2-66/+32
2023-08-07tpm/tpm_tis: Disable interrupts for TUXEDO InfinityBook S 15/17 Gen7Takashi Iwai1-0/+8
2023-08-05tpm: make all 'class' structures constIvan Orlov4-18/+20
2023-07-28tpm_tis: Explicitly check for error codeAlexander Steffen1-2/+7
2023-07-28tpm: Switch i2c drivers back to use .probe()Uwe Kleine-König6-6/+6
2023-07-17tpm,tpm_tis: Disable interrupts after 1000 unhandled IRQsLino Sanfilippo2-15/+92
2023-07-17tpm/tpm_tis: Disable interrupts for Lenovo L590 devicesFlorian Bezdeka1-0/+8
2023-07-17tpm: Do not remap from ACPI resources again for Pluton TPMValentin David1-8/+11
2023-07-17tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 13th genChristian Hesse1-0/+8
2023-07-17tpm/tpm_tis: Disable interrupts for Framework Laptop Intel 12th genChristian Hesse1-0/+8
2023-07-17tpm: return false from tpm_amd_is_rng_defective on non-x86 platformsJerry Snitselaar1-0/+7
2023-07-17tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytesAlexander Sverdlin1-7/+15
2023-07-17tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytesAlexander Sverdlin1-15/+22
2023-07-17tpm_tis_spi: Release chip select when flow control failsPeijie Shao1-0/+8
2023-07-17tpm: tpm_tis: Disable interrupts *only* for AEON UPX-i11Peter Ujfalusi1-0/+1
2023-07-17tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creationJarkko Sakkinen1-23/+7
2023-06-02tpm, tpm_tis: correct tpm_tis_flags enumeration valuesLino Sanfilippo1-4/+4
2023-05-24tpm: tpm_tis: Disable interrupts for AEON UPX-i11Peter Ujfalusi1-0/+7
2023-05-16tpm/tpm_tis: Disable interrupts for more Lenovo devicesJerry Snitselaar1-0/+16
2023-05-16tpm: Prevent hwrng from activating during resumeJarkko Sakkinen2-0/+14
2023-05-16tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resumeJarkko Sakkinen1-24/+19
2023-05-01Merge tag 'tpmdd-v6.4-rc1-fix-v2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds3-5/+21
2023-04-28tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM driversJarkko Sakkinen3-5/+21
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-4/+6
2023-04-25Merge tag 'acpi-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-1/+1
2023-04-24tpm: Add !tpm_amd_is_rng_defective() to the hwrng_unregister() call siteJarkko Sakkinen1-1/+2
2023-04-24tpm_tis: fix stall after iowrite*()sHaris Okanovic1-2/+41
2023-04-24tpm/tpm_tis_synquacer: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-04-24tpm/tpm_tis: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-04-24tpm/tpm_ftpm_tee: Convert to platform remove callback returning voidUwe Kleine-König1-3/+3
2023-04-24tpm: tpm_tis_spi: Mark ACPI and OF related data as maybe unusedKrzysztof Kozlowski1-2/+2
2023-04-24tpm: st33zp24: Mark ACPI and OF related data as maybe unusedKrzysztof Kozlowski2-4/+4
2023-04-24tpm, tpm_tis: Enable interrupt testLino Sanfilippo1-0/+5
2023-04-24tpm, tpm_tis: startup chip before testing for interruptsLino Sanfilippo3-14/+30
2023-04-24tpm, tpm_tis: Claim locality when interrupts are reenabled on resumeLino Sanfilippo1-10/+9
2023-04-24tpm, tpm_tis: Claim locality in interrupt handlerLino Sanfilippo1-0/+2
2023-04-24tpm, tpm_tis: Request threaded interrupt handlerLino Sanfilippo1-2/+5
2023-04-24tpm, tpm: Implement usage counter for localityLino Sanfilippo2-18/+47
2023-04-24tpm, tpm_tis: do not check for the active locality in interrupt handlerLino Sanfilippo1-5/+2
2023-04-24tpm, tpm_tis: Move interrupt mask checks into own functionLino Sanfilippo1-11/+18
2023-04-24tpm, tpm_tis: Only handle supported interruptsLino Sanfilippo2-48/+73
2023-04-24tpm, tpm_tis: Claim locality before writing interrupt registersLino Sanfilippo1-9/+11
2023-04-24tpm, tpm_tis: Do not skip reset of original interrupt vectorLino Sanfilippo1-18/+11
2023-04-24tpm, tpm_tis: Disable interrupts if tpm_tis_probe_irq() failedLino Sanfilippo1-11/+11
2023-04-24tpm, tpm_tis: Claim locality before writing TPM_INT_ENABLE registerLino Sanfilippo1-0/+4
2023-04-24tpm, tpm_tis: Avoid cache incoherency in test for interruptsLino Sanfilippo3-12/+13
2023-04-24tpm: remove unnecessary (void*) conversionsYu Zhe1-3/+3
2023-04-24tpm: cr50: i2c: use jiffies to wait for tpm ready irqMark Hasemeyer1-2/+1
2023-04-06tpm: atmel: Add explicit include for of.hRob Herring1-1/+1
2023-04-03Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman3-2/+137
2023-03-21tpm: Fix a possible dereference of ERR_PTR in tpm_init()Harshit Mogalapalli1-1/+2
2023-03-17tpm: fix up the tpm_class shutdown_pre pointer when createdGreg Kroah-Hartman3-2/+3
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman1-2/+2
2023-03-12tpm: disable hwrng for fTPM on some AMD designsMario Limonciello2-1/+132
2023-03-12tpm/eventlog: Don't abort tpm_read_log on faulty ACPI addressMorten Linderud1-1/+5
2023-02-13tpm: add vendor flag to command code validationJulien Gomes1-1/+3
2023-02-13tpm: Add reserved memory event logEddie James1-1/+31
2023-02-13tpm: Use managed allocation for bios event logEddie James4-10/+12
2023-02-13tpm: tis_i2c: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+2
2023-02-13tpm: tpm_i2c_nuvoton: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+3
2023-02-13tpm: tpm_i2c_infineon: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+2
2023-02-13tpm: tpm_i2c_atmel: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+2
2023-02-13tpm: st33zp24: Convert to i2c's .probe_new()Uwe Kleine-König1-3/+2
2023-02-13tpm_crb: Add support for CRB devices based on PlutonMatthew Garrett1-10/+90
2023-01-12Merge tag 'for-linus-6.2-rc4-tag' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+1
2023-01-06tpm: Allow system suspend to continue when TPM suspend failsJason A. Donenfeld1-1/+3
2022-12-15xen: make remove callback of xen driver void returnedDawei Li1-2/+1
2022-12-12Merge tag 'acpi-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-3/+1
2022-12-12Merge tag 'timers-core-2022-12-10' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+2
2022-12-12Merge branches 'acpi-scan', 'acpi-bus', 'acpi-tables' and 'acpi-sysfs'Rafael J. Wysocki1-3/+1
2022-12-08tpm: st33zp24: remove pointless checks on probeDmitry Torokhov2-13/+0
2022-12-08tpm/tpm_crb: Fix error message in __crb_relinquish_locality()Michael Kelley1-1/+1
2022-12-08tpm/tpm_ftpm_tee: Fix error handling in ftpm_mod_init()Yuan Can1-1/+7
2022-12-08tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leakHanjun Guo1-4/+5
2022-12-08tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leakHanjun Guo1-9/+20
2022-12-08tpm: acpi: Call acpi_put_table() to fix memory leakHanjun Guo1-3/+9
2022-12-08tpm: Add flag to use default cancellation policyEddie James3-8/+14
2022-12-08tpm: tis_i2c: Fix sanity check interrupt enable maskEddie James1-1/+1
2022-12-08tpm: Avoid function type cast of put_device()Ard Biesheuvel1-1/+6
2022-12-08tpm: st33zp24: switch to using gpiod APIDmitry Torokhov4-205/+39
2022-12-08tpm: st33zp24: drop support for platform dataDmitry Torokhov3-78/+10
2022-12-04char: tpm: Protect tpm_pm_suspend with locksJan Dabros1-2/+3
2022-11-24timers: Get rid of del_singleshot_timer_sync()Thomas Gleixner1-2/+2
2022-11-23ACPI: make remove callback of ACPI driver voidDawei Li1-3/+1
2022-10-10Merge tag 'tpmdd-next-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-10-05char: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-08-16i2c: Make remove callback return voidUwe Kleine-König6-16/+7
2022-08-03tpm: Add check for Failure mode for TPM2 modulesMårten Lindahl1-0/+6
2022-08-03tpm: fix platform_no_drv_owner.cocci warningYang Li1-1/+0
2022-08-03tpm: Add tpm_tis_i2c backend for tpm_tis_coreAlexander Steffen3-0/+404
2022-08-03tpm: Add tpm_tis_verify_crc to the tpm_tis_phy_ops protocol layerAlexander Steffen2-0/+24
2022-08-03tpm: Add upgrade/reduced mode support for TPM1.2 modulesStefan Mahnke-Hartmann2-1/+7
2022-05-24Merge tag 'tpmdd-next-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds10-169/+141
2022-05-23tpm: Add field upgrade mode support for Infineon TPM2 modulesStefan Mahnke-Hartmann1-1/+5
2022-05-23tpm: Fix buffer access in tpm2_get_tpm_pt()Stefan Mahnke-Hartmann1-1/+10
2022-05-23char: tpm: cr50_i2c: Suppress duplicated error message in .remove()Uwe Kleine-König1-2/+2
2022-05-23tpm: cr50: Add new device/vendor ID 0x504a6666Jes B. Klinke1-3/+4
2022-05-23tpm: Remove read16/read32/write32 calls from tpm_tis_phy_opsJohannes Holland6-161/+118
2022-05-23tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe()Xiu Jianfeng1-0/+1
2022-05-23tpm/tpm_ftpm_tee: Return true/false (not 1/0) from bool functionsHaowen Bai1-1/+1
2022-05-19xen/tpmfront: use xenbus_setup_ring() and xenbus_teardown_ring()Juergen Gross1-15/+3
2022-03-28Merge tag 'for-linus-5.18-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2022-03-21Merge tag 'bounds-fixes-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2022-03-21Merge tag 'spi-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/brooni...Linus Torvalds5-16/+6
2022-03-15xen/grant-table: remove readonly parameter from functionsJuergen Gross1-1/+1
2022-03-10tpm: use try_get_ops() in tpm-space.cJames Bottomley1-4/+4
2022-03-08tpm: fix reference counting for struct tpm_chipLino Sanfilippo3-38/+75
2022-03-08tpm: xen-tpmfront: Use struct_size() helperGustavo A. R. Silva1-4/+4
2022-03-08tpm: Fix error handling in async workTadeusz Struk1-1/+7
2022-02-27tpm: vtpm_proxy: Check length to avoid compiler warningKees Cook1-1/+1
2022-02-09spi: make remove callback a void functionUwe Kleine-König2-5/+2
2022-02-09tpm: st33zp24: Make st33zp24_remove() a void functionUwe Kleine-König4-11/+4
2022-01-09tpm: fix NPE on probe for missing devicePatrick Williams1-2/+2
2022-01-09tpm: fix potential NULL pointer access in tpm_del_char_deviceLino Sanfilippo1-5/+13
2022-01-09tpm: Add Upgrade/Reduced mode support for TPM2 modulesaxelj3-7/+21
2022-01-09char: tpm: cr50: Set TPM_FIRMWARE_POWER_MANAGED based on device propertyRob Barnes2-2/+30
2022-01-09tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'Christophe Jaillet1-1/+1
2022-01-09tpm: tpm_tis_spi_cr50: Add default RNG qualityAngeloGioacchino Del Regno1-0/+4
2022-01-09tpm/st33zp24: drop unneeded over-commentingSohaib Mohamed1-105/+17
2022-01-09tpm: add request_locality before write TPM_INT_ENABLEChen Jun1-0/+8
2021-10-26tpm_tis_spi: Add missing SPI IDMark Brown1-0/+1
2021-10-26tpm: fix Atmel TPM crash caused by too frequent queriesHao Wu2-8/+22
2021-10-26tpm: Check for integer overflow in tpm2_map_response_body()Dan Carpenter1-0/+3
2021-10-26tpm: tis: Kconfig: Add helper dependency on COMPILE_TESTCai Huoqing1-1/+1
2021-08-23tpm: ibmvtpm: Avoid error message when process gets signal while waitingStefan Berger2-12/+16
2021-08-23char: tpm: cr50_i2c: convert to new probe interfaceAdrian Ratiu1-10/+2
2021-08-23char: tpm: Kconfig: remove bad i2c cr50 selectAdrian Ratiu1-1/+0
2021-07-21tpm_ftpm_tee: Free and unregister TEE shared memory during kexecTyler Hicks1-4/+4
2021-06-23tpm: Replace WARN_ONCE() with dev_err_once() in tpm_tis_status()Jarkko Sakkinen2-8/+20
2021-06-23tpm_tis: Use DEFINE_RES_MEM() to simplify codeZhen Lei1-5/+1
2021-06-23tpm: fix some doc warnings in tpm1-cmd.cYang Yingliang1-2/+2
2021-06-23tpm_tis_spi: add missing SPI device ID entriesJavier Martinez Canillas1-0/+2
2021-06-23tpm: add longer timeout for TPM2_CC_VERIFY_SIGNATUREAmir Mizinski1-1/+1
2021-06-23char: tpm: move to use request_irq by IRQF_NO_AUTOEN flagTian Tao1-2/+2
2021-06-23tpm_tis_spi: set default probe function if device id not matchLiguang Zhang1-4/+8
2021-06-23tpm_crb: Use IOMEM_ERR_PTR when function returns iomemTian Tao1-1/+1
2021-05-12tpm: fix error return code in tpm2_get_cc_attrs_tbl()Zhen Lei1-0/+1
2021-05-12tpm, tpm_tis: Reserve locality in tpm_tis_resume()Jarkko Sakkinen1-2/+10
2021-05-12tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()Jarkko Sakkinen1-6/+4
2021-04-14char: tpm: fix error return code in tpm_cr50_i2c_tis_recv()Zhihao Cheng1-0/+1
2021-04-14tpm: vtpm_proxy: Avoid reading host log when using a virtual deviceStefan Berger1-0/+3
2021-04-14tpm: acpi: Check eventlog signature before using itStefan Berger1-1/+32
2021-04-14tpm: efi: Use local variable for calculating final log sizeStefan Berger1-8/+21
2021-03-07Merge tag 'powerpc-5.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-3/+1
2021-03-03tpm: Remove unintentional dump_stack() callJarkko Sakkinen1-2/+0
2021-03-02vio: make remove callback return voidUwe Kleine-König1-3/+1
2021-02-24tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()Lukasz Majczak1-3/+13
2021-02-24tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()Jarkko Sakkinen1-2/+12
2021-02-16KEYS: trusted: Reserve TPM for seal and unseal operationsJarkko Sakkinen1-4/+0
2021-02-16tpm/ppi: Constify static struct attribute_groupRikard Falkeborn2-1/+3
2021-02-16tpm: add sysfs exports for all banks of PCR registersJames Bottomley1-0/+179
2021-02-16tpm: Remove tpm_dev_wq_lockSebastian Andrzej Siewior1-1/+0
2021-02-16char: tpm: add i2c driver for cr50Duncan Laurie3-0/+802
2021-02-16tpm: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2021-02-16tpm_tis: Clean up locality releaseJames Bottomley1-46/+1
2021-02-16tpm_tis: Fix check_locality for correct locality acquisitionJames Bottomley1-1/+2
2020-11-06tpm: efi: Don't create binary_bios_measurements file for an empty logTyler Hicks1-0/+5
2020-11-06tpm_tis: Disable interrupts on ThinkPad T490sJerry Snitselaar1-2/+27
2020-10-02tpm_tis: Add a check for invalid statusJames Bottomley2-0/+12
2020-10-02tpm: use %*ph to print small bufferAndy Shevchenko1-21/+10
2020-10-02tpm: tis: add support for MMIO TPM on SynQuacerMasahisa Kojima3-0/+221
2020-08-03Merge tag 'arm-drivers-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-10/+60
2020-07-24tpm: Add support for event log pointer found in TPM2 ACPI tableStefan Berger1-21/+42
2020-07-24tpm: Unify the mismatching TPM space buffer sizesJarkko Sakkinen4-19/+23
2020-07-13Merge tag 'optee-bus-for-v5.9' of git://git.linaro.org/people/jens.wiklander/...Arnd Bergmann1-10/+60
2020-07-10tpm_ftpm_tee: register driver on TEE busMaxim Uvarov1-10/+60
2020-07-07Revert commit e918e570415c ("tpm_tis: Remove the HID IFX0102")Jarkko Sakkinen1-0/+8
2020-07-02tpm_tis: Remove the HID IFX0102Jarkko Sakkinen1-1/+0
2020-07-02tpm_tis_spi: Prefer async probeDouglas Anderson1-0/+1
2020-07-02tpm: ibmvtpm: Wait for ready buffer before probing for TPM2 attributesDavid Gibson1-7/+7
2020-07-02tpm/st33zp24: fix spelling mistake "drescription" -> "description"Binbin Zhou3-4/+4
2020-07-02tpm_tis: extra chip->ops check on error path in tpm_tis_core_initVasily Averin1-1/+1