Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp763823rwi; Thu, 20 Oct 2022 05:07:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7pLU+v3GzubQCUUxsCwqkg/pwdxdm9ZZny6a8bzb3BBEUnPj1peV5sbniRI+ZbnACidvCW X-Received: by 2002:a17:907:918e:b0:78d:b87e:7051 with SMTP id bp14-20020a170907918e00b0078db87e7051mr10828229ejb.227.1666267629535; Thu, 20 Oct 2022 05:07:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666267629; cv=none; d=google.com; s=arc-20160816; b=HObUz0sl85mXAMvQOvfgOVLVKcZ94sCdIy3ZH5EfHr2wEFsRYdLtxjXYIqPn+CJssG 0V/XmPzpHHeUS2RM28nSFtQxhphAYjrjjMXvrwrmlxAkz28+zJi4slBVTXIpCl5BnBkp YORatQ82rAIvdPUMlLgqCyiWUS7Vlrdl+mOmJ5/5zvetHukISXVo+qUQpGJ6g4rVA5MT e0+FHC1TQ+bxDSkbozTaNYG+TlIICulVE+wph3AcmMYoAao0URYsSjzd01xVYvDmt73V gcd6CRq1KBaaRHWcFp9bWjDcmgO5v1Cj+Sfypdt9K5zA+sdHyWTZU21fEqEbFGKWt/G3 S7fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=V6I+YxKK/S0zNtNkARnSZrYfff5kmB3ES2zI+J4f4Co=; b=k1vPHNC3X1n2N6RRk7n1x8/Y5sh2no4swrAfbZfemgqJok9DU/nnf+HLupOYMfpLgs EBLP43OWfpN9Ojkhjr2Cs0wZLP6yWoi4ouhpi24uXrMVW+A1Ta80K9dSDST24xyDzK6p BXAV7vSVStr4UUrmy1oqVtEglJRDExCx6lfzLchTmtCvPIOWBfhXSWLjduAcXDCzbCcz umHoTYiOFeRawGsE4Rdg1bFrkuD4tW/VSeSnfZx6M+wvaSCq53bKbc6fhP6V4+lAWXz+ VU4nZvSmmsnIZLKQ+9l9VOirBwatq/UsNNcLErQtdsaSiig+lNx0sfz11/HaQ897/gKx L2mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=SyngHn68; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b6-20020a056402278600b004593671898esi18988328ede.611.2022.10.20.05.06.39; Thu, 20 Oct 2022 05:07:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=SyngHn68; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231126AbiJTLlr (ORCPT + 99 others); Thu, 20 Oct 2022 07:41:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbiJTLlp (ORCPT ); Thu, 20 Oct 2022 07:41:45 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82AC21DB8AF for ; Thu, 20 Oct 2022 04:41:44 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3D5CE1FD3F; Thu, 20 Oct 2022 11:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1666266103; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V6I+YxKK/S0zNtNkARnSZrYfff5kmB3ES2zI+J4f4Co=; b=SyngHn68Jf/MsSgqzkpUHw/+ySnRwv57RteCu8ANICjJpIjMg8f3P+tHZkQoPb+BIFd103 U/WOPiYkAcKrlWR9y9g1Yb/bVvUdJKmDM4DhOK9OiAAKeVlbS3Kch/JX5FfXw4vZPUR0Na mrjK/35p7dE15VQjgAoxETH+L271GWc= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id F116C13494; Thu, 20 Oct 2022 11:41:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id fyx0OfYzUWMiCQAAMHmgww (envelope-from ); Thu, 20 Oct 2022 11:41:42 +0000 Message-ID: <87deb6d1-b2e3-2560-4b49-d50819d3c4a7@suse.com> Date: Thu, 20 Oct 2022 13:41:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] x86/xen: simplify sysenter and syscall setup Content-Language: en-US To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Boris Ostrovsky , Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , xen-devel@lists.xenproject.org References: <20221020113619.17204-1-jgross@suse.com> From: Juergen Gross In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------vtDvH23fSoPYeW7IhPhy6DE0" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------vtDvH23fSoPYeW7IhPhy6DE0 Content-Type: multipart/mixed; boundary="------------bwGP5d4dr6G0cwG7AfrgUIIv"; protected-headers="v1" From: Juergen Gross To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Boris Ostrovsky , Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , xen-devel@lists.xenproject.org Message-ID: <87deb6d1-b2e3-2560-4b49-d50819d3c4a7@suse.com> Subject: Re: [PATCH] x86/xen: simplify sysenter and syscall setup References: <20221020113619.17204-1-jgross@suse.com> In-Reply-To: --------------bwGP5d4dr6G0cwG7AfrgUIIv Content-Type: multipart/mixed; boundary="------------HmUrsrQGm7kygNSsiWRZ0Rnj" --------------HmUrsrQGm7kygNSsiWRZ0Rnj Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjAuMTAuMjIgMTM6MzksIEJvcmlzbGF2IFBldGtvdiB3cm90ZToNCj4gT24gVGh1LCBP Y3QgMjAsIDIwMjIgYXQgMDE6MzY6MTlQTSArMDIwMCwgSnVlcmdlbiBHcm9zcyB3cm90ZToN Cj4+IHhlbl9lbmFibG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HJ5X1NZU0VOVEVSX2NvbXBh dCk7DQo+PiAtCWlmKHJldCAhPSAwKQ0KPj4gLQkJc2V0dXBfY2xlYXJfY3B1X2NhcChzeXNl bnRlcl9mZWF0dXJlKTsNCj4+ICsJaWYgKGJvb3RfY3B1X2hhcyhYODZfRkVBVFVSRV9TWVNF TlRFUjMyKSAmJg0KPiANCj4gQ2FuIHlvdSBzd2l0Y2ggdGhhdCBhbmQgYmVsb3cgdG8gY3B1 X2ZlYXR1cmVfZW5hYmxlZCgpIHdoaWxlIGF0IGl0LCBwbHM/DQo+IA0KPj4gKwlpZiAoYm9v dF9jcHVfaGFzKFg4Nl9GRUFUVVJFX1NZU0NBTEwzMikgJiYNCj4gCV5eXl5eXl5eXl5eXl5e Xl5eXg0KDQpZZXMsIG9mIGNvdXJzZS4NCg0KDQpKdWVyZ2VuDQo= --------------HmUrsrQGm7kygNSsiWRZ0Rnj Content-Type: application/pgp-keys; name="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Disposition: attachment; filename="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjri oyspZKOBycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2 kaV2KL9650I1SJvedYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i 1TXkH09XSSI8mEQ/ouNcMvIJNwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/B BLUVbDa4+gmzDC9ezlZkTZG2t14zWPvxXP3FAp2pkW0xqG7/377qptDmrk42GlSK N4z76ELnLxussxc7I2hx18NUcbP8+uty4bMxABEBAAHNHEp1ZXJnZW4gR3Jvc3Mg PGpnQHBmdXBmLm5ldD7CwHkEEwECACMFAlOMcBYCGwMHCwkIBwMCAQY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cfl0+rPghO0I v3OOImwTEe4co3c1mwARAQABwsBfBBgBAgAJBQJTjHAWAhsMAAoJELDendYovxMv Q/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------HmUrsrQGm7kygNSsiWRZ0Rnj-- --------------bwGP5d4dr6G0cwG7AfrgUIIv-- --------------vtDvH23fSoPYeW7IhPhy6DE0 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmNRM/YFAwAAAAAACgkQsN6d1ii/Ey8U wwf+MqIhga3kLFK72rcr8wgUGEftDN6xfKkEp7YjwYdRQwDcav68bu3qQpyuGT4kFCSiBFnKSO2A ca/91jZ2ly6Xv+CZuaTZ5aDjDVIkZWyIlvfUi0VPRMmTZj5CFCvjvZ31gArIPiQUe2L7pqZW6/WT oHS6qYTvjuyCNxNCahgwSKiIsejTsc5D+Xl/NtYfld2y7qQQOG3kTMn3+9fzkLDv3lxakUKtl5WH LHdoQaM/FOPih/yzHiIFr0MKEknSGCmy7L4RcuAqrzbT4bhzP4DzVMFkad2zoJmFpwciswgMSrxa Heonb2lOas2Fo9cWIaA3/RneJbrEawV+rWDLADrJIw== =+9Xr -----END PGP SIGNATURE----- --------------vtDvH23fSoPYeW7IhPhy6DE0--