From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Mimi Zohar <zohar@linux.ibm.com>,
Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>,
linux-integrity@vger.kernel.org
Subject: Re: TPM legacy
Date: Sun, 02 Dec 2018 10:29:26 -0800 [thread overview]
Message-ID: <1543775366.2732.24.camel@HansenPartnership.com> (raw)
In-Reply-To: <1543764226.4216.205.camel@linux.ibm.com>
On Sun, 2018-12-02 at 10:23 -0500, Mimi Zohar wrote:
> On Fri, 2018-11-30 at 15:35 -0800, Jarkko Sakkinen wrote:
> > Hi
> >
> > Some things that came up at LSS.
> >
> > First, would it be time to drop 1.1b bits? What advantages this
> > would bring? AFAIK Peter is a strong supporter of this.
> >
> > In the hall way discussions, I talked with Tomas Winkler that it
> > would make sense to add CONFIG_TCG_TPM1 flag to completely leave
> > out all TPM 1.x bits from the kernel.
> >
> > TPM 1.x stuff is not exactly legacy but especially on IoT does not
> > make sense to carry that code with.
>
> New systems might be shipping with only TPM 2.0, but it still needs
> to be supported for existing systems, probably for quite a while.
> Having the option to build the kernel with TPM 1.2, TPM 2.0 or both,
> is acceptable.
The distros won't thank you for yet another kconfig option. ,
especially one which could cause regressions if they choose the wrong
value. However, having a hidden one which could be activated by driver
might work ... on the other hand almost all the current drivers support
both 1.2 and 2.0 so they'd all need splitting.
The other thing that should give us pause is this:
jejb@jarvis:~/git/linux/drivers/char/tpm> size tpm.o
text data bss dec hex
filename
35247 1120 32 36399 8e2f
tpm.o
Currently the combined tpm subsystem (without drivers) is less than 36k
of code, so is splitting it up valuable? I think you're going to find
we have a reasonable abstraction of sharing, so taking out 1.x by
config will likely save less than 10k of code ... is that worth the
effort?
James
next prev parent reply other threads:[~2018-12-02 18:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-30 23:35 TPM legacy Jarkko Sakkinen
2018-12-02 15:23 ` Mimi Zohar
2018-12-02 18:29 ` James Bottomley [this message]
2018-12-02 23:13 ` Jarkko Sakkinen
2018-12-03 15:01 ` Aw: " Peter Huewe
2018-12-03 17:29 ` Jason Gunthorpe
2018-12-03 17:55 ` Jarkko Sakkinen
2018-12-03 17:55 ` Jarkko Sakkinen
2018-12-03 18:00 ` Peter Huewe
2018-12-03 18:09 ` Jason Gunthorpe
2018-12-03 18:15 ` Jarkko Sakkinen
2018-12-03 18:15 ` Jarkko Sakkinen
2018-12-03 17:30 ` Jarkko Sakkinen
2018-12-02 23:08 ` Jarkko Sakkinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1543775366.2732.24.camel@HansenPartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=jarkko.sakkinen@linux.intel.com \
--cc=linux-integrity@vger.kernel.org \
--cc=zohar@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).