Searched hist:"3 cc5ba1938eea0de372a41d1687c8030049c5e8f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ntb/ |
H A D | ntb_transport.c | diff 3cc5ba1938eea0de372a41d1687c8030049c5e8f Thu Aug 28 15:53:02 CDT 2014 Dave Jiang <dave.jiang@intel.com> 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>
|