s390/pci_dma: remove dma address range check
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 17 Aug 2016 11:39:46 +0000 (13:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Sep 2016 11:42:30 +0000 (13:42 +0200)
commit3b13f1fea1be44f29be4150246624502a0227ebd
treec5e1ded2d7dac3c6345246f544fd876640231af4
parentbb2b7ffbc4e25b0c4839317b6c31cb768efe8b1f
s390/pci_dma: remove dma address range check

We calculate dma addresses using an iommu bitmap. Since commit
69eea95c ("s390/pci_dma: fix DMA table corruption with > 4 TB main memory")
we've made sure that addresses created using that bitmap are below
the maximum reported by firmware. Thus the additional check for
that address to be within range can be removed.

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