Hi Alex,

Thanks a lot for replying.

Alex Chiang wrote:
* Felix Radensky <felix@embedded-sol.com>:
  
The problem arises when device is plugged in after boot. After doing
echo 1 > /sys/bus/pci/rescan
the device is identified, but bridge memory window is not allocated,
and reads from device memory regions return 0xffffffff. Below is
relevant output:
    

Do you need firmware support on your platform for hotplug?
  
I don't think so, but I've added powerpc guys to CC to make sure.
Can you please send full dmesg during successful boot, full dmesg
log during unsuccessful rescan, and contents of /proc/iomem and
/proc/ioports during success and failure cases?

Be sure you have PCI_CONFIG_DEBUG turned on.
  
Attached. I really appreciate your help. Thanks a lot.

Felix.