Skip to contentSkip to conversation

PCI: PCIe endpoint initiating write request to RC

DISCUSSION Your name 1 participant 1 message Sep 16, 2015

lore
Share & tools
lore

Your name

author
#0 lore raw

Hi,

I have a doubt, hope some one would have come across the same,

For a root complex to send data to PCIe endpoints, Then it has to write data that could hit the BAR region of PCIe endpoints.

For a vice versa, if PCIe endpoint which doesn't has DMA descriptor in it and it is trying to send data. which address I need to configure? Any physical address of ram or physical address got for kmalloc or endpoint BAR?

If PCIe endpoint can access the entire memory does it has a permission to corrupt the host memory from external. We know linux handle memory violation for process by memory structure assigned in each task_struct. But can someone explain me how it been managed for data comming out from endpoint to Root complex?

Regards
Nobel