Skip to content

TPM: Locking update

Rajiv Andrade lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5TPM: update char dev BKL pushdowndrivers/char/tpm/tpm.c+4 -40 replies
2/5TPM: num_opens to is_open variable changedrivers/char/tpm/tpm.c drivers/char/tpm/tpm.h+4 -50 replies
3/5TPM rcu lockingdrivers/char/tpm/tpm.c+21 -361 reply
3/5TPM: rcu lockingdrivers/char/tpm/tpm.c+24 -373 replies
4/5TPM: addition of pnp_remove()drivers/char/tpm/tpm.c drivers/char/tpm/tpm.h drivers/char/tpm/tpm_tis.c+30 -73 replies
5/5TPM: Fixed tpm_release() timingdrivers/char/tpm/tpm.c+1 -10 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchSerge Hallyn
1/5
2/5
3/5A-b A-b
3/5A-b A-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] TPM: Locking update

1) Removes unnecessary BKL from tpm.c
2) Changes the num_opens variable name to is_open since it's a binary state
3) Implements the use of RCU to protect tpm_chip_list
4) Insert .remove function in tis_pnp_driver structure
5) Puts the timer deletion before the flushing of unfinished jobs

TPM: update char dev BKL pushdown
TPM: num_opens to is_open variable change
TPM: rcu locking
TPM: pnp remove
TPM: tpm_release() timing

 drivers/char/tpm/tpm.c     |   92 ++++++++++++++++++++-----------------------
 drivers/char/tpm/tpm.h     |    3 +-
 drivers/char/tpm/tpm_tis.c |   14 ++++++-
 3 files changed, 58 insertions(+), 51 deletions(-)