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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BDCCC7EE2C for ; Mon, 15 May 2023 14:00:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239560AbjEOOA5 (ORCPT ); Mon, 15 May 2023 10:00:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239146AbjEOOAu (ORCPT ); Mon, 15 May 2023 10:00:50 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EDCD2128; Mon, 15 May 2023 07:00:49 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8F45D5C019F; Mon, 15 May 2023 10:00:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 15 May 2023 10:00:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1684159248; x= 1684245648; bh=juiNHrUzx0kPifAlLPcVKdoJyC3AmE7OLGyX51c9DvU=; b=k JlCZf3HpdzCXu1qEjQlf3K302d5suoREVYTdvielGFcRRxsVsoJWAtSNgxGtyJR8 KfTFCD2ma/FEWoZM/i84xr6rEfr8rDN509y6vkH+2RwkIng0WZQd5e3oQU72Wwci RAVUXc3pZngXriyox1AnSJapYb+YR+Xw4T4Lc6p3Ppe7kR1UvGEk7d9Rr+OIwZ5A ++jiuJD3IGZ65U+OlGvyhtfrOp18b9rthHMqffdp7OWtBMpPEqszf8FmxHXOT5qd zO24QjKr+oM/8XhXDir/DvXoI4i/poHcEzKFt77g8MfB+WladJ/TgXE/h+CpNB8F sj161HxifLol9hU7GvXOQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1684159248; x=1684245648; bh=juiNHrUzx0kPi fAlLPcVKdoJyC3AmE7OLGyX51c9DvU=; b=fSvn1l+ENyyL5InwaJoOLz2tG7yQU YEZs2k9DWIqcCsWJNFCx0/NngDpomHnKe1Pi9dpYMFrKhXLvI9SToF2JWMtWYpmb eAMn4odxEEtzFeFBOG6g1DDdc9sjdELXNLeG3nGQ+06XZPEdP3FejMzBWp1u8C0E 2C2+egF4FCpeOD8hbKgpg1x/RD1JnwWCGt0wOEsf+rVuv1WwScs77q5XOSdesvXo g2GqoZB8zIp8QJSVpcVrNcGYei/CA/YXDOY2RdOqdxLRhWb8XHKcKqFHOOhsah7v OSNOjNxhFwcxz8XKQk2olUC6nY65J4yna4PK7IBkoJVMhqOGUc6K/Fyag== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeehjedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdttddttddtvdenucfhrhhomhepfdfmihhr ihhllhcutedrucfuhhhuthgvmhhovhdfuceokhhirhhilhhlsehshhhuthgvmhhovhdrnh grmhgvqeenucggtffrrghtthgvrhhnpefhieeghfdtfeehtdeftdehgfehuddtvdeuheet tddtheejueekjeegueeivdektdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehkihhrihhllhesshhhuhhtvghmohhvrdhnrghmvg X-ME-Proxy: Feedback-ID: ie3994620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 May 2023 10:00:47 -0400 (EDT) Received: by box.shutemov.name (Postfix, from userid 1000) id 3291410D1DE; Mon, 15 May 2023 17:00:46 +0300 (+03) Date: Mon, 15 May 2023 17:00:46 +0300 From: "Kirill A. Shutemov" To: Ard Biesheuvel Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Evgeniy Baskov , Borislav Petkov , Andy Lutomirski , Dave Hansen , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Alexey Khoroshilov , Peter Jones , Gerd Hoffmann , Dave Young , Mario Limonciello , Kees Cook , Tom Lendacky , "Kirill A . Shutemov" , Linus Torvalds Subject: Re: [PATCH v2 04/20] x86: decompressor: Use standard calling convention for trampoline Message-ID: <20230515140046.yaxvt462bt6ovew2@box.shutemov.name> References: <20230508070330.582131-1-ardb@kernel.org> <20230508070330.582131-5-ardb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230508070330.582131-5-ardb@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 08, 2023 at 09:03:14AM +0200, Ard Biesheuvel wrote: > Update the trampoline code so its arguments are passed via RDI and RSI, > which matches the ordinary SysV calling convention for x86_64. This will > allow us to call this code directly from C. > > Signed-off-by: Ard Biesheuvel Acked-by: Kirill A. Shutemov -- Kiryl Shutsemau / Kirill A. Shutemov