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 91F3AEB64D7 for ; Wed, 21 Jun 2023 21:01:49 +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:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=iUkSACnGs9LP5GNKh1zSkws9EgrMm0PThU9gS0qMVtk=; b=T7+AAkZ+3NEJVz kEIKt9k0K7CLgKdsJUBF0uPz7/qUatx2hXMPJmX/UiEkAGzWls8AT4t1zY0cp0GiHFYT3nn6gj0MB k8vj8OOg/s2heeZyXksG4kuifbPj0QVxFt+a7XaT5V8O1Pm8dLEsoMWRSV3qBvbFeqzR9TIUMZCVs vuaYeu0UkRxmLBFzUUSgk9CEItj4qO0rZ5YDyqkTR7AAtmYonMtfO9U51dkp6NDc3HgY4cc+qf36W ahQmt7Z5+vJ8Ipshu6DzTq6Z2NpkZY/fShfbk3VDOnC96VaaTi602H2VLg/OkFPLR1OinAzSl3ZHd WXJ6bk6Q7ssTqZ75u0yA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qC4xA-00FjgS-0L; Wed, 21 Jun 2023 21:01:24 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qC4x7-00Fjf7-0r for linux-arm-kernel@lists.infradead.org; Wed, 21 Jun 2023 21:01:22 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 26D33616C9; Wed, 21 Jun 2023 21:01:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBD2BC433C0; Wed, 21 Jun 2023 21:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687381278; bh=jlWJbhOrjnKVTwHPTVGHq334iwyIMm2mAeU6LYyasFM=; h=From:Subject:Date:To:Cc:From; b=sqGwHkhh/RtwEsmY/s6OMERkZGXJQNzZSRHuV7hqGSyvUc13q6PLfMM5jouJooT57 0xcMorV1vbB24/T4FNVK9+5U++bGSYDvnmXT6p7JN6SHSYDGBG6edWwA3IFFHpolZS 91tZIGufOk3DnP+DDiIg9ohuaQJUuWjNrnx+6w1P/f5maSXXWUq6YP8e3nft1pSKGH RduHRMQdyxJzbAyshVNFls35OFUVpvDwqC87msRXfHt5/1LaD6BeKOVDESdd1wSLMC +719qHFdXSKWcmfhcFW1U/SjaAUSGEW1437NLn56GrYj/5bP+ZvZotSDcNNKrEnG7M bBjIpZl8cwrUQ== From: Mark Brown Subject: [PATCH 0/2] arm64/signal: Fix handling of TPIDR2 Date: Wed, 21 Jun 2023 22:00:49 +0100 Message-Id: <20230621-arm64-fix-tpidr2-signal-restore-v1-0-b6d9e584d2ee@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAFlk2QC/x3NQQ6CMBCF4auQWTsJbQlYr2JcFDrARG3JDFETw t0pLv+3+N4GSsKkcKs2EPqwck4lzKWCYQ5pIuRYGmxtXd1ag0HebYMj/3BdOIpF5SmFFwrpmoW wMy561/nr6D0UpQ9K2EtIw3w63yzPc16EivE/vj/2/QDHSZHfiAAAAA== To: Catalin Marinas , Will Deacon , Shuah Khan , Szabolcs Nagy Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Mark Brown , stable@vger.kernel.org X-Mailer: b4 0.13-dev-c6835 X-Developer-Signature: v=1; a=openpgp-sha256; l=963; i=broonie@kernel.org; h=from:subject:message-id; bh=jlWJbhOrjnKVTwHPTVGHq334iwyIMm2mAeU6LYyasFM=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBkk2UayLmMV7bhjwqgQSk8JxacfjjHw7fXHZBgtRzQ 3U7eprmJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZJNlGgAKCRAk1otyXVSH0CHRB/ 4+TKV4M117JVnOwEgv+VhL2tlZUiImG0JWrKcycaD1OrRB5qQ5bFMqSole80KLA702OuIlDccQmvcq qT4HA+q2SzHzoZbXaURUcF2RCqYyFXxa46LvtXqR+pz4rYnIfCZnkc+evIfFK4OM7mgK4MKyiuIw6z Gheq3Bz7ePhzSO6jb9cWQ0MxlNIXoG1CSYcmkj66WlM2IiuxngDeLutvBZgDFCicgJY/CPdZz591x4 /HSl2ag9Fl45WSD2rXZSguFBKXJDmy1sqho0yAGLsm4ANG+pka7pxbf+GII7wFq13CiTvbdawYzaH/ G1ncrAk2juLGDSkFeg+S2Y6Qs1Uwy7 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-20230621_140121_366738_F171BD98 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. 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 The restoring of TPIDR2 signal context has been broken since it was merged, fix this and add a test case covering it. This is a result of TPIDR2 context management following a different flow to any of the other state that we provide and the fact that we don't expose TPIDR (which follows the same pattern) to signals. Signed-off-by: Mark Brown --- Mark Brown (2): arm64/signal: Restore TPIDR2 register rather than memory state kselftest/arm64: Add a test case for TPIDR2 restore arch/arm64/kernel/signal.c | 2 +- tools/testing/selftests/arm64/signal/.gitignore | 2 +- .../arm64/signal/testcases/tpidr2_restore.c | 85 ++++++++++++++++++++++ 3 files changed, 87 insertions(+), 2 deletions(-) --- base-commit: 858fd168a95c5b9669aac8db6c14a9aeab446375 change-id: 20230621-arm64-fix-tpidr2-signal-restore-713d93798f99 Best regards, -- Mark Brown _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel