Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2258615rwi; Fri, 21 Oct 2022 01:29:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6KK6bupvHELT3otJ+SpmNA2Ea5LRtGzXxk6xKMiSnxI5AB4cph6wnWap+AFENHsNuU1c9A X-Received: by 2002:a17:907:75f2:b0:78d:49a6:5052 with SMTP id jz18-20020a17090775f200b0078d49a65052mr14067932ejc.680.1666340953976; Fri, 21 Oct 2022 01:29:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666340953; cv=none; d=google.com; s=arc-20160816; b=xQGQ7rlqhLUANWShthAqiVNl99FR7tmZLmkFHzh/a19rPMDYAOYAGxkQBUJxAlx8Fh GvD8/KjtyZ3W5ZRvORl1Hvo5Z3xeM+MLl5aPT/4QC2C+e7xOYPYz9+95FrHbHzwnVeOu 26g5yqBygOablKmm5q7f3OScYxCj0QyCS/17dOKHeoKvyqVHsTyBA80BLGaZ6RMwqJQK O7YdlSrrTy1FMiu1ZdCeuTV4SA5+K0xTE+u6IvAe5sHYznfFglTQKdmt+g4lscoivPVI YZbe4+8JRycCIz6DJhAf1+kiIDhTm+7mLFKZh1pHzKyNHTFSH+QQLDcAi0Ejx19I6E2H xMrA== 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=uX9o9PYJhdJZeUz3Er72UTs/X4+CPAFUfI3wOc5u00g=; b=fkfrXSLEF+j3eXLzg0taNVVWqx3eJcgeCmvffTxTU+ScrEurodyf+7aqGsKXU/o7C/ tqESr/IsCJ1ziEKMinXenstYz8xOvhEPA0KNy5QKSNgLwqTw1iueNpGF7ZhdwH0T+QIn TxtJE8JIhy2XdXcja4h3u0x46wAmBV5HlWpjG3oWTscGblDZ/EzSqTdEDNZKHCRicYqu Q3coBc2mXMQpw9aL6JemwV9gEx6MPGHpRoURIGBrz/ylzAIJgSO7JEHS3wbOeoOFWhqM nLt6qdnZnW3yvur3DAL+L4RsxbplksP24qqzdlr+k5KwUtIJ8P2zIH9Q5LbJ4Kp5CdLy kk7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Gwulg3eD; 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 rs8-20020a170907036800b0078306c5c48asi15666468ejb.250.2022.10.21.01.28.49; Fri, 21 Oct 2022 01:29:13 -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=Gwulg3eD; 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 S229489AbiJUIWE (ORCPT + 99 others); Fri, 21 Oct 2022 04:22:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbiJUIVO (ORCPT ); Fri, 21 Oct 2022 04:21:14 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBB8718E2AB for ; Fri, 21 Oct 2022 01:21:08 -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-out1.suse.de (Postfix) with ESMTPS id 7D1642293C; Fri, 21 Oct 2022 08:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1666340466; 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=uX9o9PYJhdJZeUz3Er72UTs/X4+CPAFUfI3wOc5u00g=; b=Gwulg3eDAvYZL60xX8YC8AYdK/Y+3fT2EYVzsutcMyfhdoqktFypfC8dxYcag/ObZW62Fg dal3bLbIxfkzbvHy9fxKnqWut3e4Sv/FYsjcHadRZLbCMpitJS5J0Nj5M9yjiux/uUHPYk SfYexHwrzaYTBn43EEYeG/tzWYKjpII= 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 26F9C1331A; Fri, 21 Oct 2022 08:21:06 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id rPgECHJWUmObUQAAMHmgww (envelope-from ); Fri, 21 Oct 2022 08:21:06 +0000 Message-ID: <6eb2c033-ea00-8015-fe4f-0438f9790b77@suse.com> Date: Fri, 21 Oct 2022 10:21:05 +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: Andrew Cooper , 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" , "Peter Zijlstra (Intel)" 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="------------WavFKfeHApFt8Lp6zKlzfJ03" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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) --------------WavFKfeHApFt8Lp6zKlzfJ03 Content-Type: multipart/mixed; boundary="------------uP38kK7JYLb5sWnjgN4evDg9"; protected-headers="v1" From: Juergen Gross To: Andrew Cooper , 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" , "Peter Zijlstra (Intel)" Message-ID: <6eb2c033-ea00-8015-fe4f-0438f9790b77@suse.com> Subject: Re: [PATCH] x86/xen: simplify sysenter and syscall setup References: <20221020113619.17204-1-jgross@suse.com> In-Reply-To: --------------uP38kK7JYLb5sWnjgN4evDg9 Content-Type: multipart/mixed; boundary="------------NsylYV4bbPiEAniRCNr0uGoi" --------------NsylYV4bbPiEAniRCNr0uGoi Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjEuMTAuMjIgMTA6MDYsIEFuZHJldyBDb29wZXIgd3JvdGU6DQo+IE9uIDIwLzEwLzIw MjIgMTI6MzksIEJvcmlzbGF2IFBldGtvdiB3c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dF9jcHVf aGFzKHN5c2VudGVyX2ZlYXR1cmUpKQ0KPj4+IC0JCXJldHVybjsNCj4+PiAtDQo+Pj4gLQly ZXQgPSByZWdpc3Rlcl9jYWxsYmFjayhDQUxMQkFDS1RZUEVfc3lzZW50ZXIsIHhlbl9lbnRy eV9TWVNFTlRFUl9jb21wYXQpOw0KPj4+IC0JaWYocmV0ICE9IDApDQo+Pj4gLQkJc2V0dXBf Y2xlYXJfY3B1X2NhcChzeXNlbnRlcl9mZWF0dXJlKTsNCj4+PiArCWlmIChib290X2NwdV9o YXMoWDg2X0ZFQVRVUkVfU1lTRU5URVIzMikgJiYNCj4+IENhbiB5b3Ugc3dpdGNoIHRoYXQg YW5kIGJlbG93IHRvIGNwdV9mZWF0dXJlX2VuYWJsZWQoKSB3aGlsZSBhdCBpdCwgcGxzPw0K PiANCj4gV2h5Pw0KPiANCj4gVGhpcyBmdW5jdGlvbiAoc2hvdWxkKSBiZSBjYWxsZWQgb24g dGhlIEJTUCBvbmx5IChiZWNhdXNlIFhlbidzIEFQSSBsZXRzDQo+IHRoaXMgYmUgc3BlY2lm aWVkIHdoZW4gc3RhcnRpbmcgQVBzKS4NCg0KTm8sIHRoaXMgaXMgdHJ1ZSBmb3IgdGhlIHN5 c2NhbGwgY2FsbGJhY2sgb25seS4gdGhlIHN5c2VudGVyIGFuZCB0aGUgc3lzY2FsbDMyDQpj YWxsYmFja3MgY2FuIG9ubHkgYmUgc2V0IHZpYSBYZW4gdG9vbHMgb3Igb24gdGhlIGxvY2Fs IGNwdSBieSByZWdpc3RlcmluZy4NCg0KPiANCj4gV2hldGhlciBpdCdzIG9uY2UsIG9yIG9u ZSBwZXIgY3B1LCBpdCBkb2Vzbid0IG1hdHRlci4NCg0KSXQgZG9lcy4NCg0KDQpKdWVyZ2Vu DQo= --------------NsylYV4bbPiEAniRCNr0uGoi 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 PGpnQHBmdXBmLm5ldD7CwHkEEwECACMFAlOMcBYCGwMHCwkIBwMCAQYVCAIJCgsE FgIDAQIeAQIXgAAKCRCw3p3WKL8TL0KdB/93FcIZ3GCNwFU0u3EjNbNjmXBKDY4F UGNQH2lvWAUy+dnyThpwdtF/jQ6j9RwE8VP0+NXcYpGJDWlNb9/JmYqLiX2Q3Tye vpB0CA3dbBQp0OW0fgCetToGIQrg0MbD1C/sEOv8Mr4NAfbauXjZlvTj30H2jO0u +6WGM6nHwbh2l5O8ZiHkH32iaSTfN7Eu5RnNVUJbvoPHZ8SlM4KWm8rG+lIkGurq qu5gu8q8ZMKdsdGC4bBxdQKDKHEFExLJK/nRPFmAuGlId1E3fe10v5QL+qHI3EIP tyfE7i9Hz6rVwi7lWKgh7pe0ZvatAudZ+JNIlBKptb64FaiIOAWDCx1SzR9KdWVy Z2VuIEdyb3NzIDxqZ3Jvc3NAc3VzZS5jb20+wsB5BBMBAgAjBQJTjHCvAhsDBwsJ CAcDAgEGFQgCCQoLBBYCAwECHgECF4AACgkQsN6d1ii/Ey/HmQf/RtI7kv5A2PS4 RF7HoZhPVPogNVbC4YA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2RzMNOu 5D+jLRZQd1Sv27AR+IP3I8U4aqnhLpwhK7MEy9oCILlgZ1QZe49kpcumcZKORmzB TNh30FVKK1EvmV2xAKDoaEOgQB4iFQLhJCdP1I5aSgM5IVFdn7v5YgEYuJYx37Io N1EblHI//x/e2AaIHpzK5h88NEawQsaNRpNSrcfbFmAg987ATQRTjHAWAQgAyzH6 AOODMBjgfWE9VeCgsrwH3exNAU32gLq2xvjpWnHIs98ndPUDpnoxWQugJ6MpMncr 0xSwFmHEgnSEjK/PAjppgmyc57BwKII3sV4on+gDVFJR6Y8ZRwgnBC5mVM6JjQ5x Dk8WRXljExRfUX9pNhdE5eBOZJrDRoLUmmjDtKzWaDhIg/+1Hzz93X4fCQkNVbVF LELU9bMaLPBG/x5q4iYZ2k2ex6d47YE1ZFdMm6YBYMOljGkZKwYde5ldM9mo45mm we0icXKLkpEdIXKTZeKDO+Hdv1aqFuAcccTg9RXDQjmwhC3yEmrmcfl0+rPghO0I v3OOImwTEe4co3c1mwARAQABwsBfBBgBAgAJBQJTjHAWAhsMAAoJELDendYovxMv Q/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------NsylYV4bbPiEAniRCNr0uGoi-- --------------uP38kK7JYLb5sWnjgN4evDg9-- --------------WavFKfeHApFt8Lp6zKlzfJ03 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmNSVnEFAwAAAAAACgkQsN6d1ii/Ey/C bggAkxDmRLgLQ3prqBFrN51n3XUJr98tqT3lMGJtyzWNw2ihVqPrg9I1L9e672N4XYd3OYzurj5h QGHTsALHrCHgw2Y1J0d0vpjj962ByY0hoDvEqcdR3BG8sC7Nlqk/zLUwRxwg9sEZ4X38obrltrZZ 6Y/2XXDvIaammWb64pcvZpyIXb6unPy+G0UL+5KJjGTJLNXLB/keaqWXTIqSKe6iXLE7w8aA274T DPMOywd/dmpNN8yjzYX1rUC+V7jv5mNVMi5p6qAPg9JzeLSoPAU490Q33P6a5NiIf+Aja6Zsv2Zw 0U+tTnzNOxD6bt4fYF/W2PADwFU6VFw+6L6lK1LzlA== =zF00 -----END PGP SIGNATURE----- --------------WavFKfeHApFt8Lp6zKlzfJ03--