Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2159629rwl; Fri, 6 Jan 2023 02:43:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXs386fg9YHAYZPa9geP0GUzz0bswu5lZ7AeBydwuhrBDkJtXshsDhoc5siVX+1Sx7azj5rP X-Received: by 2002:aa7:cfd8:0:b0:47e:f0e6:98e5 with SMTP id r24-20020aa7cfd8000000b0047ef0e698e5mr46193371edy.6.1673001813862; Fri, 06 Jan 2023 02:43:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673001813; cv=none; d=google.com; s=arc-20160816; b=oZDvlIfen+tEgjx5dT9bGcQSvCFHM6PFrpwUfYqevgV/QtDN9eHte1y8QbUPmZNdm7 N/+tUm0H0uU2ipw7qizw6woHAeE4gYfv0H+VqYrVQuwpGBhbo9k3zOJEITlFZnvOdRSu KDMOctgMtzyIbpiMJ5BAcyQIDBozvzBu91NrS4PZyUx0sRkN05ABj8rgyjOVeXU8ZGjv BsYLUwpccQxpewGEWcbIhZJ1n/KkZMYVmFycqrYstltoegRWXIgRQflz61Vvurxs1F1t CJUx65b2lbp1KOWj+P1VLiHYZMLJ0HvE1nuxaRgUDp1gCPdIe6vUticsZ79G11LctcAe JT5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=oFJxvNIMN9tzElUCjnTmL2jEkgux9lnpDRQ4tjapEpc=; b=R4EnmoLzHJYG3UGA4ZrkNzhkLai4bbP6rxcaD/cC1TbVmxIk1xeBFQtvRc9kG7wS9z z1IeBVwgqlA4WmIuxZj5m1SrZ14eWRUD/C9vs3eVGWs+Uh2EWUiAOsu+C4G3Y8Fdb6Yo mQQMW7UZtx+ysAZ4DkicqBtP3SeApLcpga/zeD/pyBaT7CcFjZsBsReLLJQ76k4bUlIS i8Sqi9xRq0Y00r2WtnonNbzm73J6wKj6g8VBRucA1au3pmDesEUgJV10kBIQVUM9tEth 5lMG7yFnpprBjh70pgWvIwU4ysYOcOzBl11ayVcGCxu2cgBT8qZQMtnZR9/LL7YNyeAp cLFg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h3-20020a50ed83000000b0048f68044105si1278776edr.478.2023.01.06.02.43.20; Fri, 06 Jan 2023 02:43:33 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232226AbjAFKge (ORCPT + 54 others); Fri, 6 Jan 2023 05:36:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjAFKga (ORCPT ); Fri, 6 Jan 2023 05:36:30 -0500 Received: from mail.xenproject.org (mail.xenproject.org [104.130.215.37]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCDA26B5FF; Fri, 6 Jan 2023 02:36:29 -0800 (PST) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pDk5E-0003mV-2t; Fri, 06 Jan 2023 10:36:20 +0000 Received: from 54-240-197-227.amazon.com ([54.240.197.227] helo=debian.cbg12.amazon.com) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pDk5D-0001wX-Ni; Fri, 06 Jan 2023 10:36:19 +0000 From: Paul Durrant To: x86@kernel.org, kvm@vger.kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: Paul Durrant , Borislav Petkov , Boris Ostrovsky , Dave Hansen , David Woodhouse , "H. Peter Anvin" , Ingo Molnar , Juergen Gross , Paolo Bonzini , Sean Christopherson , Thomas Gleixner Subject: [PATCH v7 0/2] KVM: x86/xen: update Xen CPUID Leaf 4 Date: Fri, 6 Jan 2023 10:35:58 +0000 Message-Id: <20230106103600.528-1-pdurrant@amazon.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, RCVD_IN_DNSWL_MED,SPF_FAIL,SPF_HELO_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 Patch #2 was the original patch. It has been expended to a series in v6. Paul Durrant (2): KVM: x86/cpuid: generalize kvm_update_kvm_cpuid_base() and also capture limit KVM: x86/xen: update Xen CPUID Leaf 4 (tsc info) sub-leaves, if present arch/x86/include/asm/kvm_host.h | 8 +++++++- arch/x86/include/asm/xen/hypervisor.h | 4 +++- arch/x86/kvm/cpuid.c | 26 +++++++++++++++----------- arch/x86/kvm/x86.c | 1 + arch/x86/kvm/xen.c | 26 ++++++++++++++++++++++++++ arch/x86/kvm/xen.h | 7 +++++++ 6 files changed, 59 insertions(+), 13 deletions(-) --- Cc: Borislav Petkov Cc: Boris Ostrovsky Cc: Dave Hansen Cc: David Woodhouse Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: Juergen Gross Cc: Paolo Bonzini Cc: Sean Christopherson Cc: Thomas Gleixner -- 2.20.1