]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390/pci: add extra padding to function measurement block
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 31 Mar 2016 09:48:31 +0000 (11:48 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 8 May 2016 12:08:58 +0000 (08:08 -0400)
commit9a447b1ba7d4e310a6921fe81e04e9e0ee0d31e4
tree5d008b41bc969b3cd9c704310a922a0357219d10
parent464508beeb30376f277fbfbfd9137cf19cbfa785
s390/pci: add extra padding to function measurement block

[ Upstream commit 9d89d9e61d361f3adb75e1aebe4bb367faf16cfa ]

Newer machines might use a different (larger) format for function
measurement blocks. To ensure that we comply with the alignment
requirement on these machines and prevent memory corruption (when
firmware writes more data than we expect) add 16 padding bytes
at the end of the fmb.

Cc: stable@vger.kernel.org # v4.1+
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/s390/include/asm/pci.h