Revert "PCI/IOV: Mark VFs as not implementing PCI_COMMAND_MEMORY"
This reverts commit 42f16b3add
which is
commit 12856e7acde4702b7c3238c15fcba86ff6aa507f upstream.
It breaks the pci abi and it's nothing we need to worry about for
Android devices.
Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4e71caad3d2a6b3aeb9bba57892c118e1e79a65d
This commit is contained in:
parent
a41f13081e
commit
ec83bf90b3
@ -158,7 +158,6 @@ int pci_iov_add_virtfn(struct pci_dev *dev, int id)
|
||||
virtfn->device = iov->vf_device;
|
||||
virtfn->is_virtfn = 1;
|
||||
virtfn->physfn = pci_dev_get(dev);
|
||||
virtfn->no_command_memory = 1;
|
||||
|
||||
if (id == 0)
|
||||
pci_read_vf_config_common(virtfn);
|
||||
|
@ -424,7 +424,6 @@ struct pci_dev {
|
||||
unsigned int is_probed:1; /* Device probing in progress */
|
||||
unsigned int link_active_reporting:1;/* Device capable of reporting link active */
|
||||
unsigned int no_vf_scan:1; /* Don't scan for VFs after IOV enablement */
|
||||
unsigned int no_command_memory:1; /* No PCI_COMMAND_MEMORY */
|
||||
pci_dev_flags_t dev_flags;
|
||||
atomic_t enable_cnt; /* pci_enable_device has been called */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user