[PATCH v2 5/7] riscv: Pass patch_text() the length in bytes

Conor Dooley conor at kernel.org
Wed Apr 24 03:49:42 PDT 2024


On Wed, Mar 27, 2024 at 09:04:44AM -0700, Samuel Holland wrote:
> patch_text_nosync() already handles an arbitrary length of code, so this
> removes a superfluous loop and reduces the number of icache flushes.
> 
> Reviewed-by: Björn Töpel <bjorn at rivosinc.com>
> Signed-off-by: Samuel Holland <samuel.holland at sifive.com>

Reviewed-by: Conor Dooley <conor.dooley at microchip.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240424/dd4ffcd1/attachment.sig>


More information about the linux-riscv mailing list