I have code, called from the probe() function of my PCIe driver (loosely based on this post):
EDIT: Based on Andreas Bombe\'s response, I changed th
To Enable the memory you can try out the below command directly.
setpci -s
lspci Output :
0000:01:00.0 RAM memory: Xilinx Corporation Default PCIe endpoint ID
0001:02:00.0 Memory controller: Xilinx Corporation Device 8011
Example : setpci -s 0001:02:00.0 COMMAND=0x02