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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B7CDC433F5 for ; Mon, 11 Oct 2021 20:12:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id EAC0760E05 for ; Mon, 11 Oct 2021 20:12:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EAC0760E05 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=RAx15LzMF2dOchVqQ9M4z8PML2ji3hpPYH5wE7GsvZs=; b=TE3+SmD8aAaSUv2ENYXJ5qCoMN atLHZSfDTsUAPq6pcEeYHgLC3z6PCOBVhjMEMrUXqMuIKP9zMI+Dbxrr++rfpUzVbbOGUN927b4RS AczNI/V62Q4PwUa6r8odgjWcqale+tx1mc3s8n5pagy5paJ+WNEVkI71hRjbniJ/AfYtajvr9rTFf tVSMqjLZouhshuP6B/Jva69FqLTH3d3tItOW1QXuuL3lCJVE5NrUcfMbFN16e2lgxLiPw0iSoJmJt RA7XjtnaiuGTw5j24efEqI6agDp6v0nyj8C2bEotIuI3M4HMWRYiHyXQDMrSJmdQOuYe0r5QwJZ6L KrHroQXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ma1ci-00AZMu-C1; Mon, 11 Oct 2021 20:10:12 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ma1ce-00AZMS-Jg for linux-arm-kernel@lists.infradead.org; Mon, 11 Oct 2021 20:10:09 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8548860E54; Mon, 11 Oct 2021 20:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633983008; bh=3ZMlnBCJ9VeMjnrQY1dZrPrVF4Rw56UmLkBkE58B8uE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jMap5lamOvxqdl4QOdTgduFOWxtqUlFBbJboVHlitrBbwPGCx6WUaRK8oh+334h+t L/QQwEZeCtn1gKmlarui+pg35XaSPvpKSHbUkz5Kr8W2rBKXasYjCYCDzLD29wIcGO Nnr/vO8VzxgtnWnOoxJg9u6Luih/2fz2ZlwszghV0hAd90UvCICruefTVkLJbnq6ZO LR8O6NRH1BmYdhwJhn98nOxdIDrBj8X6Hq+S2z6ZJ4IjARHKxXcNAwyY/LpZGeKMcE w/LLQvcjXXPBH4Z/4jWpJBEZDptGKM3hyfbUtL9V3HDkj9uwwKYnNGtKvYMnhYHirc +aW5uhhpPAv2A== Date: Mon, 11 Oct 2021 21:10:05 +0100 From: Mark Brown To: Szabolcs Nagy Cc: Catalin Marinas , Will Deacon , Shuah Khan , Shuah Khan , Alan Hayward , Luis Machado , Salil Akerkar , Basant Kumar Dwivedi , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Richard Sandiford Subject: Re: [PATCH v1 12/38] arm64/sme: Provide ABI documentation for SME Message-ID: References: <20210930181144.10029-1-broonie@kernel.org> <20210930181144.10029-13-broonie@kernel.org> <20211011131730.GL2700@arm.com> <20211011141937.GM2700@arm.com> MIME-Version: 1.0 In-Reply-To: <20211011141937.GM2700@arm.com> X-Cookie: May contain nuts. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211011_131008_692623_C2E3CBA3 X-CRM114-Status: GOOD ( 10.84 ) 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="===============6822236681003691606==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6822236681003691606== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2Ut2fhagX+Q0sTMt" Content-Disposition: inline --2Ut2fhagX+Q0sTMt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 11, 2021 at 03:19:37PM +0100, Szabolcs Nagy wrote: > if fork resets tpidr2 then returning to a stack frame > that set tpidr2 could cause clobbered za state. > (userspace can fix this up, but if we want this case > to work then it's better to fix it on the kernel side) OK, that makes sense. I've changed the code and the kselftest so that TPIDR2 is preserved on thread creation. --2Ut2fhagX+Q0sTMt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFkmhwACgkQJNaLcl1U h9DYIwf/SdjGcrk+B6BeNC/Ct9Vu1tEGt+28v6DFGGo1syrzRhtCaCyW6jZh3oJM Rz4YRRuVx/eoH7DdB4ReUFQ7gXhONMWsH+8DynWMP6hBd0HB4Rc2rMIsWVwecKQ6 qgGcb93O3bc5IGhzqPNAPcSa49GGAXXZ8ce56LSQcI1Kkh4D5/m8advYBX0TMH+E DF2xWhvT/VkWDMP8a/VTbVmRgGp399y2gx3/W/wLy0tEmmNt+p3VoQeX4HztOTST tg9vQgkR3l9obAJdE8VbYU5JOqYmCB8ZmB6L7sjIn0PiqphVpXfWt9SQGnF9bBKW sTYAOVPir8vBkeQ9ydwmaLDbvBwXFQ== =xgvx -----END PGP SIGNATURE----- --2Ut2fhagX+Q0sTMt-- --===============6822236681003691606== 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 --===============6822236681003691606==--