From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0C739C433EF for ; Tue, 1 Feb 2022 18:32:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RI/g6FY7ANSPiraRUBxtDkQ14oaxikbfYN0FYFB5nFU=; b=COfrxvs6ReJ+Bt 5g0J28F+uQC7NfT+zFxrEjcR9WJuOcsBC66f+R8G+xYBskJRMMXM4oJzkYwIn3aDNjIKwHUu8nUBV Zp6f116tuwMK1dAQCLsmPLGmhQdebWYglq+c8QXvg9j75enrObjsWQ0ZCaIjiKb5QzPnxt7X3BM5P F221iEosBDOlqh+CT+BpCNDFdjURLpefUU46fso4jjRmm7xKhuXzmLufSGVVKe93wlAZRpucKiiOG r0ZeIoNJZ3LCePsVgcIzZHgjt/mY+nLg7vrq+5H9WIdbL8BGNobnEuXNx/BZT2qb/PylSR05VSfDV sbkJ+DEdfofMrA0EBXSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nExvv-00DM4z-El; Tue, 01 Feb 2022 18:31:15 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nExvs-00DM49-4c for linux-arm-kernel@lists.infradead.org; Tue, 01 Feb 2022 18:31:13 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5B7DDB82F32 for ; Tue, 1 Feb 2022 18:31:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D27DC340EB; Tue, 1 Feb 2022 18:31:08 +0000 (UTC) Date: Tue, 1 Feb 2022 18:31:04 +0000 From: Catalin Marinas To: Mark Brown Cc: Will Deacon , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64/mte: Clarify mode reported by PR_GET_TAGGED_ADDR_CTRL Message-ID: References: <20220127190324.660405-1-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220127190324.660405-1-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220201_103112_358672_2858C817 X-CRM114-Status: GOOD ( 15.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Acked-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel