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)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:50:57 +0000 (08:50 -0400)
commit1ee3901b99f165a4fa3ba85ff08d11bc2f61eec4
tree70610e70339340bc6fc0413e6b4c8dc620ff02db
parentbbd5f23b1eaba29f46f97846b361fab4c5becc78
s390/pci: enforce fmb page boundary rule

[ Upstream commit 80c544ded25ac14d7cc3e555abb8ed2c2da99b84 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/s390/include/asm/pci.h
arch/s390/pci/pci.c