Re: [PATCH v2] powerpc/64s: Clarify copy_and_flush() cache sync loop comment
Madhavan Srinivasan <[email protected]>
| Newsgroups | gmane.linux.ports.ppc.embedded |
|---|---|
| Message-ID | <178598971879.942627.13294708865954950446.b4-ty__43678.1721467682$1785993137$gmane$org@linux.ibm.com> |
On Mon, 06 Jul 2026 13:57:08 +0530, Nikhil Kumar Singh wrote:
> The value loaded into r0 in copy_and_flush() represents the number of
> 8-byte words processed between cache synchronization operations.
>
> The existing comment refers to cache line size, which can make it appear
> that the value is a cache line size in bytes rather than a loop count.
> Clarify the comment to explain that the loop processes 8 words (64 bytes)
> per cache synchronization iteration, and that increasing the value would
> skip cache maintenance for intermediate cache lines.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/64s: Clarify copy_and_flush() cache sync loop comment
https://git.kernel.org/powerpc/c/76ea1257924f64521f708db91c99014ce7249bbf
cheers