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 A2DEFC4708E for ; Tue, 3 Jan 2023 20:28:00 +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=O6Yifr3dvdKObfm6XQp7+eOzFxxpPJOnI2w4fhh/4ks=; b=x6jxPO9QHJ/PB9 tBjjNu5jY/+uuSWkVga4N07zX/8tQLGzXBWxA4Ly6WDyqOHmQlJWZUjyf0LFLwGadHO5mlesfh7Pa A69p6JOg/uaw5R1VvXKcPYHjOnIITlDKY5zjBBEFIvmFPWSymt2adBz7IKjYIAc/znSWhPQOxkksn j1YE8gRumQvnDF81Ob3vRkcetIvPaqn7QkvCMeGZDSnrblfI+8hSltBprGXr29yquEPiYmWj3q0G7 mdi+jOZmfXCfCPdSkrGREl5Kprqiueg0fsVJsFuMAwhFIkPkti507SU4iDQxktQwM8tRsIBH9ukTX WxWXWv+8YMNwyTh5OVKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCns2-004jMa-UW; Tue, 03 Jan 2023 20:26:51 +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 1pCnqr-004j8g-NB for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2023 20:25:39 +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 0E2F561505; Tue, 3 Jan 2023 20:25:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0888AC433D2; Tue, 3 Jan 2023 20:25:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672777535; bh=fWdC96nOiyYQllhHb320Pi7UN6yZJMtcVyFGws6l7OY=; h=From:Subject:Date:To:Cc:From; b=FSvE4t0TdTbrzlebM2n7CtloLWVv6k9pO45Vc5AyCEJyrBi5mwOtPZlZCeL+L1Ke1 s3ZKm4/nV9rxxjrGlRWLCV7GSCslb1NJ6EKC1YNoexPx7f1eGyTP1JOUc4pFKLinyC M4MzZ2GQ3IyeIVnLDxohh6UrcpHukiAv5TAT/lmxooaF/LY0SE5admBfm5SFXPAPGB 6tWtGVomHDh9gQ3LY9HP144EUz9zJ+X5jN02NpnlR/aDtZ7manODjvceX03Arh6LEY +9ZnRfBWUa/sgmCrNyVSSoddmLuuPxEVU47DMcw622Vu8BjxwU6M9T+0r9x8weStmz ZRdYF7p7w/PHA== From: Mark Brown Subject: [PATCH v2 0/6] arm64/signal: Signal handling cleanups Date: Tue, 03 Jan 2023 20:25:15 +0000 Message-Id: <20221212-arm64-signal-cleanup-v2-0-14a8f3e088b7@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIACyPtGMC/0WNwQ6CMBBEf4X0bNGuIODJ/zAelrKUjdCSLRoTw r9bvJg5vUzezKoiCVNU12xVQm+OHHwCOGTKDugdae4SKzgBmBSNMl0KHdl5HLUdCf1r1q3tKqig oxIbldQWI+lW0Nthl4OwY3+cMC4kez8L9fz53d4fiXsJk14GIfyfGSjMuaxNnUMNTVlqkxZD8Ey 3J4mnMQ/i1LZ9AXwPPsbDAAAA To: Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Brown X-Mailer: b4 0.12-dev-214b3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1351; i=broonie@kernel.org; h=from:subject:message-id; bh=fWdC96nOiyYQllhHb320Pi7UN6yZJMtcVyFGws6l7OY=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBjtI84uYm7QVfqrrk/rDnJ9tYJUGg07dxvxryMlzra 5+hdHL+JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY7SPOAAKCRAk1otyXVSH0BIJB/ 9acTAwvQiel6zzT/zjrGzu5o8n7nHBI8fpCxTdufO6Yv2TSXoDMqEiK7KSAnaNIc+2CvAXfwZKiFjc Wt/pPEunrvKiYPDXEKddUtpOfXVYwPw0POEIBhgcf7TrMFdhHx3e4ti0toyglgJiwhYWGh4UHxiAin ONGN79cphFlZvxqzfXIR2Zf1VFVwlGc73LFtH6jzM3Dm5dApjGUWd2woLYBlSQe5jSEDgJJ9RXSsRz 5plITxEv580T9OPVjEjqtv7uZWqB9tEb7T3c8Nd0z8YNzDUselgEyRfL+OgZXm1LrlAKr//H5oyQja GoUL1EIHfJWb8s4ktgOq1CtufjA128 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-20230103_122537_866699_245D8D15 X-CRM114-Status: GOOD ( 10.06 ) 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 This series collects a number of small cleanups to the signal handling code which removes redundant validation of size information and avoids reading the same data from userspace twice. There are some overlaps with both the TPIDR2 signal handling and SME2 serieses which are also in flight, applying this will require adjustments in those serieses and vice versa. v2: - Rebase onto v6.2-rc1 To: Catalin Marinas To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Mark Brown --- Mark Brown (6): arm64/signal: Don't redundantly verify FPSIMD magic arm64/signal: Remove redundant size validation from parse_user_sigframe() arm64/signal: Make interface for restore_fpsimd_context() consistent arm64/signal: Avoid rereading context frame sizes arm64/signal: Only read new data when parsing the SVE context arm64/signal: Only read new data when parsing the ZA context arch/arm64/kernel/signal.c | 91 +++++++++++++++++++++++----------------------- 1 file changed, 46 insertions(+), 45 deletions(-) --- base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 change-id: 20221212-arm64-signal-cleanup-bcd7272de5a9 Best regards, -- Mark Brown _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel