]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: handle Virtual Function ATS enabling
authorYu Zhao <yu.zhao@intel.com>
Mon, 18 May 2009 05:51:33 +0000 (13:51 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 18 May 2009 10:25:58 +0000 (11:25 +0100)
commit9c836ec061d4c52a058ab335ac4f3cfad5a1078a
tree6f7a6c5bf2b300bec9fa76266eeb9089dc82e651
parent8d6403f9e62d8e1b24c80b0f4de71d2f4f1be41b
PCI: handle Virtual Function ATS enabling

The SR-IOV spec requires that the Smallest Translation Unit and
the Invalidate Queue Depth fields in the Virtual Function ATS
capability are hardwired to 0. If a function is a Virtual Function,
then and set its Physical Function's STU before enabling the ATS.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/iov.c
drivers/pci/pci.h