Re: [PATCH v2 1/2] arm64: mte: Clarify kernel MTE policy and manipulation of TCO
From: Taehyun Noh
Date: Tue Jan 20 2026 - 14:44:53 EST
On Mon Jan 19, 2026 at 12:17 PM CST, Catalin Marinas wrote:
> TBH, I'm fine with leaving the logic in this function without
> introducing a new user_uses_tagcheck() but not strongly opposed to it
> with better naming.
>
> That said, the set_kernel_mte_policy() naming looks too broad. The
> policy somehow implies tag check mode, fault behaviour. All it does is
> dealing with PSTATE.TCO.
I agree with your point. having TCO on the function name is more concise
than what I've suggested. We can drop this patch.