Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8902401rwb; Thu, 24 Nov 2022 05:48:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf6QXmjvO6k6gesbNUyaqtVH8KD+YkVWNfmKIOmy6DqUYd18wDYrfID1av5r2J3zOtwogXbC X-Received: by 2002:a17:90a:a012:b0:20d:7c09:c92d with SMTP id q18-20020a17090aa01200b0020d7c09c92dmr35182349pjp.95.1669297684179; Thu, 24 Nov 2022 05:48:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669297684; cv=none; d=google.com; s=arc-20160816; b=1GsmfL3xs7EF53nk2bj0jqvh3ZYb1eY3V83agrw7b24wT6b50hkUo/oWGynhtrsnU9 Ugx0yYuUgO8VJJvzxpRuoXuKH9NRJ8kOhmpcQmYOLB50leAKatv96NrfMBcDio6HImMY OWOnIG8sytf+vE7fv7qdu3unhqm5uk6JjNFNpVPjskJiAEifVJQtZ1orZmKF8kBXCsCi nXu3Yv6XaUwSyHfVt5EYHfZ/rUyI2jNDC6153GMVAtUk4Nh4nEN/YOwLYsa3p1JbsJt/ O98NLxGw8X1iCBP8Tt81o8lBzO4/jVHPtkkX0Pmd1N7cN72aMsMQFuGz7mH/s3ItCllG y+9g== 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=LNtLdszO3foiDTYSgvjJ6h1+flzm24yU1NLSZoWT7CI=; b=cjKv0FZkMnRz/xeubFCY+Ek9EahjJbEi8NoCNthkZZ8ehFO33mxkegEtexPkl/J6O2 lrQF9v3YXi6rFh3VPQUyXMFzuEz0JlCK1EzigLnc6AbpHelvGR3Xb5Q8bDdMe6YyDbHF qO0wfeplct0fxuEgBx6rYTv9J7ElL0+EBQ+1+Bej8lhgjhzYQ/RiuYJFQaFrtpxNE4EL CI76U5PF5jVM4FfRJcqn5W2XSeC2mDRZeJhjcnA1s9KRZrJVcSoBvaF9IHcNobizaIv4 qgYJ7x2IwLid3Axwk9fvCImUKJgQS7zPfqu1K2MyqeRu85tXMY33XouA9clkrJQwZktb G7Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=CPp9slZz; 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 i28-20020a63131c000000b00434f938b9efsi1417590pgl.4.2022.11.24.05.47.53; Thu, 24 Nov 2022 05:48:04 -0800 (PST) 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=CPp9slZz; 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 S229891AbiKXNap (ORCPT + 86 others); Thu, 24 Nov 2022 08:30:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbiKXNan (ORCPT ); Thu, 24 Nov 2022 08:30:43 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5350A4641 for ; Thu, 24 Nov 2022 05:30:41 -0800 (PST) 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 7E9D6218BB; Thu, 24 Nov 2022 13:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1669296640; 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=LNtLdszO3foiDTYSgvjJ6h1+flzm24yU1NLSZoWT7CI=; b=CPp9slZzK47sh8IIDmrE+Ezw924C4RpWd1/kluMqIxzZ5Js7dcBMtC9jjZuk6N8JvKwdJA f01XiCnXbySz0BpsHzItQqTBPU5otGfYzBfROszJJjddZCRZBG8QUL8BcHUu5iFM9f9TC2 NJapIpT7/9zYtSRvt8cFoFfhyJmHdzA= 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 3667613B4F; Thu, 24 Nov 2022 13:30:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id /PPHCwByf2OtKAAAMHmgww (envelope-from ); Thu, 24 Nov 2022 13:30:40 +0000 Message-ID: Date: Thu, 24 Nov 2022 14:30:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v3] x86/boot: skip realmode init code when running as Xen PV guest Content-Language: en-US To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , Boris Ostrovsky , xen-devel@lists.xenproject.org References: <20221123114523.3467-1-jgross@suse.com> From: Juergen Gross In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------0VLKXo0fwrqmfGnX066jb0rg" 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 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) --------------0VLKXo0fwrqmfGnX066jb0rg Content-Type: multipart/mixed; boundary="------------i6mFkV7gpV2Meh114x82itrq"; protected-headers="v1" From: Juergen Gross To: Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , Dave Hansen , "H. Peter Anvin" , Boris Ostrovsky , xen-devel@lists.xenproject.org Message-ID: Subject: Re: [PATCH v3] x86/boot: skip realmode init code when running as Xen PV guest References: <20221123114523.3467-1-jgross@suse.com> In-Reply-To: --------------i6mFkV7gpV2Meh114x82itrq Content-Type: multipart/mixed; boundary="------------6t4UKZUx5RittVqXvsy08yw4" --------------6t4UKZUx5RittVqXvsy08yw4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjQuMTEuMjIgMTQ6MjgsIEJvcmlzbGF2IFBldGtvdiB3cm90ZToNCj4gT24gV2VkLCBO b3YgMjMsIDIwMjIgYXQgMTI6NDU6MjNQTSArMDEwMCwgSnVlcmdlbiBHcm9zcyB3cm90ZToN Cj4+IFdoZW4gcnVubmluZyBhcyBhIFhlbiBQViBndWVzdCB0aGVyZSBpcyBubyBuZWVkIGZv ciBzZXR0aW5nIHVwIHRoZQ0KPj4gcmVhb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sbChjYWxsX2luaXRfcmVh bF9tb2RlKTsNCj4gDQo+IEknbGwgbmFtZSB0aGF0IG9uZSAiZG9faW5pdF9yZWFsX21vZGUi IGFzICJjYWxsIGluaXQiIHNvdW5kcyB3ZWlyZC4NCg0KRmluZSB3aXRoIG1lLg0KDQo+IA0K PiBPdGhlcndpc2UsIGl0IGlzIGFzIHN0cmFpZ2h0Zm9yd2FyZCBhcyBpdCBnZXRzLg0KDQpU aGFua3MsDQoNCg0KSnVlcmdlbg0KDQo= --------------6t4UKZUx5RittVqXvsy08yw4 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/sEOv8Mr4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U8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------6t4UKZUx5RittVqXvsy08yw4-- --------------i6mFkV7gpV2Meh114x82itrq-- --------------0VLKXo0fwrqmfGnX066jb0rg Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmN/cf8FAwAAAAAACgkQsN6d1ii/Ey98 twf8CbDMNAfrpw7TxPRC2w32+D69rQq2LyrXAC8AmzYM+HXju0pd51kwTs40Tw3VO9rRRMIXKvQo u0FB+TKhlkUERVyFn36qNat11KrhhR7cDZmTKRjy32C658RPe6fL5zXoWk8PlKF9N570jVQVPk1g mP/hRpfAxG8RMpanxyaaFrCvOkHveSo3KNwjnZ/gPb0gmUUCKRmSJq+s9DySzwt1nR0tlAV5yWO1 qp5wycgReDaK+YL8lgnrxpORDMu1UYOBDpNeY4zAZucnIugR8rRyOwLLxgy6kykEmHVoGNxcmAmZ bmPB/cX8yOOZ32jIefDkJrN6LCRqKC0J36YArIw3gg== =hXrX -----END PGP SIGNATURE----- --------------0VLKXo0fwrqmfGnX066jb0rg--