Thread (15 messages) flat view 15 messages, 6 authors, 2026-08-06

Re: [PATCH v2] powerpc/64s: Clarify copy_and_flush() cache sync loop comment

From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2026-08-06 04:16:45
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help