Searched hist:"288 be97c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm64/lib/ |
H A D | copy_page.S | 288be97c Wed Jul 12 09:44:14 CDT 2017 Ard Biesheuvel <ard.biesheuvel@linaro.org> arm64/lib: copy_page: use consistent prefetch stride
The optional prefetch instructions in the copy_page() routine are inconsistent: at the start of the function, two cachelines are prefetched beyond the one being loaded in the first iteration, but in the loop, the prefetch is one more line ahead. This appears to be unintentional, so let's fix it.
While at it, fix the comment style and white space.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com> 288be97c Wed Jul 12 09:44:14 CDT 2017 Ard Biesheuvel <ard.biesheuvel@linaro.org> arm64/lib: copy_page: use consistent prefetch stride The optional prefetch instructions in the copy_page() routine are inconsistent: at the start of the function, two cachelines are prefetched beyond the one being loaded in the first iteration, but in the loop, the prefetch is one more line ahead. This appears to be unintentional, so let's fix it. While at it, fix the comment style and white space. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
|