Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4891571iog; Wed, 22 Jun 2022 07:47:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uKN13QL/0302JxNDysJ6GOll6tIl2ZYrHlrI8xHb0xNyUlXoCT0dV+X/TzwmIg4ULkOvH6 X-Received: by 2002:a63:3fce:0:b0:40c:23a5:2827 with SMTP id m197-20020a633fce000000b0040c23a52827mr3226772pga.314.1655909273541; Wed, 22 Jun 2022 07:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655909273; cv=none; d=google.com; s=arc-20160816; b=RKXB58IbeKtRAQ8+401WvV2yysdotyZiMlhwxhQGEaYmNItdvY7WkM+pjH9MyA23BE rWmYuiMiGkPxOQteDI5e0g6YJmHiLzIxZZlbv66YnymDW1yq58AH219fXiEuRhf6AiJ7 APjUyxYTvh7BawK+okL3llQiW+o88xNdWN4mKJJSfg/SX3+XVC71d5i1XjyQ+VeJvZkX uymdOImYXIZuzbVACXasjE6l2MwhtPmr7F3aaRpj7lqh/Syb9WpY4jHkF3jijBU+L6Nf TgilDwYSWMQoWdaicocpU2QHempiblSoEr6oCXg6PmbUtCICbdi1zhTnAZMt/UDbSupU ZxPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:cc:to:from:thread-topic:subject:dkim-signature; bh=51C7STjo9soGVumHM19bbsfNeQcBRA/3OS6i/6pYTtM=; b=R3JTnz5B0YMDXsvL35UbogbooDA64sAkBSeuJ9NtPwKRQ72SHhvauo1hZJDODcB8rf QMlmw3Mgw7KMJVMnXbRCi8hJ9eemeCbOr25ggan9ikBR+T7LaagwrMUc77rTSAeW/x6E mlyiaGEfLEQ6fo5siBocPIqk1GH3VYhV/OQ23zGzFXgdtzfhjg1FfcXb/9SgwEm2eKpq FYcCEPTYuQhIiLWyw9agm8/GGPcsBl3tpnFIlqeyUIdCot9XNH4Fqvj3V+L7RdhTwFc3 IeD9vOUOUnzUkq/BxDUzO6DiUyrlzoNAgw0Xv/3hpcrBpCcADl6+V1lWDFGv0W65b4tR 8q8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.co.uk header.s=amazon201209 header.b=Rwqzv0KE; 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.co.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h64-20020a636c43000000b003fd84273545si22930173pgc.35.2022.06.22.07.47.42; Wed, 22 Jun 2022 07:47:53 -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=@amazon.co.uk header.s=amazon201209 header.b=Rwqzv0KE; 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.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355512AbiFVOZX (ORCPT + 99 others); Wed, 22 Jun 2022 10:25:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358527AbiFVOY4 (ORCPT ); Wed, 22 Jun 2022 10:24:56 -0400 Received: from smtp-fw-80007.amazon.com (smtp-fw-80007.amazon.com [99.78.197.218]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A27F2369C8; Wed, 22 Jun 2022 07:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.co.uk; i=@amazon.co.uk; q=dns/txt; s=amazon201209; t=1655907893; x=1687443893; h=from:to:cc:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version:subject; bh=51C7STjo9soGVumHM19bbsfNeQcBRA/3OS6i/6pYTtM=; b=Rwqzv0KEdznzNHrGlPBYxXT1HRP3Q/4v3mm5pEAAQ6kLkivu1aYOIG2s DQiuPzaGSfOF1dyfssAgX1oajKjhZ/uezIqoUvDB4Tbs/QXeEz80AVk3C P16T0qJ0x01a/FRI6cAA1lUht9Y2zw9OpOHlE6WbdabbNJkf+vpxP7AZw 8=; X-IronPort-AV: E=Sophos;i="5.92,212,1650931200"; d="scan'208";a="100777950" Subject: RE: [PATCH v2] KVM: x86/xen: Update Xen CPUID Leaf 4 (tsc info) sub-leaves, if present Thread-Topic: [PATCH v2] KVM: x86/xen: Update Xen CPUID Leaf 4 (tsc info) sub-leaves, if present Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-pdx-2c-388992e0.us-west-2.amazon.com) ([10.25.36.210]) by smtp-border-fw-80007.pdx80.corp.amazon.com with ESMTP; 22 Jun 2022 14:22:10 +0000 Received: from EX13D32EUC003.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2c-388992e0.us-west-2.amazon.com (Postfix) with ESMTPS id DBFA6817BA; Wed, 22 Jun 2022 14:22:09 +0000 (UTC) Received: from EX13D32EUC003.ant.amazon.com (10.43.164.24) by EX13D32EUC003.ant.amazon.com (10.43.164.24) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Wed, 22 Jun 2022 14:22:08 +0000 Received: from EX13D32EUC003.ant.amazon.com ([10.43.164.24]) by EX13D32EUC003.ant.amazon.com ([10.43.164.24]) with mapi id 15.00.1497.036; Wed, 22 Jun 2022 14:22:08 +0000 From: "Durrant, Paul" To: David Woodhouse , "x86@kernel.org" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Thread-Index: AQHYhh7hXAu4qxBonEWdTaRZ6uuulK1bcRwAgAAFCdA= Date: Wed, 22 Jun 2022 14:22:07 +0000 Message-ID: <2d939a362e384a28bcd576b4c21a0376@EX13D32EUC003.ant.amazon.com> References: <20220622095750.30563-1-pdurrant@amazon.com> <0b4c451c6967ffb7bd20b6e5bf7812628aa173c5.camel@infradead.org> In-Reply-To: <0b4c451c6967ffb7bd20b6e5bf7812628aa173c5.camel@infradead.org> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.165.13] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_SPF_WL 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBXb29kaG91c2UgPGR3 bXcyQGluZnJhZGVhZC5vcmc+DQo+IFNlbnQ6IDIyIEp1bmUgMjAyMiAxNDo0OA0KPiBUbzogRHVy cmFudCwgUGF1bCA8cGR1cnJhbnRAYW1hem9uLmNvLnVrPjsgeDg2QGtlcm5lbC5vcmc7IGt2bUB2 Z2VyLmtl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