tpm: Detach page allocation from tpm_buf
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 13 repliesIn review
- v2 posting 2/21 patch 1 replySuperseded
- v2 posting 1/21 patch 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 3 replies | Superseded |
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tpm: Use GFP_KERNEL for allocating struct tpm_bufdrivers/ | +1 | 7 replies | |
| 2/2 | tpm: Detach page allocation from tpm_bufdrivers/ drivers/ drivers/ +3 more | +333 | 6 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Jerry Snitselaar | Jarkko Sakkinen |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] tpm: Detach page allocation from tpm_buf
As has been seen recently, binding the buffer allocation and tpm_buf together is sometimes far from optimal. The buffer might come from the caller namely when tpm_send() is used by another subsystem. In addition we can stability in call sites w/o rollback (e.g. power events)>
Take allocation out of the tpm_buf framework and make it purely a wrapper for the data buffer.
Cc Mimi Zohar <[email protected]>
Cc Jerry Snitselaar <[email protected]>
Cc James Bottomley <[email protected]>
Cc Sumit Garg <[email protected]>
Cc Stefan Berger <[email protected]>
Jarkko Sakkinen (2):
tpm: Use GFP_KERNEL for allocating struct tpm_buf
tpm: Detach page allocation from tpm_buf
drivers/char/tpm/tpm-sysfs.c | 19 ++- drivers/char/tpm/tpm.h | 40 ++--- drivers/char/tpm/tpm1-cmd.c | 114 +++++++++---- drivers/char/tpm/tpm2-cmd.c | 265 +++++++++++++++++++----------- drivers/char/tpm/tpm2-space.c | 64 +++++--- drivers/char/tpm/tpm_vtpm_proxy.c | 24 +-- 6 files changed, 333 insertions(+), 193 deletions(-)
Signature · 1 line
2.20.1