]> git.karo-electronics.de Git - linux-beck.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)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Apr 2016 15:20:55 +0000 (17:20 +0200)
commit9d89d9e61d361f3adb75e1aebe4bb367faf16cfa
tree09a10adc0d7fcf80783edbbac0c1b833645be28f
parentb707c65ae70e24c47a0ce4a7279224ce8f0ffb7f
s390/pci: add extra padding to function measurement block

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>
arch/s390/include/asm/pci.h