[dpdk-dev] [PATCH v2] bus/pci: fix unexpected resource mapping override
Thomas Monjalon
thomas at monjalon.net
Mon Oct 29 00:26:30 CET 2018
27/10/2018 05:20, 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.
> The fix is not to update any rte_pci_device's field if the being
> scanned device's driver is already probed.
>
> Bugzilla ID: 85
> Fixes: c752998b5e2e ("pci: introduce library and driver")
> Cc: stable at dpdk.org
>
> Reported-by: Lv Geoffrey <geoffrey.lv at gmail.com>
> Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>
I still think something must be fixed in PCI scan.
Anyway, there is an error:
passing argument 1 of ‘rte_dev_is_probed’ from incompatible pointer type
More information about the dev
mailing list