Thread (7 messages) 7 messages, 2 authors, 2018-10-31

Re: [PATCH] bus/pci: fix unexpected resource mapping override

From: Thomas Monjalon <hidden>
Date: 2018-09-26 13:50:47

Hi,

03/09/2018 10:40, Qi Zhang:
When scanning an already plugged device, the virtual address
of mapped PCI resource in rte_pci_device will be overridden
with 0, that may cause driver does not work correctly.
Why is it overridden with 0?
Can we try to fix the root cause?
The fix is not to update any rte_pci_device's field if the being
scanned device's driver is already probed.
I am going to send a patch to have a safer way of checking
whether a device is probed or not.
If this change is really needed, I suggest to rebase it on top my patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help