s390/pci: enforce fmb page boundary rule

[ Upstream commit 80c544ded2 ]

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>
This commit is contained in:
Sebastian Ott 2016-03-14 15:47:23 +01:00 • committed by Sasha Levin
commit 1ee3901b99
2 changed files with 5 additions and 2 deletions