From: Alex Williamson Date: Thu, 27 Jun 2013 22:39:54 +0000 (-0600) Subject: PCI: Differentiate ACS controllable from enabled X-Git-Tag: v3.12-rc1~177^2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83db7e0bdb70a9bb93cd000fefc3fbac3394f516;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas Acked-by: Donald Dutile --- Reading git-diff-tree failed