[PATCH 2/7] cache: andes_llcache: refactor initialization and cache operations

Krzysztof Kozlowski krzk at kernel.org
Mon Mar 30 06:02:11 PDT 2026


On 30/03/2026 12:27, Hui Min Mina Chou wrote:
> This patch cleans up the Andes LLC cache driver:
>  - improved error handling in andes_cache_init() by using goto labels
>  - updated andes_dma_cache_inv/wback() to check for !size instead of
>    start == end
>  - cache-line-size mismatch from an error to a warning
>  - Use ALIGN and ALIGN_DOWN helpers instead of the alignment logic in
>    andes_dma_cache_inv() and andes_dma_cache_wback().

Please read submitting patches document. One thing per commit with
proper rationale WHY you are doing this.

Best regards,
Krzysztof



More information about the linux-riscv mailing list