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 4D87DC4332F for ; Tue, 27 Dec 2022 14:22:18 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=taOvrH28xa+PG9v81zYgqKlxcSIujflWAP0SJKgqKyk=; b=NuLbgfZOB9dQOx Xlia1EfcfxhcX0sOlXC1tca/0fk0GwuLd0DzgwqOQF02QwDPMxJmIyUlLnSdsZNRfSTv0ndmPlYPi KBMraQf2LTe2qH0DQX8vs9fC6CMElVpVpmOn6LGctMAcFY527H8jyZKFAg8p8A5KGHu8pTu81/VSB gDbgQxU/ApwMxi9CuIUXATdRHEZDkbyah726xlDk5R+6IGxunYsObJoKk1DyDGWdTDK7Y2unrX27r gWlNbBXhZfG3FxP9kjCABq5yIyvAeB4jo1cCNZ8wdsPbHGGdR5u0SSctWQ4vT8W+YFv4hwnA2vnz/ FCB2D8QpjKuYJHUNzXQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pAApJ-00DbyA-41; Tue, 27 Dec 2022 14:21:16 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pAApF-00Dbvz-A4 for linux-arm-kernel@lists.infradead.org; Tue, 27 Dec 2022 14:21:06 +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 CEF8561169; Tue, 27 Dec 2022 14:21:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC4EAC43392; Tue, 27 Dec 2022 14:21:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672150864; bh=M4Nq7DCPdliRWWQ+AnxkvH/6TKqPr78E3ulmX7bH0mU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=PPlVG4Qx8X4Mc8N8u+Yc8nkP7ty4sYm+Pixmx+SdFdMH/h/PchI7YiU0/OjWEPdKx zoJQdRGUWnURFPjLHI68EEWhiMlAX2UwSptYWg2sa0dsozMrXfm0iP91xgUDThAiar aNDpKUbOFc/2b3xT52wwgtUR/6b9lVTUn4OFic8TiY39mlm3RIKst7MxGrsCJ+Nd2z Rcux7K+bJLNnYPQ9wgZsQ1i+HOOCfVioJGC+q/PzX2x8Zje46fQFA+PA8aC3MVxxTk xN2LaUkLZpMIr6OTDhYFYCr46+FJ7WwtwtuPaCmyFHUPQtufgNi49L7T8oK9CmYeHR cFZnOfddNpFIw== From: Mark Brown Date: Tue, 27 Dec 2022 14:20:40 +0000 Subject: [PATCH v3 1/4] arm64/sme: Document ABI for TPIDR2 signal information MIME-Version: 1.0 Message-Id: <20221208-arm64-tpidr2-sig-v3-1-c77c6c8775f4@kernel.org> References: <20221208-arm64-tpidr2-sig-v3-0-c77c6c8775f4@kernel.org> In-Reply-To: <20221208-arm64-tpidr2-sig-v3-0-c77c6c8775f4@kernel.org> To: Catalin Marinas , Will Deacon , Shuah Khan Cc: Szabolcs Nagy , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Mark Brown X-Mailer: b4 0.12-dev-7ab1d X-Developer-Signature: v=1; a=openpgp-sha256; l=817; i=broonie@kernel.org; h=from:subject:message-id; bh=M4Nq7DCPdliRWWQ+AnxkvH/6TKqPr78E3ulmX7bH0mU=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBjqv9Juq5U/OSo5zIwcjdT4Ali6sNEo5vXiAOJVEaV YiS6JgaJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY6r/SQAKCRAk1otyXVSH0CgRB/ 9CRyXmEjrNh6b8zk25LK3gHZmlDI2leVr8vgOAujsw+oJ3LJ54qrJkgAWUHLdynwQigv3tyYSAZgmj BpuLoml7omJDqVwH4hrCafH3fypoPhFQZR/CoIb8aqq0idlcT2gzOeC1P0wUJyWVps5iJriXc0hD3x Z27WQ6NKE7Ii2W/s+LswsEEFc9eVM9s00J8F2b7n8NouL+AiMifU4T43abNsQR61oQOqZ+SI0mGSoF xQvVziJZyR7vBwSyTRhzyVjNM+9c2xCPXxavf3yF+ntjFMqWF7aKRSfcYsUCfifucY7S+mNV2fIlZK DOUsCr/fhyBD63/CMMqgPSK//gTDLO 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-20221227_062105_425301_59F66636 X-CRM114-Status: GOOD ( 10.18 ) 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 In order to allow access to TPIDR2 from signal handlers we need to add it to the signal context, document that we are doing so. Signed-off-by: Mark Brown --- Documentation/arm64/sme.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/arm64/sme.rst b/Documentation/arm64/sme.rst index 16d2db4c2e2e..36b08a105dd1 100644 --- a/Documentation/arm64/sme.rst +++ b/Documentation/arm64/sme.rst @@ -111,6 +111,9 @@ be zeroed. * Signal handlers are invoked with streaming mode and ZA disabled. +* A new signal frame record TPIDR2_MAGIC is added formatted as a struct + tpidr2_context to allow access to TPIDR2_EL0 from signal handlers. + * A new signal frame record za_context encodes the ZA register contents on signal delivery. [1] -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel