s390/pci: enforce fmb page boundary rule
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 14 Mar 2016 14:47:23 +0000 (15:47 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 14 Mar 2016 15:19:09 +0000 (16:19 +0100)
commit80c544ded25ac14d7cc3e555abb8ed2c2da99b84
tree031fb21ec6f5d6477f3bb820a0ef4a3f3687e065
parente370e4769463a65dcf8806fa26d2874e0542ac41
s390/pci: enforce fmb page boundary rule

The function measurement block must not cross a page boundary. Ensure
that by raising the alignment requirement to the smallest power of 2
larger than the size of the fmb.

Fixes: d0b088531 ("s390/pci: performance statistics and debug infrastructure")
Cc: stable@vger.kernel.org # v3.8+
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
arch/s390/pci/pci.c