|
@@ -36,10 +36,9 @@ void pci_update_resource(struct pci_dev *dev, int resno)
|
|
enum pci_bar_type type;
|
|
enum pci_bar_type type;
|
|
struct resource *res = dev->resource + resno;
|
|
struct resource *res = dev->resource + resno;
|
|
|
|
|
|
- if (dev->is_virtfn) {
|
|
|
|
- dev_warn(&dev->dev, "can't update VF BAR%d\n", resno);
|
|
|
|
|
|
+ /* Per SR-IOV spec 3.4.1.11, VF BARs are RO zero */
|
|
|
|
+ if (dev->is_virtfn)
|
|
return;
|
|
return;
|
|
- }
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
* Ignore resources for unimplemented BARs and unused resource slots
|
|
* Ignore resources for unimplemented BARs and unused resource slots
|