We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Registered: ‎02-25-2019

definition of __cpuc_flush_dcache_area for zcu102 is not available.


I'm compiling the kernel level driver, here i'm using the __cpuc_flush_dcache_area function.

When i'm compiling the driver for zc706 i'm able to compile this driver without any issues, but during the compilation for ZCU102 board, i'm getting the compilation issue.

error: implicit declaration of function ‘__cpuc_flush_dcache_area’; did you mean ‘__flush_dcache_area’? [-Werror=implicit-function-declaration]
             __cpuc_flush_dcache_area(phys_to_virt(drv_data->block_data.buffer[i].base_addr), drv_data->block_data.buffer[i].size);

i couldn't find the definition for this function in xilinx-linux kernel.

Since it is suggesting __flush_dcache_area, i renamed that function and tried to compile but still i couldn't find the definition for this function as well.

And why it is able to compile for zc706 and why it is not able to compile for zcu102 board.

Which part of source code is getting compiled for the zc706 and which is similar function in zcu102.

Kindly provide the solution.




0 Kudos