diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-03-14 15:47:23 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-03-14 16:19:09 +0100 |
commit | 80c544ded25ac14d7cc3e555abb8ed2c2da99b84 (patch) | |
tree | 031fb21ec6f5d6477f3bb820a0ef4a3f3687e065 /arch/s390/include/asm | |
parent | s390: fix floating pointer register corruption (again) (diff) | |
download | linux-80c544ded25ac14d7cc3e555abb8ed2c2da99b84.tar.xz linux-80c544ded25ac14d7cc3e555abb8ed2c2da99b84.zip |
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>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r-- | arch/s390/include/asm/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h index dc763eae7c49..f833082d9167 100644 --- a/arch/s390/include/asm/pci.h +++ b/arch/s390/include/asm/pci.h @@ -45,7 +45,7 @@ struct zpci_fmb { u64 rpcit_ops; u64 dma_rbytes; u64 dma_wbytes; -} __packed __aligned(16); +} __packed __aligned(64); enum zpci_state { ZPCI_FN_STATE_RESERVED, |