diff options
| author | Damien Le Moal <[email protected]> | 2024-10-12 11:32:45 +0000 |
|---|---|---|
| committer | Manivannan Sadhasivam <[email protected]> | 2024-10-16 16:55:34 +0000 |
| commit | 08cac1006bfcc35fe363055a40e05d5410cdf010 (patch) | |
| tree | 9f873e649cfe3b7c6ddef81ceafb86f44e9e8581 /drivers/pci/controller/dwc | |
| parent | PCI: endpoint: Update documentation (diff) | |
| download | kernel-08cac1006bfcc35fe363055a40e05d5410cdf010.tar.gz kernel-08cac1006bfcc35fe363055a40e05d5410cdf010.zip | |
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 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions
