My setup is like one jetson-xavier acts as RC and another jetson-xavier acts as EP.
I want to transfer data from endpoint driver(pci-epf-nv-test.c).
To achieve that i have reserved 0x200000 bytes of memory starting from 0xe0000000 in RC side.
In EP side i make use of pci_epc_mem_alloc_addr,pci_epc_map_addr(here mapped 0xe0000000 as pci address) and initiated a data transfer by writing at virtual address returned by pci_epc_mem_alloc_addr.
But in RC side i observed error: Unhandled context fault: iova=0xe0000000
Can you please help us ? Am i doing anything wrong here?
Should i have to do address translation for inbound in RC?