@lupyuen the patch introduces a new function called `flush_icache_range_phy` that flushes the instruction cache for a given range of physical addresses. It uses assembly instructions to perform the cache flushing operation. additionally, `flush_icache_range` macro is modified to call the new `flush_icache_range_phy` function instead of `flush_icache_all`
It's likely that the T-Head C9xx processor has its own cache synchronization mechanism tailored to its specific architecture and requirements