Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6766115rwb; Tue, 15 Nov 2022 03:29:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf7LDi5oWRo19lVsSMSjX2BcCPKlbQvJ/cS/JaAkE/l6VxUrHGwxT+Lj5bDlxM5zIwaAcTZZ X-Received: by 2002:a63:cd09:0:b0:46f:f911:eee with SMTP id i9-20020a63cd09000000b0046ff9110eeemr15788642pgg.432.1668511769846; Tue, 15 Nov 2022 03:29:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668511769; cv=none; d=google.com; s=arc-20160816; b=yyEoyDrH2GUO76q0n8r3An9s+EsQ1Ta/WatxqrPMkdJhALu0PAzFPERy6E1Br4AsnJ 4AFE3IAoPqc0Y3tihjqYpKvVGLlKKOBoSU/jbDM2NAbcQsHBX2DXh3YTHMET+2N1jxbU a7m5p1rniS9+acSI63oJAdc33vnSuxEhCNrhEB3kky473tvgnfvZhBfkDEKjmL9OU8LM j2ifjlPNx05kwFlibhV9Byaw22Lrz1cKRPPryOcfoylPXLKMPAM1OmlwJsp4qntk5OZh IKlQdfrbre657ooD6Y6+mP9XH2cH0Hg54NCGQRJBCS1p0+s5QzYwECEEw1v4lYmRSDlu GuXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iqUkLKMWetxacvM0s/sm7PL0RcUbsTjPh/d4FqV8Klw=; b=oPY+lSra0bOOyRGPg3wo3Oe7Z2RdykT5F/IsvANK8adwa6xNQOyyCAf39rj6XW5l5V ew7LYcFsu6sHjoyBD0YR+wdBb83dm2cM2heLUGWZKTVmZoAttCXInD3qY7G0tUjDfXa1 xeIV2VPNmO5W93KQn19Zpr03p8L6LsgHyy7CXo63B/REjrqPUNbY49t+sQJxEDW+z/zi Iigm78KdlQFoSgMGqygdri6FPbN6Gj2K3zp3DgUcRwI9gvSd3Le0b71rnM4veWRXpDk3 Qz0+b1YQehDZdkkERNcQQnjRfK111kvycR6TvHn6VWjdWyzwtIhR08byT9mi3vtAcEZX 33bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=YLisgLf3; 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=amazon.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v5-20020a170902b7c500b00176db576db9si10962241plz.275.2022.11.15.03.29.18; Tue, 15 Nov 2022 03:29:29 -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=@amazon.de header.s=amazon201209 header.b=YLisgLf3; 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=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238280AbiKOLA4 (ORCPT + 89 others); Tue, 15 Nov 2022 06:00:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229959AbiKOLAQ (ORCPT ); Tue, 15 Nov 2022 06:00:16 -0500 Received: from smtp-fw-9102.amazon.com (smtp-fw-9102.amazon.com [207.171.184.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C141D5593; Tue, 15 Nov 2022 02:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1668509983; x=1700045983; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=iqUkLKMWetxacvM0s/sm7PL0RcUbsTjPh/d4FqV8Klw=; b=YLisgLf3GHtGkLQecV1jOwwuM14EdQc/urMRMG4LWL6fnLpo/2ttPhxH Qicx/FihRKtWl50c6oRnzjaDLGSy1M4m1Smrx17e308yk4Nr/cFZRRs2p sJ+ffQdH2O0TKNhC7Y4eoBsLmwf/UnqtP9OjdiJtzonw7Nen9sfi1siuj g=; X-IronPort-AV: E=Sophos;i="5.96,165,1665446400"; d="scan'208";a="280055256" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-pdx-2a-m6i4x-3ef535ca.us-west-2.amazon.com) ([10.25.36.210]) by smtp-border-fw-9102.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 10:59:37 +0000 Received: from EX13MTAUWC002.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2a-m6i4x-3ef535ca.us-west-2.amazon.com (Postfix) with ESMTPS id DBF93609AD; Tue, 15 Nov 2022 10:59:36 +0000 (UTC) Received: from EX19D020UWC004.ant.amazon.com (10.13.138.149) by EX13MTAUWC002.ant.amazon.com (10.43.162.240) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 15 Nov 2022 10:59:30 +0000 Received: from [0.0.0.0] (10.43.162.178) by EX19D020UWC004.ant.amazon.com (10.13.138.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.20; Tue, 15 Nov 2022 10:59:28 +0000 Message-ID: <3a902a4a-207a-6c5c-d2a6-61c9a5d6e1c5@amazon.de> Date: Tue, 15 Nov 2022 11:59:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] KVM: x86/vmx: Do not skip segment attributes if unusable bit is set Content-Language: en-US To: Hendrik Borghorst CC: Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , , "H. Peter Anvin" , , References: <20221114164823.69555-1-hborghor@amazon.de> From: Alexander Graf In-Reply-To: <20221114164823.69555-1-hborghor@amazon.de> X-Originating-IP: [10.43.162.178] X-ClientProxiedBy: EX13D45UWB002.ant.amazon.com (10.43.161.78) To EX19D020UWC004.ant.amazon.com (10.13.138.149) Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H2,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 Ck9uIDE0LjExLjIyIDE3OjQ4LCBIZW5kcmlrIEJvcmdob3JzdCB3cm90ZToKPiBXaGVuIHNlcmlh bGl6aW5nIGFuZCBkZXNlcmlhbGl6aW5nIGt2bV9zcmVncywgYXR0cmlidXRlcyBvZiB0aGUgc2Vn bWVudAo+IGRlc2NyaXB0b3JzIGFyZSBzdG9yZWQgYnkgdXNlciBzcGFjZS4gRm9yIHVudXNhYmxl IHNlZ21lbnRzLAo+IHZteF9zZWdtZW50X2FjY2Vzc19yaWdodHMgc2tpcHMgYWxsIGF0dHJpYnV0 ZXMgYW5kIHNldHMgdGhlbSB0byAwLgo+Cj4gVGhpcyBtZWFucyB3ZSB6ZXJvIG91dCB0aGUgRFBM IChEZ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