[PATCH] arm64/mte: Clarify mode reported by PR_GET_TAGGED_ADDR_CTRL
Catalin Marinas
catalin.marinas at arm.com
Tue Feb 1 10:31:04 PST 2022
On Thu, Jan 27, 2022 at 07:03:23PM +0000, Mark Brown wrote:
> With the current wording readers might infer that PR_GET_TAGGED_ADDR_CTRL
> will report the mode currently active in the thread however this is not the
> actual behaviour, instead all modes currently selected by the process will
> be reported with the mode used depending on the combination of the
> requested modes and the default set for the current CPU. This has been the
> case since 433c38f40f6a81 ("arm64: mte: change ASYNC and SYNC TCF settings
> into bitfields"), before that we did not allow more than one mode to be
> requested simultaneously.
>
> Update the documentation to more clearly reflect current behaviour.
>
> Signed-off-by: Mark Brown <broonie at kernel.org>
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-arm-kernel
mailing list