PCI: Enable is not exposed as a PASID capability
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 11 Nov 2011 17:06:56 +0000 (10:06 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 5 Dec 2011 18:22:03 +0000 (10:22 -0800)
commit60fe823837d10673500ff685c01eb2f896fe5849
treec39f6ae4d9944e766628b1dcd301cda5e4597532
parenta776c491ca5e38c26d9f66923ff574d041e747f4
PCI: Enable is not exposed as a PASID capability

The PASID ECN indicates bit 0 is reserved in the capability register.
Switch pci_enable_pasid() to error if PASID is already enabled and
don't expose enable as a feature in pci_pasid_features().

Reviewed-by: Joerg Roedel <joerg.roedel@amd.com>
Tested-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/ats.c