s390/pci: ensure page aligned dma start address
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 3 Jun 2016 17:03:12 +0000 (19:03 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 13 Jun 2016 13:58:24 +0000 (15:58 +0200)
commit53b1bc9aba525a599721565507d9e3aebae80a1d
tree832d2f102483e81b12ab2c0461cfcf8d5d61e1de
parentbb98f396f14477480273a92a75da448af6a9ae85
s390/pci: ensure page aligned dma start address

We don't have an architectural guarantee on the value of
the dma offset but rely on it to be at least page aligned.
Enforce page alignemt of start_dma.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_dma.c