aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm
AgeCommit message (Expand)AuthorFilesLines
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
2020-07-02tpm_tis_spi: Don't send anything during flow controlDouglas Anderson1-5/+4
2020-07-02tpm: Fix TIS locality timeout problemsJames Bottomley1-10/+9
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada2-18/+18
2020-05-22tpm: eventlog: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-7/+5
2020-05-22tpm/tpm_ftpm_tee: Use UUID API for exporting the UUIDAndy Shevchenko1-1/+1
2020-04-21tpm/tpm_tis: Free IRQ if probing failsJarkko Sakkinen1-1/+7
2020-04-21tpm: fix wrong return value in tpm_pcr_extendTianjia Zhang1-1/+1
2020-04-21tpm: ibmvtpm: retry on H_CLOSED in tpm_ibmvtpm_send()George Wilson1-63/+73
2020-04-21tpm: Export tpm2_get_cc_attrs_tbl for ibmvtpm driver as moduleStefan Berger1-0/+1
2020-04-05sysfs: remove redundant __compat_only_sysfs_link_entry_to_kobj fnLinus Torvalds1-4/+4
2020-03-15tpm: ibmvtpm: Add support for TPM2Stefan Berger3-1/+10
2020-03-15tpm: ibmvtpm: Wait for buffer to be set before proceedingStefan Berger2-0/+10
2020-03-13tpm: of: Handle IBM,vtpm20 case when getting log parametersStefan Berger1-1/+2
2020-03-13tpm: tpm_tis_spi_cr50: use new structure for SPI transfer delaysSergiu Cuciurean1-1/+6
2020-03-13tpm_tis_spi: use new 'delay' structure for SPI transfer delaysAlexandru Ardelean1-1/+2
2020-03-13tpm: tpm2_bios_measurements_next should increase position indexVasily Averin1-1/+1
2020-03-13tpm: tpm1_bios_measurements_next should increase position indexVasily Averin1-1/+1
2020-03-13tpm: Don't make log failures fatalMatthew Garrett3-12/+6
2020-02-17tpm: Initialize crypto_id of allocated_banks to HASH_ALGO__LASTRoberto Sassu1-0/+2
2020-02-17tpm: Revert tpm_tis_spi_mod.ko to tpm_tis_spi.ko.Jarkko Sakkinen2-3/+5
2020-01-22tpm: Add tpm_version_major sysfs fileJerry Snitselaar1-7/+27
2020-01-08tpm: Handle negative priv->response_len in tpm_common_read()Tadeusz Struk2-2/+2
2020-01-06tpm: Revert "tpm_tis_core: Turn on the TPM before probing IRQ's"Stefan Berger1-2/+0
2020-01-06tpm: Revert "tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts"Stefan Berger1-1/+0
2020-01-06tpm: Revert "tpm_tis: reserve chip for duration of tpm_tis_core_init"Jarkko Sakkinen1-18/+17
2019-12-19tpm/tpm_ftpm_tee: add shutdown call backPavel Tatashin1-4/+18
2019-12-17tpm: fix invalid locking in NONBLOCKING modeTadeusz Struk1-0/+8
2019-12-17security: keys: trusted: fix lost handle flushJames Bottomley2-1/+1
2019-12-17tpm_tis: reserve chip for duration of tpm_tis_core_initJerry Snitselaar1-17/+18
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-11/+1
2019-11-12tpm: Switch to platform_get_irq_optional()Hans de Goede1-1/+1
2019-11-12tpm_crb: fix fTPM on AMD Zen+ CPUsIvan Lazeev1-33/+90
2019-11-12KEYS: trusted: Move TPM2 trusted keys codeSumit Garg3-374/+0
2019-11-12tpm: Move tpm_buf code to include/linux/Sumit Garg1-212/+0
2019-11-12tpm: use GFP_KERNEL instead of GFP_HIGHMEM for tpm_bufJames Bottomley1-6/+3
2019-11-12tpm: add check after commands attribs tab allocationTadeusz Struk1-0/+4
2019-11-12tpm: tpm_tis_spi: Drop THIS_MODULE usage from driver structStephen Boyd1-1/+0
2019-11-12tpm: tpm_tis_spi: Cleanup includesStephen Boyd1-9/+5
2019-11-12tpm: tpm_tis_spi: Support cr50 devicesAndrey Pronin5-32/+432
2019-11-12tpm: tpm_tis_spi: Introduce a flow control callbackStephen Boyd1-21/+41
2019-11-12tpm: Add a flag to indicate TPM power is managed by firmwareStephen Boyd2-1/+8
2019-11-12tpm_tis: override durations for STM tpm with firmware 1.2.8.28Jerry Snitselaar1-0/+79
2019-11-12tpm: provide a way to override the chip returned durationsJerry Snitselaar1-0/+15
2019-11-12tpm: Remove duplicate code from caps_show() in tpm-sysfs.cJarkko Sakkinen2-35/+33
2019-10-23compat_ioctl: move drivers to compat_ptr_ioctlArnd Bergmann1-11/+1
2019-09-25tpm: Wrap the buffer from the caller to tpm_buf in tpm_send()Jarkko Sakkinen1-7/+2
2019-09-25KEYS: trusted: correctly initialize digests and fix locking issueRoberto Sassu1-5/+9
2019-09-02tpm/tpm_ftpm_tee: A driver for firmware TPM running inside TEESasha Levin4-0/+396
2019-09-02tpm: Remove a deprecated comments about implicit sysfs lockingJarkko Sakkinen2-12/+2
2019-09-02tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interruptsStefan Berger1-0/+1
2019-09-02tpm_tis_core: Turn on the TPM before probing IRQ'sStefan Berger1-0/+2
2019-08-05tpm: tpm_ibm_vtpm: Fix unallocated banksNayna Jain4-17/+47
2019-08-05tpm: Fix null pointer dereference on chip register error pathMilan Broz1-7/+16
2019-06-24tpm: Don't duplicate events from the final event log in the TCG2 logMatthew Garrett1-1/+10
2019-06-24tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operationsVadim Sukhomlinov1-3/+3
2019-06-24tpm: Append the final event log to the TPM event logMatthew Garrett1-7/+43
2019-06-24tpm: Reserve the TPM final events tableMatthew Garrett1-1/+1
2019-06-24tpm: Abstract crypto agile event size calculationsMatthew Garrett1-46/+1
2019-06-24tpm: Actually fail on TPM errors during "get random"Kees Cook2-4/+10
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505Thomas Gleixner1-2/+1
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441Thomas Gleixner22-124/+22
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 399Thomas Gleixner1-12/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner6-35/+6
2019-05-21treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13Thomas Gleixner5-65/+5
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner2-0/+2
2019-05-07Merge tag 'pidfd-v5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-1/+0
2019-04-19Make anon_inodes unconditionalDavid Howells1-1/+0
2019-04-08tpm: Fix the type of the return value in calc_tpm2_event_size()Yue Haibing1-2/+2
2019-04-08tpm: fix an invalid condition in tpm_common_pollTadeusz Struk1-1/+8
2019-04-08tpm: turn on TPM on suspend for TPM 1.xJarkko Sakkinen1-8/+6
2019-02-13tpm/ppi: Enable submission of optional command parameter for PPI 1.3Stefan Berger1-6/+16
2019-02-13tpm/ppi: Possibly show command parameter if TPM PPI 1.3 is usedStefan Berger1-2/+29
2019-02-13tpm/ppi: Display up to 101 operations as define for version 1.3Stefan Berger1-1/+1
2019-02-13tpm/ppi: rename TPM_PPI_REVISION_ID to TPM_PPI_REVISION_ID_1Stefan Berger1-10/+11
2019-02-13tpm/ppi: pass function revision ID to tpm_eval_dsm()Stefan Berger1-8/+8
2019-02-13tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()Roberto Sassu3-27/+15
2019-02-13tpm: move tpm_chip definition to include/linux/tpm.hRoberto Sassu1-97/+4
2019-02-13tpm: retrieve digest size of unknown algorithms with PCR readRoberto Sassu4-29/+81
2019-02-13tpm: rename and export tpm2_digest and tpm2_algorithmsRoberto Sassu4-23/+12
2019-02-13tpm: dynamically allocate the allocated_banks arrayRoberto Sassu5-19/+44
2019-02-13tpm: remove @flags from tpm_transmit()Jarkko Sakkinen10-90/+73
2019-02-13tpm: take TPM chip power gating out of tpm_transmit()Jarkko Sakkinen6-37/+40
2019-02-13tpm: introduce tpm_chip_start() and tpm_chip_stop()Jarkko Sakkinen3-81/+116
2019-02-13tpm: remove TPM_TRANSMIT_UNLOCKED flagJarkko Sakkinen6-38/+17
2019-02-13tpm: use tpm_try_get_ops() in tpm-sysfs.c.Jarkko Sakkinen1-45/+78
2019-02-13tpm: remove @space from tpm_transmit()Jarkko Sakkinen8-53/+43
2019-02-13tpm: move TPM space code out of tpm_transmit()Jarkko Sakkinen3-33/+34
2019-02-13tpm: move tpm_validate_commmand() to tpm2-space.cJarkko Sakkinen3-64/+66
2019-02-13tpm: clean up tpm_try_transmit() error handling flowJarkko Sakkinen3-52/+45
2019-02-13tpm: encapsulate tpm_dev_transmit()Jarkko Sakkinen1-7/+18
2019-02-13tpm: access command header through struct in tpm_try_transmit()Jarkko Sakkinen1-2/+2
2019-02-13tpm: declare struct tpm_headerJarkko Sakkinen7-43/+34
2019-02-13tpm: print tpm2_commit_space() error inside tpm2_commit_space()Jarkko Sakkinen2-5/+6
2019-02-13tpm: return 0 from pcrs_show() when tpm1_pcr_read() failsJarkko Sakkinen1-7/+6
2019-02-13tpm: fix invalid return value in pubek_show()Jarkko Sakkinen1-3/+2
2019-02-13tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameterJarkko Sakkinen7-80/+64
2019-02-13tpm: don't return bool from update_timeoutsJerry Snitselaar2-8/+10
2019-02-13tpm: don't print error message in tpm_transmit_cmd when tpm still testingJerry Snitselaar1-1/+1
2019-02-13tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2Roberto Sassu1-6/+6
2019-02-13tpm: Fix off-by-one when reading binary_bios_measurementsJia Zhang1-4/+4
2019-02-13tpm: Simplify the measurements loopJia Zhang1-23/+14
2019-02-13tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incompleteJarkko Sakkinen1-0/+4
2019-02-13tpm: Unify the send callback behaviourJarkko Sakkinen12-16/+28
2019-02-08tpm: Fix some name collisions with drivers/char/tpm.hJarkko Sakkinen5-20/+19
2019-02-08tpm/tpm_crb: Avoid unaligned reads in crb_recv()Jarkko Sakkinen1-6/+16
2018-12-17tpm: add support for partial readsTadeusz Struk2-19/+38
2018-11-13tpm: tpm_ibmvtpm: fix kdoc warningsTomas Winkler1-4/+2
2018-11-13tpm: fix kdoc for tpm2_flush_context_cmd()Tomas Winkler1-4/+3
2018-11-13tpm: tpm_try_transmit() refactor error flow.Tomas Winkler1-7/+8
2018-11-13tpm: use u32 instead of int for PCR indexTomas Winkler5-15/+14
2018-11-13tpm1: reimplement tpm1_continue_selftest() using tpm_bufTomas Winkler2-20/+10
2018-11-13tpm1: reimplement SAVESTATE using tpm_bufTomas Winkler1-10/+12
2018-11-13tpm1: rename tpm1_pcr_read_dev to tpm1_pcr_read()Tomas Winkler4-5/+5
2018-11-13tpm1: implement tpm1_pcr_read_dev() using tpm_buf structureTomas Winkler2-33/+23
2018-11-13tpm: tpm1: rewrite tpm1_get_random() using tpm_buf structureTomas Winkler3-48/+49
2018-11-13tpm: tpm-space.c remove unneeded semicolonTomas Winkler1-1/+1
2018-11-13tpm: tpm-interface.c drop unused macrosTomas Winkler1-4/+0
2018-11-13tpm: add tpm_auto_startup() into tpm-interface.cTomas Winkler3-8/+19
2018-11-13tpm: factor out tpm_startup functionTomas Winkler4-45/+68
2018-11-13tpm: factor out tpm 1.x pm suspend flow into tpm1-cmd.cTomas Winkler3-50/+68
2018-11-13tpm: move tpm 1.x selftest code from tpm-interface.c tpm1-cmd.cTomas Winkler6-151/+150
2018-11-13tpm: factor out tpm1_get_random into tpm1-cmd.cTomas Winkler3-51/+63
2018-11-13tpm: move tpm_getcap to tpm1-cmd.cTomas Winkler5-81/+71
2018-11-13tpm: move tpm1_pcr_extend to tpm1-cmd.cTomas Winkler3-28/+23
2018-11-13tpm: factor out tpm_get_timeouts()Tomas Winkler4-123/+135
2018-11-13tpm: add tpm_calc_ordinal_duration() wrapperTomas Winkler8-17/+25
2018-11-13tpm: factor out tpm 1.x duration calculation to tpm1-cmd.cTomas Winkler8-288/+320
2018-11-13tpm: sort objects in the MakefileTomas Winkler1-3/+12
2018-11-13tpm2: add new tpm2 commands according to TCG 1.36Tomas Winkler2-164/+118
2018-11-13tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.xTomas Winkler1-4/+7
2018-10-05tpm: Restore functionality to xen vtpm driver.Dr. Greg Wettstein1-1/+1
2018-10-05tpm: add support for nonblocking operationTadeusz Struk6-45/+137
2018-10-05tpm: add ptr to the tpm_space struct to file_privTadeusz Struk4-25/+12
2018-10-05tpm: Make SECURITYFS a weak dependencyPeter Huewe1-1/+1
2018-10-05tpm: suppress transmit cmd error logs when TPM 1.2 is disabled/deactivatedJavier Martinez Canillas1-1/+2
2018-10-05tpm: fix response size validation in tpm_get_random()Jarkko Sakkinen2-2/+5
2018-07-28tpm: replace TPM_TRANSMIT_RAW with TPM_TRANSMIT_NESTEDJarkko Sakkinen4-25/+20
2018-07-28tpm: Convert tpm_find_get_ops() to use tpm_default_chip()Stefan Berger1-19/+13
2018-07-28tpm: Implement tpm_default_chip() to find a TPM chipStefan Berger1-0/+27
2018-07-28tpm: rename tpm_chip_find_get() to tpm_find_get_ops()Stefan Berger3-11/+14
2018-07-28tpm: Allow tpm_tis drivers to set hwrng quality.Louis Collard2-0/+3
2018-07-28tpm: Return the actual size when receiving an unsupported commandRicardo Schwarzmeier1-1/+1
2018-07-28tpm: separate cmd_ready/go_idle from runtime_pmTomas Winkler4-92/+88
2018-07-28tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)Peter Rosin1-4/+4
2018-07-28tpm_tis_spi: Pass the SPI IRQ down to the driverLinus Walleij1-1/+8
2018-07-28tpm: migrate tpm2_get_random() to use struct tpm_bufJarkko Sakkinen2-70/+51
2018-07-28tpm: migrate tpm2_get_tpm_pt() to use struct tpm_bufJarkko Sakkinen1-42/+27
2018-07-28tpm: migrate tpm2_probe() to use struct tpm_bufJarkko Sakkinen1-17/+23
2018-07-28tpm: migrate tpm2_shutdown() to use struct tpm_bufJarkko Sakkinen1-32/+15
2018-06-12treewide: devm_kzalloc() -> devm_kcalloc()Kees Cook1-1/+1
2018-05-30tpm: fix race condition in tpm_common_write()Tadeusz Struk2-23/+19
2018-05-18tpm: reduce polling time to usecs for even finer granularityNayna Jain2-3/+6
2018-05-14tpm: replace kmalloc() + memcpy() with kmemdup()Ji-Hun Kim1-2/+1
2018-05-14tpm: replace kmalloc() + memcpy() with kmemdup()Ji-Hun Kim1-3/+1
2018-05-14tpm: fix use after free in tpm2_load_context()Tadeusz Struk1-1/+2
2018-05-14tpm: reduce poll sleep time in tpm_transmit()Nayna Jain3-10/+5
2018-05-14tpm_tis: verify locality released before returning from release_localityJerry Snitselaar1-1/+46
2018-05-10tpm: tpm_crb: relinquish locality on error path.Winkler, Tomas1-3/+7
2018-05-09tpm/st33zp24: Fix spelling mistake in macro ST33ZP24_TISREGISTER_UKNOWNColin Ian King1-2/+2
2018-05-09tpm: Move eventlog declarations to its own headerThiebaud Weksteen8-30/+41
2018-05-09tpm: Move shared eventlog functions to common.cThiebaud Weksteen4-184/+214
2018-05-09tpm: Move eventlog files to a subdirectoryThiebaud Weksteen6-9/+9
2018-05-09tpm: Add explicit endianness castThiebaud Weksteen1-2/+2
2018-05-09tpm: st33zp24: remove redundant null check on chipColin Ian King1-2/+0
2018-05-09tpm: move the delay_msec increment after sleep in tpm_transmit()Nayna Jain1-1/+2
2018-04-07Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmor...Linus Torvalds5-120/+249
2018-04-05kernel.h: Retain constant expression output for max()/min()Kees Cook1-4/+4
2018-03-23tpm: fix intermittent failure with self testsJames Bottomley3-40/+31
2018-03-23tpm: add retry logicJames Bottomley2-15/+61
2018-03-23tpm: self test failure should not cause suspend to failChris Chiu1-0/+4
2018-03-23tpm2: add longer timeouts for creation commands.Tomas Winkler3-13/+26
2018-03-23tpm_crb: use __le64 annotated variable for response buffer addressTomas Winkler1-2/+3
2018-03-23tpm: fix buffer type in tpm_transmit_cmdWinkler, Tomas2-5/+5
2018-03-23tpm: tpm-interface: fix tpm_transmit/_cmd kdocWinkler, Tomas1-2/+4
2018-03-23tpm: cmd_ready command can be issued only after granting localityTomas Winkler3-47/+119
2018-02-26tpm: fix potential buffer overruns caused by bit glitches on the busJeremy Boone2-0/+8
2018-02-26tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the busJeremy Boone1-2/+2
2018-02-26tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the...Jeremy Boone1-2/+3
2018-02-26tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the busJeremy Boone1-2/+6
2018-02-26tpm_tis: fix potential buffer overruns caused by bit glitches on the busJeremy Boone1-2/+3