From: Stefan Berger <stefanb@linux.ibm.com>
To: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>,
linux-integrity@vger.kernel.org, stable@vger.kernel.org,
Peter Huewe <peterhuewe@gmx.de>, Jason Gunthorpe <jgg@ziepe.ca>,
Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Sumit Garg <sumit.garg@linaro.org>,
Alexey Klimov <aklimov@redhat.com>,
James Bottomley <James.Bottomley@hansenpartnership.com>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] tpm: Define TPM2_SPACE_BUFFER_SIZE to replace the use of PAGE_SIZE
Date: Mon, 6 Jul 2020 14:06:09 -0400 [thread overview]
Message-ID: <4f93bca3-e5c2-1074-f273-628ed603c139@linux.ibm.com> (raw)
In-Reply-To: <20200704035615.GA157149@linux.intel.com>
On 7/3/20 11:56 PM, Jarkko Sakkinen wrote:
> On Thu, Jul 02, 2020 at 04:55:44PM -0700, Jerry Snitselaar wrote:
>> On Fri Jul 03 20, Jarkko Sakkinen wrote:
>>> The size of the buffers for storing context's and sessions can vary from
>>> arch to arch as PAGE_SIZE can be anything between 4 kB and 256 kB (the
>>> maximum for PPC64). Define a fixed buffer size set to 16 kB. This should be
>>> enough for most use with three handles (that is how many we allow at the
>>> moment). Parametrize the buffer size while doing this, so that it is easier
>>> to revisit this later on if required.
>>>
>>> Reported-by: Stefan Berger <stefanb@linux.ibm.com>
>>> Cc: stable@vger.kernel.org
>>> Fixes: 745b361e989a ("tpm: infrastructure for TPM spaces")
>>> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
>> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
> Thank you.
>
> Now only needs tested-by from Stefan.
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
>
> /Jarkko
next prev parent reply other threads:[~2020-07-06 18:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-02 22:55 Jarkko Sakkinen
2020-07-02 23:55 ` Jerry Snitselaar
2020-07-04 3:56 ` Jarkko Sakkinen
2020-07-06 18:06 ` Stefan Berger [this message]
2020-07-06 23:01 ` Jarkko Sakkinen
-- strict thread matches above, loose matches on Subject: below --
2020-06-26 14:34 Jarkko Sakkinen
2020-06-26 16:47 ` Stefan Berger
2020-07-02 20:48 ` 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=4f93bca3-e5c2-1074-f273-628ed603c139@linux.ibm.com \
--to=stefanb@linux.ibm.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=aklimov@redhat.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=jarkko.sakkinen@linux.intel.com \
--cc=jgg@ziepe.ca \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterhuewe@gmx.de \
--cc=stable@vger.kernel.org \
--cc=sumit.garg@linaro.org \
/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
Powered by JetHome