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 E1D45C433EF for ; Wed, 13 Oct 2021 15:44:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B7EEC61154 for ; Wed, 13 Oct 2021 15:44:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229903AbhJMPq3 (ORCPT ); Wed, 13 Oct 2021 11:46:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:47774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229715AbhJMPq2 (ORCPT ); Wed, 13 Oct 2021 11:46:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0FB64610CF; Wed, 13 Oct 2021 15:44:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634139865; bh=cnGlpW9Ly5FilYoIQdSEYJWtCFx9ARHjDe1Sg0ekjmw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CzajSGMwhKw54NOGhnE7F2IsJip06oWdwjPXrsJYaGK3G06B+XFFlztuYx4c9XNoI LidxNwB3DdGNxDs7GLMCJP1iB2KRAHG251FK3lWdOyZ3vowZPAkvVPDEFHtV+bJucF 4dixNEHdc+FAeU6zcpd2qZFrWSL3sbltSgvY50rPHqf6EOTLV4tHhN5MMl5Jp0f8bX u7GfmPdSCsrEQIxDhCIlvMmwXCZv7wtbyvfeDdG8VTGr1U0EO2Fsme5nyxZfmT6PGF 2r1zZHnPouBvQf9/2mmPLQUxJn0hUmg9yDeHJ2IkKFWJbJo2jQhjCAgSouVXxlSlyh hrHlN/4zmP3AQ== Date: Wed, 13 Oct 2021 16:44:23 +0100 From: Mark Brown To: Ard Biesheuvel Cc: linux-arm-kernel@lists.infradead.org, linux-hardening@vger.kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will@kernel.org Subject: Re: [RFC PATCH 6/9] arm64: smccc: create proper stack frames for HVC/SMC calls Message-ID: References: <20211013152243.2216899-1-ardb@kernel.org> <20211013152243.2216899-7-ardb@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OIhNViKtqllNxFTS" Content-Disposition: inline In-Reply-To: <20211013152243.2216899-7-ardb@kernel.org> X-Cookie: Where do you think you're going today? Precedence: bulk List-ID: X-Mailing-List: linux-hardening@vger.kernel.org --OIhNViKtqllNxFTS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 13, 2021 at 05:22:40PM +0200, Ard Biesheuvel wrote: > Create proper stack frames using the provided macros for HVC/SMC calling > helpers that use the stack. This adds the PAC return address signing > when enabled, and ensures that the unwinder can deal with occurrences > of these routines appearing on the call stack. Reviewed-by: Mark Brown --OIhNViKtqllNxFTS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFm/tYACgkQJNaLcl1U h9ClQQf/bxzPA/9s7Ggzd9YOq7uB9uMWO0CmgMzktgGs1JDQmAETht/rOoqRm5tU zgDhHwbag7KbrViGK2SPpzm3iXvEM6omtIy7HY+4OsCxeZhPsjvhCMECFBilXT/5 NT61hz68sOHP6bujzZqd6BFZRtXQ2DCl/KyXdWExPyQdM38JiE4201j5+0Qozngm c+5XRRnzVbKBF5gSdGE9vmwvGiT0THotq7WCWqORir+R8PAGwlwALAnvyJs8mGrW EE7zOew/jxa5IeAoBJYYIn5McQGRBD53cymqfbg0iAG7NkZau1tNLCtIc5rGYoF8 L/1oZ+dcCHKnCw7kAEsQo8SlkqgbKQ== =/qA3 -----END PGP SIGNATURE----- --OIhNViKtqllNxFTS-- 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 43FADC4167D for ; Wed, 13 Oct 2021 15:46:20 +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 121F761186 for ; Wed, 13 Oct 2021 15:46:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 121F761186 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=WEQ0Bljvjxiv74CBqCadMy7wpPOb/bzXvtm5szh6WB8=; b=fYr80v/ok0tBQCkwbyjJO0lgl8 Y1Dw0XNcg9Vs9f4IUoMyI23GVaKStJBRxA2D3gPsczkZ2naGY8J8Eye65xpN5lBREJk+9r2p5ENHu 15ckuGIJJ2ZhY5XEkQOxQVQqA4/EYtFzkhdcZZuvaKCnSIxVK4cKs9PnQ7H4C7U4biu8mwDMX9Vci tS5jrCd8HvLJNFhvlwib265NDPT6Eex3E4wdq21TeF22PlEa9sCIXsl2Gas4qwRxxgUB9r27UeMo2 a284yvKimPFPhnHd2Bv0p3+STdyeeJV4+nLBJJtQvUgIunsKdfPP6qSB1iGzFMPNseTDoCbPiyN+c KwU5fmfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1magQf-00HQSa-Bz; Wed, 13 Oct 2021 15:44:29 +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 1magQb-00HQSF-T1 for linux-arm-kernel@lists.infradead.org; Wed, 13 Oct 2021 15:44:27 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0FB64610CF; Wed, 13 Oct 2021 15:44:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634139865; bh=cnGlpW9Ly5FilYoIQdSEYJWtCFx9ARHjDe1Sg0ekjmw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CzajSGMwhKw54NOGhnE7F2IsJip06oWdwjPXrsJYaGK3G06B+XFFlztuYx4c9XNoI LidxNwB3DdGNxDs7GLMCJP1iB2KRAHG251FK3lWdOyZ3vowZPAkvVPDEFHtV+bJucF 4dixNEHdc+FAeU6zcpd2qZFrWSL3sbltSgvY50rPHqf6EOTLV4tHhN5MMl5Jp0f8bX u7GfmPdSCsrEQIxDhCIlvMmwXCZv7wtbyvfeDdG8VTGr1U0EO2Fsme5nyxZfmT6PGF 2r1zZHnPouBvQf9/2mmPLQUxJn0hUmg9yDeHJ2IkKFWJbJo2jQhjCAgSouVXxlSlyh hrHlN/4zmP3AQ== Date: Wed, 13 Oct 2021 16:44:23 +0100 From: Mark Brown To: Ard Biesheuvel Cc: linux-arm-kernel@lists.infradead.org, linux-hardening@vger.kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will@kernel.org Subject: Re: [RFC PATCH 6/9] arm64: smccc: create proper stack frames for HVC/SMC calls Message-ID: References: <20211013152243.2216899-1-ardb@kernel.org> <20211013152243.2216899-7-ardb@kernel.org> MIME-Version: 1.0 In-Reply-To: <20211013152243.2216899-7-ardb@kernel.org> X-Cookie: Where do you think you're going today? X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211013_084425_975004_C3C58DC6 X-CRM114-Status: UNSURE ( 9.09 ) 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: multipart/mixed; boundary="===============6783873162396821380==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6783873162396821380== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OIhNViKtqllNxFTS" Content-Disposition: inline --OIhNViKtqllNxFTS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 13, 2021 at 05:22:40PM +0200, Ard Biesheuvel wrote: > Create proper stack frames using the provided macros for HVC/SMC calling > helpers that use the stack. This adds the PAC return address signing > when enabled, and ensures that the unwinder can deal with occurrences > of these routines appearing on the call stack. Reviewed-by: Mark Brown --OIhNViKtqllNxFTS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFm/tYACgkQJNaLcl1U h9ClQQf/bxzPA/9s7Ggzd9YOq7uB9uMWO0CmgMzktgGs1JDQmAETht/rOoqRm5tU zgDhHwbag7KbrViGK2SPpzm3iXvEM6omtIy7HY+4OsCxeZhPsjvhCMECFBilXT/5 NT61hz68sOHP6bujzZqd6BFZRtXQ2DCl/KyXdWExPyQdM38JiE4201j5+0Qozngm c+5XRRnzVbKBF5gSdGE9vmwvGiT0THotq7WCWqORir+R8PAGwlwALAnvyJs8mGrW EE7zOew/jxa5IeAoBJYYIn5McQGRBD53cymqfbg0iAG7NkZau1tNLCtIc5rGYoF8 L/1oZ+dcCHKnCw7kAEsQo8SlkqgbKQ== =/qA3 -----END PGP SIGNATURE----- --OIhNViKtqllNxFTS-- --===============6783873162396821380== 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 --===============6783873162396821380==--