[PATCH v3 05/18] arm64: Do not enable uaccess for flush_icache_range
Mark Rutland
mark.rutland at arm.com
Fri May 21 05:18:46 PDT 2021
On Thu, May 20, 2021 at 04:37:35PM +0100, Mark Rutland wrote:
> On Thu, May 20, 2021 at 03:02:16PM +0100, Mark Rutland wrote:
> Having thought about this a bit more, it's simple enough to do that now:
>
> | alternative_if ARM64_HAS_CACHE_IDC
> | dsb ishst
> | b .Ldc_skip_\@
> | alternative_else_nop_endif
> | mov x0, x2
> | add x3, x0, x1
> | dcache_by_line_op cvau, ishst, x2, x3, x4, x5, \fixup
> | .Ldc_skip_\@
Looking at this again, that "ishst" should be "ish", but otherwise this
stands.
Mark.
More information about the linux-arm-kernel
mailing list