summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2016-08-23 13:59:15 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-09-22 11:42:28 (GMT)
commitbb2b7ffbc4e25b0c4839317b6c31cb768efe8b1f (patch)
tree0ef2dd25a1cf22b32aa559fd5c4beb7d54fa1b1f /arch/s390
parentdcc096c540d794456c1edbe6d55b9d611c86e8db (diff)
downloadlinux-bb2b7ffbc4e25b0c4839317b6c31cb768efe8b1f.tar.xz
iommu/s390: simplify registration of I/O address translation parameters
When a new function is attached to an iommu domain we need to register I/O address translation parameters. Since commit 69eea95c ("s390/pci_dma: fix DMA table corruption with > 4 TB main memory") start_dma and end_dma correctly describe the range of usable I/O addresses. Simplify the code by using these values directly. 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>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions