OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 May 2016 21:48:44 +0000 (14:48 -0700)
commitd22ac3a9403bc2a60662ec117dc83f72564d61f9
tree7f376f0d1726732c3bdb78139b39b16c4317e801
parent61fe67520c4394c90f688c61c5c16dd63824cd42
s390/pci: add extra padding to function measurement block

commit 9d89d9e61d361f3adb75e1aebe4bb367faf16cfa upstream.

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.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/include/asm/pci.h