diff options
author | Damien Le Moal <[email protected]> | 2024-10-12 20:32:45 +0900 |
---|---|---|
committer | Manivannan Sadhasivam <[email protected]> | 2024-10-16 22:25:34 +0530 |
commit | 08cac1006bfcc35fe363055a40e05d5410cdf010 (patch) | |
tree | 9f873e649cfe3b7c6ddef81ceafb86f44e9e8581 /tools/perf/scripts/python/flamegraph.py | |
parent | 6067ccf36fbc8a5e5a32f15b267e3dc6aa6e7eb4 (diff) |
PCI: endpoint: test: Use pci_epc_mem_map/unmap()
Modify the endpoint test driver to use the functions pci_epc_mem_map()
and pci_epc_mem_unmap() for the read, write and copy tests. For each
test case, the transfer (dma or mmio) are executed in a loop to ensure
that potentially partial mappings returned by pci_epc_mem_map() are
correctly handled.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions