diff options
| author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2016-06-03 19:05:38 +0200 |
|---|---|---|
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-06-13 15:58:24 +0200 |
| commit | 8ee2db3cf1dc02ff9f2c65ac8bd7f478ba79abbe (patch) | |
| tree | 18202aa8e0d9e2e55948c4a8a3b0215b93c3835b /tools/perf/scripts/python/stackcollapse.py | |
| parent | s390/pci: ensure page aligned dma start address (diff) | |
| download | linux-8ee2db3cf1dc02ff9f2c65ac8bd7f478ba79abbe.tar.gz linux-8ee2db3cf1dc02ff9f2c65ac8bd7f478ba79abbe.zip | |
s390/pci: ensure to not cross a dma segment boundary
When we use the iommu_area_alloc helper to get dma addresses
we specify the boundary_size parameter but not the offset (called
shift in this context).
As long as the offset (start_dma) is a multiple of the boundary
we're ok (on current machines start_dma always seems to be 4GB).
Don't leave this to chance and specify the offset for iommu_area_alloc.
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
