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 8783CC433FE for ; Fri, 18 Nov 2022 14:05:30 +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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To: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=9UIX2JzeeliAf8jjCc6pr6L8O7Hf6AViHepTWPJf3wM=; b=XeF1a4EcHwzkV40bXclkIl225D v1YGkrqH+pbtBrKfA50+jLWs8Xz0qKTpx8gCblDx3Tyfm3AmVlaD5RCrUMjV94zk2pLNHUba34UZF +SM0iriMiFAzsU0AJyHP1CPSTRnzr4WuYBAxOufDqlBwzuZK58cpCvQyJGhm1QobYkMIhNHOWmSaN JhN6HvXNM81/RpNnx1P9FfFxRtFqQ13ZlRJDttN8+BhJSSCFuMZvzV/9EXEPU1o082TKIEl8zEOkM 6Pxf0gEfGNTDI54xcwWNw4FKKjMTCAgBWfdj8xFmZnAjkfWHKfPj95AK08+yVSznf2gLhiT+UhNM/ x40NgPfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ow1yj-004Hdd-MA; Fri, 18 Nov 2022 14:04:25 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ow1yh-004Hct-31 for linux-arm-kernel@lists.infradead.org; Fri, 18 Nov 2022 14:04:24 +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 ams.source.kernel.org (Postfix) with ESMTPS id C2774B823FD; Fri, 18 Nov 2022 14:04:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD080C433C1; Fri, 18 Nov 2022 14:04:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668780259; bh=KA6XyLsMzeXycLTbs+PwW6Mi5X6rADjYmSQuKT6e3m4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KfRE27CSa53iWy8n7qQbEvPk7z+qryGNDaDtI9pW0WkTbfHaJvJEkGDrYCA7C6yHU ZOZpJW93MLuZ/yWeh4BkSiBLj1Dl4RN1vlOpZl408xcebJsN1z4XQ4tFnjXFxbQMHq MQlcW3WJZ6zCyVA+tk7VU8PIPjns1ZMBIWDiWhgvOTCIh17YaIVJJbMNRL9rGiSxS1 gDftxqfOOg7x9CTH6myD5GY/cVuy3YIhI4RLQGoqjJl+FaYbgxtlQP+Pb8MEGF5D3V u1ZAwPOQBnIey3+3HXvIEEwFEFjZEfNSx+TcXCGw2z7pa1WqYy94WbPAlaAdEaukZa mZf62u/mCMtUg== Date: Fri, 18 Nov 2022 14:04:16 +0000 From: Mark Brown To: Will Deacon Cc: Catalin Marinas , Shuah Khan , Shuah Khan , Szabolcs Nagy , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 2/4] arm64/signal: Include TPIDR2 in the signal context Message-ID: References: <20221031201736.894374-1-broonie@kernel.org> <20221031201736.894374-3-broonie@kernel.org> <20221114161005.GB31141@willie-the-truck> <20221118135343.GC4046@willie-the-truck> MIME-Version: 1.0 In-Reply-To: <20221118135343.GC4046@willie-the-truck> X-Cookie: Ego sum ens omnipotens. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221118_060423_289687_234A2C42 X-CRM114-Status: GOOD ( 16.47 ) 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: multipart/mixed; boundary="===============7768241411712690242==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7768241411712690242== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wcnlgDQtsTEhWjyZ" Content-Disposition: inline --wcnlgDQtsTEhWjyZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Nov 18, 2022 at 01:53:43PM +0000, Will Deacon wrote: > On Tue, Nov 15, 2022 at 05:13:39PM +0000, Mark Brown wrote: > > Context switch is handled, part of context switch is to restore > > the value from the task struct, but other cases aren't AFAICT. > > This is in general an oversight in our signal testing framework, > > it does not have a pattern of validating values set in signals. > Right, but my question is about going to userspace _before_ we context > switch, so I think there's an issue here. Yes - like I say "other cases aren't AFAICT". --wcnlgDQtsTEhWjyZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmN3kN8ACgkQJNaLcl1U h9DXVQgAhVacyf1qZMrdhkaZGCfWk0f0Sqpqmamb9g9sRZQ8SLyq1+ruthiddN72 SUbYEUM/2Eyncq+vYGpU4ju0Q4BldWC5BGYRRT0cfNgUZs3j28K3QibkcpRz5Y20 W+yN2SWAq7CXbnya38KnGj6lmys4XiR8B+J9GSMICdMX8j9Sofmz4djGdO7NlkUH o4qEAVVJePFWBQC4flWe+VZq/QOFeD3ql9EGuK5DR+CVblK/mGOUQf1RGTNiSLSa Q+6j1p6XlpIan5YD5ReZOimxSoCehzc0ZPpuNhkWiZFH20BWOSx8aiCQjvNKUK+U ROGySFNNWZEMKF7DOXwnJbkMzpi1vw== =uied -----END PGP SIGNATURE----- --wcnlgDQtsTEhWjyZ-- --===============7768241411712690242== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7768241411712690242==--