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 AA499C4332F for ; Fri, 18 Nov 2022 16:23:46 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QLEXNBOLxrFY8tVBc7AMKZp91asLdU1VcbPEA9aI5jQ=; b=ablfwkb8BiA6Ow rzCAwts5ib4hG8JePpIqDi6T2W9EamSP5+3HIjnmMlMNtv3SWb1XBmcxD5eW1zyQcfLb7nMl59O9/ g/iXpfTnEAZQPX6OPKrp/35pVlitNjgoCO2vg7Q29iX+Pd5sINyZENOIo9LFKOdzOp9ilQIibPP1r jX/x+IO+2E3mOzbXVtl39P2FYVIfJl62ZuquyV8pRv6gtIw+RT9XqteWRQ9NOS/xTjEnxGBgVeoMF MlzaYuGQ2HmA39dqO+zejnE6NTlWF5Buz2SFTEOmSlSPepumlPOWTpDmUYQoy7FOKYtfunV7q1jSN nwueomN7wN2xSk4zsZjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ow48e-005GQh-S5; Fri, 18 Nov 2022 16:22:49 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ow48P-005GJ7-6E for linux-arm-kernel@lists.infradead.org; Fri, 18 Nov 2022 16:22:34 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 897326260C; Fri, 18 Nov 2022 16:22:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BBC8C4347C; Fri, 18 Nov 2022 16:22:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668788551; bh=VEucnfTChdwhOgx5JH5dYcB/YicJfRVXDae2jw7R4L8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HxAQz3Crh+lq5O1QN6qxF5205SVNM+pXTZ54zLrbXNB0sHCnuy/bCvEd0RHym0sS7 SzllTLUTg0yt8Eq68YYvtvFbuTQ2AwOdZd4HjxJwjTNu8HYP0StIJwAkqRwu2cvsqQ lPXFKHeAh7J2tRf8rHG66CsURS1Aox2zZB6LFs24CNwO+FIXoBji1R0SisCjooCAMq Ca0kLCjwO2ZLXVL5bCJ7CvRp4CX88psUd69B51sLQHBwXI15cFgRFJR+QuSp28R+Gu 4W8yQWOgikBaTfthRw4g4tp/AbT3gkxvlwJi70zPDTaCB3Wh4AtQmjz4e2lCty9V3u 6DxOIgn+abb0A== From: Mark Brown To: Catalin Marinas , Will Deacon , Shuah Khan , Shuah Khan Cc: Szabolcs Nagy , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v3 1/5] arm64/processor: Update documentation for tls_preserve_current_state() Date: Fri, 18 Nov 2022 16:22:20 +0000 Message-Id: <20221118162224.1068916-2-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221118162224.1068916-1-broonie@kernel.org> References: <20221118162224.1068916-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=873; i=broonie@kernel.org; h=from:subject; bh=VEucnfTChdwhOgx5JH5dYcB/YicJfRVXDae2jw7R4L8=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBjd7E726A1klV6CN8xkvY2G3sQ+oknEpHnK4AG9val kavzj96JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY3exOwAKCRAk1otyXVSH0F+6B/ 9NZPd0jzdFOrUXzFmrhZQj8EJgmTXeF3M2KPCTtsQeVEZs5ySUXoCh6zo9fx0yUheAT//63DEMimsN Pu3842aUtWCrEhZZWeRE1O+DSk8HUqxpNYKJ28nVugnARP12kgfp6yiMGgpvyPxhm+tDjuW6Bm4Xjm 6IUtzhxiwlmSx2+qJ5FGuyh2OvW6SQmmWiVsoOTssDhtXrf6Qo8Gi/4sH9DMdD6r/QA7cONCoJ0lcn PMQAXQxExH4ZJe+Sa5ADGMybw0b+ir/fgi9+Az2W9ogTF/2Zinx4m7gKjnATzLv7i8YHZCdl8Ush86 eyvCxHgo4ltJgP5hHGE8BeXAjJRjG9 X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221118_082233_291333_D3EC8ABA X-CRM114-Status: GOOD ( 12.83 ) 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 tls_preserve_current_state() has been extended to sync TPIDR2_EL0 as well as TPIDR_EL0, update the comment in the header to reflect this. Signed-off-by: Mark Brown --- arch/arm64/include/asm/processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h index 445aa3af3b76..347075fdcdb5 100644 --- a/arch/arm64/include/asm/processor.h +++ b/arch/arm64/include/asm/processor.h @@ -263,7 +263,7 @@ static inline void arch_thread_struct_whitelist(unsigned long *offset, #define task_user_tls(t) (&(t)->thread.uw.tp_value) #endif -/* Sync TPIDR_EL0 back to thread_struct for current */ +/* Sync TPIDR_EL0 and TPIDR2_EL0 back to thread_struct for current */ void tls_preserve_current_state(void); #define INIT_THREAD { \ -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel