Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: Stefan Berger <stefanb@linux.vnet.ibm.com>
Cc: gregkh@linuxfoundation.org, jarkko.sakkinen@linux.intel.com,
	stable@vger.kernel.org, Stefan Berger <stefanb@linux.ibm.com>,
	Jerry Snitselaar <jsnitsel@redhat.com>
Subject: Re: [PATCH for-4.19] tpm: Unify the mismatching TPM space buffer sizes
Date: Mon, 31 Aug 2020 22:31:28 -0400	[thread overview]
Message-ID: <20200901023128.GE8670@sasha-vm> (raw)
In-Reply-To: <20200831185929.2696998-1-stefanb@linux.vnet.ibm.com>

On Mon, Aug 31, 2020 at 02:59:29PM -0400, Stefan Berger wrote:
>From: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
>
>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.
>
>Cc: stable@vger.kernel.org
>Reported-by: Stefan Berger <stefanb@linux.ibm.com>
>Fixes: 745b361e989a ("tpm: infrastructure for TPM spaces")
>Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
>Tested-by: Stefan Berger <stefanb@linux.ibm.com>
>Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>

I've queued this and the 4.14 backport, thanks!

-- 
Thanks,
Sasha

      reply	other threads:[~2020-09-01  2:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31 18:59 [PATCH for-4.19] tpm: Unify the mismatching TPM space buffer sizes Stefan Berger
2020-09-01  2:31 ` Sasha Levin [this message]

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=20200901023128.GE8670@sasha-vm \
    --to=sashal@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jarkko.sakkinen@linux.intel.com \
    --cc=jsnitsel@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=stefanb@linux.ibm.com \
    --cc=stefanb@linux.vnet.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