Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

flush_dcache_range equivalent in arm64

Hello everyone!

I am trying writing a module that needs to flush the data cache base on an address range, and I found dcache_clean_inval_poc calls within the  arm/include/asm/cacheflush.h, but compiling the kernel for arm64 gives me errors since this function is not exported globally. 

I do see on other archteictures implementing flush_dcache_range, such as powerpc. I am curious to see if arm64 already has a function like that and I just missed it? If not, does it need to be implemented? or Is there a reason why that it has not been implemented?