error: implicit declaration of function 'dma_zalloc_coherent' - error: implicit declaration of function 'dma_zalloc_coherent'
Description Due to a kernel version difference, aocl install might fail with error: implicit declaration of function \'dma_zalloc_coherent\'. Resolution To workaround this problem, include following code in to linux64/driver/aclpci.c file in your Arria 10 BSP: static inline void *dma_zalloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag) { void *ret = dma_alloc_coherent(dev, size, dma_handle, flag); if (ret) memset(ret, 0, size); return ret; } This problem is scheduled to be resolved in a future release of aocl.
Custom Fields values:
['novalue']
Troubleshooting
novalue
False
['novalue']
['FPGA Dev Tools Quartus® Prime Software Pro']
novalue
15.1
['Programmable Logic Devices']
['novalue']
['novalue']
['novalue'] - 2021-08-25
external_document