On Mon, Aug 31, 2020 at 02:58:49PM -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
Thank you for doing this.
You are missing one thing from this.
You need to have this line before the long description:
"commit <original commit ID> upstream"
It is documented over here:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
/Jarkko