[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170208111137.15153-1-jarkko.sakkinen@linux.intel.com>
Date: Wed, 8 Feb 2017 13:11:34 +0200
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: tpmdd-devel@...ts.sourceforge.net
Cc: linux-security-module@...r.kernel.org,
Jerry Snitselaar <jsnitsel@...hat.com>,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
Jason Gunthorpe <jgunthorpe@...idianresearch.com>,
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH v3 0/3] Locality support for tpm_crb
The tpm_crb driver should follow the policy of reserving and
relinquishing the locality it uses when multiple localities are used,
like when TXT is another locality.
[This is a resend of v3 as this has been asked from me for a few times
now and there wasn't anything obvious to fix.]
Jarkko Sakkinen (3):
tpm_crb: map locality registers
tpm_crb: encapsulate crb_wait_for_reg_32
tpm_crb: request and relinquish locality 0
drivers/char/tpm/tpm_crb.c | 185 +++++++++++++++++++++++++++++++++------------
1 file changed, 137 insertions(+), 48 deletions(-)
--
v2:
added sanity check for start address of the control area
v3:
do locality request/relinquish as part of send/recv
check priv->regs_h before using it
just assing the base address to regs_h instead of using crb_map_res
2.9.3
Powered by blists - more mailing lists