summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2016-11-07 17:06:03 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-11-17 09:09:53 +0300
commit6b7df3ce92ac82ec3f4a2953b6fed77da7b38aaa (patch)
tree3ca9763fe01871318555da05b988e81271a09cb3 /tools/perf/scripts/python/export-to-postgresql.py
parent191ce9d1fde84190f18cd3faf0ef8594f442b313 (diff)
downloadlinux-6b7df3ce92ac82ec3f4a2953b6fed77da7b38aaa.tar.xz
s390/pci: fix dma address calculation in map_sg
__s390_dma_map_sg maps a dma-contiguous area. Although we only map whole pages we have to take into account that the area doesn't start or stop at a page boundary because we use the dma address to loop over the individual sg entries. Failing to do that might lead to an access of the wrong sg entry. Fixes: ee877b81c6b9 ("s390/pci_dma: improve map_sg") Reported-and-tested-by: Christoph Raisch <raisch@de.ibm.com> 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions