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 63DF9D15D8C for ; Mon, 21 Oct 2024 13:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=enejgV3gauYkbmJktDoBRI4A9cs6fnljve9oUC7TYf8=; b=Y/nfmE8bMSLiW3o1TxW3SDsasF VTALo/fwbnAARjGSh24pmVgT6y0NzGITuxf6unx8XhPSBiExvnoXEiS1yPlD9IBMw8/9go0zGp8DF xI0SMn6LWqLQwDOcOJNC8Hnch5KPZ5iuI/O0DxF38JC3J/ggp8SWofZImPmbkhSQzCN5iUrM3c2jc bJ4p20gklWEmLGkMFL7pDfYz7id3m1cP52wcpGEh+bjORHqGJB7R9wp5b7Stnq88ck2JYSX0DHpbS K1j3AAVoSbrfMjcGLSQujgwxgUdov0AQHFEnKCicabdxcL7/HmYFlO9qUmvK8q8HwrSLm98t5ZOmk Tir/vmpw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2sKY-00000007Ohp-3bVG; Mon, 21 Oct 2024 13:20:18 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2s3F-00000007M6A-08xq for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 13:02:26 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 7D3B25C5433; Mon, 21 Oct 2024 13:02:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B0EEC4CEE6; Mon, 21 Oct 2024 13:02:21 +0000 (UTC) Date: Mon, 21 Oct 2024 14:02:18 +0100 From: Catalin Marinas To: Kevin Brodsky Cc: linux-arm-kernel@lists.infradead.org, akpm@linux-foundation.org, anshuman.khandual@arm.com, aruna.ramakrishna@oracle.com, broonie@kernel.org, dave.hansen@linux.intel.com, dave.martin@arm.com, jeffxu@chromium.org, joey.gouly@arm.com, shuah@kernel.org, will@kernel.org, linux-kselftest@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH 2/5] arm64: signal: Remove unnecessary check when saving POE state Message-ID: References: <20241017133909.3837547-1-kevin.brodsky@arm.com> <20241017133909.3837547-3-kevin.brodsky@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241017133909.3837547-3-kevin.brodsky@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_060225_135007_0F2D8653 X-CRM114-Status: UNSURE ( 8.80 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 17, 2024 at 02:39:06PM +0100, Kevin Brodsky wrote: > The POE frame record is allocated unconditionally if POE is > supported. If the allocation fails, a SIGSEGV is delivered before > setup_sigframe() can be reached. As a result there is no need to > check that poe_offset has been checked before saving POR_EL0; this > is in line with other frame records (FPMR, TPIDR2). > > Signed-off-by: Kevin Brodsky Acked-by: Catalin Marinas