tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Cleanup struct tpm_vendor_specific
@ 2016-03-23 20:17 Christophe Ricard
       [not found] ` <1458764240-24185-1-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Christophe Ricard @ 2016-03-23 20:17 UTC (permalink / raw)
  To: jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA
  Cc: jean-luc.blanc-qxv4g6HH51o, ashley-fm2HMyfA2y6tG0bUXCXiUA,
	tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	christophe-h.ricard-qxv4g6HH51o, benoit.houyere-qxv4g6HH51o

Hi Jarkko, Jason,

Please find in this serie a complete removal of tpm_vendor_specific structure.
It applies on top Jarkko current master branch:
tpm: drop the field 'time_expired' from struct tpm_chip beff92fd1051c234a374ee4a268b1338da7c1d3a

Overall, irq dedicated fields are seen as a dedicated set of chip properties managed by all the
drivers.

priv is a dedicated tpm driver specific data field allowing to store specific driver informations.
dev->driver_data is already set with a chip description.

Finaly, i have renamed tpm_vendor_specific to tpm_protocol_infos as the remaining data are common
to both crb and tis protocols.

Best Regards
Christophe

Christophe Ricard (5):
  tpm: drop 'iobase' from struct tpm_vendor_specific
  tpm: drop list from struct tpm_vendor_specific
  tpm: Move priv field from tpm_vendor_specific to tpm_chip
  tpm: Move irqs field from tpm_vendor_specific to tpm_chip structure
  tpm: Rename tpm_vendor_specific structure to tpm_protocol_infos

 drivers/char/tpm/st33zp24/st33zp24.c |  54 ++++-----
 drivers/char/tpm/tpm-interface.c     |  52 ++++----
 drivers/char/tpm/tpm-sysfs.c         |  20 ++--
 drivers/char/tpm/tpm.h               |  18 ++-
 drivers/char/tpm/tpm2-cmd.c          |   2 +-
 drivers/char/tpm/tpm_atmel.c         |  33 ++++--
 drivers/char/tpm/tpm_atmel.h         |   2 +-
 drivers/char/tpm/tpm_crb.c           |  12 +-
 drivers/char/tpm/tpm_i2c_atmel.c     |  22 ++--
 drivers/char/tpm/tpm_i2c_infineon.c  |  47 ++++----
 drivers/char/tpm/tpm_i2c_nuvoton.c   |  58 ++++-----
 drivers/char/tpm/tpm_nsc.c           |   4 +-
 drivers/char/tpm/tpm_tis.c           | 222 +++++++++++++++++++----------------
 drivers/char/tpm/xen-tpmfront.c      |  10 +-
 14 files changed, 287 insertions(+), 269 deletions(-)

-- 
2.5.0


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-03-29 16:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-23 20:17 [PATCH 0/5] Cleanup struct tpm_vendor_specific Christophe Ricard
     [not found] ` <1458764240-24185-1-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-03-23 20:17   ` [PATCH 1/5] tpm: drop 'iobase' from " Christophe Ricard
     [not found]     ` <1458764240-24185-2-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-03-23 22:58       ` Jason Gunthorpe
2016-03-24 14:06       ` Jarkko Sakkinen
2016-03-23 20:17   ` [PATCH 2/5] tpm: drop list " Christophe Ricard
     [not found]     ` <1458764240-24185-3-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-03-23 22:57       ` Jason Gunthorpe
2016-03-24 14:08       ` Jarkko Sakkinen
     [not found]         ` <20160324140835.GA21170-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-03-29 16:25           ` Jarkko Sakkinen
2016-03-23 20:17   ` [PATCH 3/5] tpm: Move priv field from tpm_vendor_specific to tpm_chip Christophe Ricard
     [not found]     ` <1458764240-24185-4-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-03-24 14:12       ` Jarkko Sakkinen
     [not found]         ` <20160324141208.GA21689-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-03-24 14:13           ` Jarkko Sakkinen
2016-03-23 20:17   ` [PATCH 4/5] tpm: Move irqs field from tpm_vendor_specific to tpm_chip structure Christophe Ricard
     [not found]     ` <1458764240-24185-5-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-03-23 22:52       ` Jason Gunthorpe
2016-03-23 20:17   ` [PATCH 5/5] tpm: Rename tpm_vendor_specific structure to tpm_protocol_infos Christophe Ricard
     [not found]     ` <1458764240-24185-6-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-03-23 22:54       ` Jason Gunthorpe
     [not found]         ` <20160323225454.GD17397-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-03-24  6:14           ` Christophe Ricard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).