diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2013-06-28 02:39:54 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-07-25 22:27:01 +0400 |
commit | 83db7e0bdb70a9bb93cd000fefc3fbac3394f516 (patch) | |
tree | ada06647d4b4e5577f7a6b4642256e1dcd988f83 /drivers/pci/quirks.c | |
parent | 0a67119fce8e0246ce7c448e3db12afd57857ac0 (diff) | |
download | linux-83db7e0bdb70a9bb93cd000fefc3fbac3394f516.tar.xz |
PCI: Differentiate ACS controllable from enabled
We currently misinterpret that in order for an ACS feature to be
enabled it must be set in the control field. In reality, this means
that the feature is not only enabled, but controllable. Many of the
ACS capability bits are not required if the device behaves by default
in the way specified when both the capability and control bit are set
and does not support or allow the alternate mode. We therefore need
to check the capabilities and mask out flags that are enabled but not
controllable. Egress control seems to be the only flag which is
purely optional.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Donald Dutile <ddutile@redhat.com>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions