OpenCloudOS-Kernel/drivers/ntb
Dave Jiang 3cc5ba1938 ntb: Add alignment check to meet hardware requirement
The NTB translate register must have the value to be BAR size aligned.
This alignment check make sure that the DMA memory allocated has the
proper alignment. Another requirement for NTB to function properly with
memory window BAR size greater or equal to 4M is to use the CMA feature
in 3.16 kernel with the appropriate CONFIG_CMA_ALIGNMENT and
CONFIG_CMA_SIZE_MBYTES set.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
2014-09-14 00:10:38 -04:00
..
Kconfig NTB: Enable 32bit Support 2013-09-03 14:48:53 -07:00
Makefile PCI-Express Non-Transparent Bridge Support 2013-01-17 19:11:14 -08:00
ntb_hw.c ntb: Use pci_enable_msix_range() instead of pci_enable_msix() 2014-04-07 10:59:20 -07:00
ntb_hw.h ntb: Use pci_msix_vec_count() to obtain number of MSI-Xs 2014-04-07 10:59:19 -07:00
ntb_regs.h NTB: Enable Snoop on Primary Side 2013-11-20 09:57:33 -07:00
ntb_transport.c ntb: Add alignment check to meet hardware requirement 2014-09-14 00:10:38 -04:00