Thread (3 messages) flat view 3 messages, 2 authors, 2021-07-27

Re: [PATCH v2] arm64: mte: avoid TFSR related operations unless in async mode

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2021-07-27 17:20:53

On Thu, Jul 08, 2021 at 07:35:32PM -0700, Peter Collingbourne wrote:
There is no reason to touch TFSR nor issue a DSB unless our task is
in asynchronous mode. Since these operations (especially the DSB)
may be expensive on certain microarchitectures, only perform them
if necessary.

Furthermore, stop clearing TFSR on entry because it will be cleared
on exit and it is not necessary to have any particular value in TFSR
between entry and exit.
Nitpick: this should be clearer that it's about TFSRE0_EL1 not the
kernel's TFSR_EL1.

Anyway, the patch looks fine, no need to repost. I can change the
comment.

Thanks.

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help