forked from luck/tmp_suning_uos_patched
d18243293a
This patch adds the SCIF kernel node QP control messages required to enable SCIF RMAs. Examples of such node QP control messages include registration, unregistration, remote memory allocation requests, remote memory unmap and SCIF remote fence requests. The patch also updates the SCIF driver with minor changes required to enable SCIF RMAs by adding the new files to the build, initializing RMA specific information during SCIF endpoint creation, reserving SCIF DMA channels, initializing SCIF RMA specific global data structures, adding the IOCTL hooks required for SCIF RMAs and updating RMA specific debugfs hooks. Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Nikhil Rao <nikhil.rao@intel.com> Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
110 lines
4.1 KiB
Plaintext
110 lines
4.1 KiB
Plaintext
comment "Intel MIC Bus Driver"
|
|
|
|
config INTEL_MIC_BUS
|
|
tristate "Intel MIC Bus Driver"
|
|
depends on 64BIT && PCI && X86 && X86_DEV_DMA_OPS
|
|
help
|
|
This option is selected by any driver which registers a
|
|
device or driver on the MIC Bus, such as CONFIG_INTEL_MIC_HOST,
|
|
CONFIG_INTEL_MIC_CARD, CONFIG_INTEL_MIC_X100_DMA etc.
|
|
|
|
If you are building a host/card kernel with an Intel MIC device
|
|
then say M (recommended) or Y, else say N. If unsure say N.
|
|
|
|
More information about the Intel MIC family as well as the Linux
|
|
OS and tools for MIC to use with this driver are available from
|
|
<http://software.intel.com/en-us/mic-developer>.
|
|
|
|
comment "SCIF Bus Driver"
|
|
|
|
config SCIF_BUS
|
|
tristate "SCIF Bus Driver"
|
|
depends on 64BIT && PCI && X86 && X86_DEV_DMA_OPS
|
|
help
|
|
This option is selected by any driver which registers a
|
|
device or driver on the SCIF Bus, such as CONFIG_INTEL_MIC_HOST
|
|
and CONFIG_INTEL_MIC_CARD.
|
|
|
|
If you are building a host/card kernel with an Intel MIC device
|
|
then say M (recommended) or Y, else say N. If unsure say N.
|
|
|
|
More information about the Intel MIC family as well as the Linux
|
|
OS and tools for MIC to use with this driver are available from
|
|
<http://software.intel.com/en-us/mic-developer>.
|
|
|
|
comment "Intel MIC Host Driver"
|
|
|
|
config INTEL_MIC_HOST
|
|
tristate "Intel MIC Host Driver"
|
|
depends on 64BIT && PCI && X86 && INTEL_MIC_BUS && SCIF_BUS && MIC_COSM
|
|
select VHOST_RING
|
|
help
|
|
This enables Host Driver support for the Intel Many Integrated
|
|
Core (MIC) family of PCIe form factor coprocessor devices that
|
|
run a 64 bit Linux OS. The driver manages card OS state and
|
|
enables communication between host and card. Intel MIC X100
|
|
devices are currently supported.
|
|
|
|
If you are building a host kernel with an Intel MIC device then
|
|
say M (recommended) or Y, else say N. If unsure say N.
|
|
|
|
More information about the Intel MIC family as well as the Linux
|
|
OS and tools for MIC to use with this driver are available from
|
|
<http://software.intel.com/en-us/mic-developer>.
|
|
|
|
comment "Intel MIC Card Driver"
|
|
|
|
config INTEL_MIC_CARD
|
|
tristate "Intel MIC Card Driver"
|
|
depends on 64BIT && X86 && INTEL_MIC_BUS && SCIF_BUS && MIC_COSM
|
|
select VIRTIO
|
|
help
|
|
This enables card driver support for the Intel Many Integrated
|
|
Core (MIC) device family. The card driver communicates shutdown/
|
|
crash events to the host and allows registration/configuration of
|
|
virtio devices. Intel MIC X100 devices are currently supported.
|
|
|
|
If you are building a card kernel for an Intel MIC device then
|
|
say M (recommended) or Y, else say N. If unsure say N.
|
|
|
|
For more information see
|
|
<http://software.intel.com/en-us/mic-developer>.
|
|
|
|
comment "SCIF Driver"
|
|
|
|
config SCIF
|
|
tristate "SCIF Driver"
|
|
depends on 64BIT && PCI && X86 && SCIF_BUS
|
|
select IOMMU_IOVA
|
|
help
|
|
This enables SCIF Driver support for the Intel Many Integrated
|
|
Core (MIC) family of PCIe form factor coprocessor devices that
|
|
run a 64 bit Linux OS. The Symmetric Communication Interface
|
|
(SCIF (pronounced as skiff)) is a low level communications API
|
|
across PCIe currently implemented for MIC.
|
|
|
|
If you are building a host kernel with an Intel MIC device then
|
|
say M (recommended) or Y, else say N. If unsure say N.
|
|
|
|
More information about the Intel MIC family as well as the Linux
|
|
OS and tools for MIC to use with this driver are available from
|
|
<http://software.intel.com/en-us/mic-developer>.
|
|
|
|
comment "Intel MIC Coprocessor State Management (COSM) Drivers"
|
|
|
|
config MIC_COSM
|
|
tristate "Intel MIC Coprocessor State Management (COSM) Drivers"
|
|
depends on 64BIT && PCI && X86 && SCIF
|
|
help
|
|
This enables COSM driver support for the Intel Many
|
|
Integrated Core (MIC) family of PCIe form factor coprocessor
|
|
devices. COSM drivers implement functions such as boot,
|
|
shutdown, reset and reboot of MIC devices.
|
|
|
|
If you are building a host kernel with an Intel MIC device then
|
|
say M (recommended) or Y, else say N. If unsure say N.
|
|
|
|
More information about the Intel MIC family as well as the Linux
|
|
OS and tools for MIC to use with this driver are available from
|
|
<http://software.intel.com/en-us/mic-developer>.
|