From patchwork Tue Apr 16 09:08:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishali Thakkar X-Patchwork-Id: 13631523 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2BE89C4345F for ; Tue, 16 Apr 2024 09:08:29 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.706788.1104161 (Exim 4.92) (envelope-from ) id 1rwena-0005gL-IT; Tue, 16 Apr 2024 09:08:18 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 706788.1104161; Tue, 16 Apr 2024 09:08:18 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwena-0005gE-Fe; Tue, 16 Apr 2024 09:08:18 +0000 Received: by outflank-mailman (input) for mailman id 706788; Tue, 16 Apr 2024 09:08:17 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwenZ-0005g6-3l for xen-devel@lists.xenproject.org; Tue, 16 Apr 2024 09:08:17 +0000 Received: from mail145-16.atl61.mandrillapp.com (mail145-16.atl61.mandrillapp.com [198.2.145.16]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id dafffb4a-fbd0-11ee-94a3-07e782e9044d; Tue, 16 Apr 2024 11:08:14 +0200 (CEST) Received: from pmta06.mandrill.prod.atl01.rsglab.com (localhost [127.0.0.1]) by mail145-16.atl61.mandrillapp.com (Mailchimp) with ESMTP id 4VJdVh6Vlrz8XRxWN for ; Tue, 16 Apr 2024 09:08:12 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id cd0b31d4047c4070870f72ff6edafebb; Tue, 16 Apr 2024 09:08:12 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: dafffb4a-fbd0-11ee-94a3-07e782e9044d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; s=mte1; t=1713258492; x=1713518992; bh=psZ1jgY5/ShxiZ95g6hDQhTaYC5/6jQ8OcbLtKEGa6w=; h=From:Subject:To:Cc:Message-Id:Feedback-ID:Date:MIME-Version: Content-Type:Content-Transfer-Encoding:CC:Date:Subject:From; b=UeOPDwm4rYtRP45FvyZNoXD21U7rUr7oLcP4uAbcyRBEUkAKMNRHVELzlewvUfvi4 tzCoFfNuCmzij6jMrE2dgtsS7nDllJssCABQAQnH33YXKd4Pdpjzp1O77YibD8/RyO yYN9AOYzOnU8VypLqXgt/y2FLGlFhN1AQLVZRqDJ4kcgXgbStYlWuZ5Bl4IZCHMHuN 0xO0nhgAOcxzlpPxc/CMevh+5m+oHkZpDnXcBCVXttLx7rWlX4HNx1HgmQvHmmUydw 2FjTIidoqbTPSp2Abk7OoSGwN85JavX9kHG+n4MaOKniG1zSnJ544vIhDzUXeL8XKj eI+csgV1FGoqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mte1; t=1713258492; x=1713518992; i=vaishali.thakkar@vates.tech; bh=psZ1jgY5/ShxiZ95g6hDQhTaYC5/6jQ8OcbLtKEGa6w=; h=From:Subject:To:Cc:Message-Id:Feedback-ID:Date:MIME-Version: Content-Type:Content-Transfer-Encoding:CC:Date:Subject:From; b=fXqnSg6MLrAvvRyLbbePKNmeJmTy18U10HUiKC++fbwnkCjeVZAbWcMZX4RAecjrB U6EGW9BjLcrmyIdN1iFfBslWokesUkmFUm8KB5bZVdzcQNrPNk978YTMkkCB7KUaWD kTtN/Wh7vfHH52I+cNS9wPH/5D9lE2SjT0fp4O3PsFqpuXzU/x6bPtEdpJhMb9mv3S iFwvF75Gq8J5g71qdkMmNRGl7kVedP6jhZwGfslC4rP3yc5ucIo5NIMsDSV7CpWiAf u75o5eAr6AucIiLuodj7Y57OzqJOOKGTs86porQfQz0DAc+eMlEiV1IQxcMvELLF2P vKVzWzo2L3QNg== From: Vaishali Thakkar Subject: =?utf-8?q?=5BPATCH=5D_x86/svm=3A_Add_flushbyasid_in_the_supported_f?= =?utf-8?q?eatures?= X-Mailer: git-send-email 2.44.0 X-Bm-Milter-Handled: 4ffbd6c1-ee69-4e1b-aabd-f977039bd3e2 X-Bm-Transport-Timestamp: 1713258491675 To: xen-devel@lists.xenproject.org Cc: jbeulich@suse.com, andrew.cooper3@citrix.com, roger.pau@citrix.com, Vaishali Thakkar Message-Id: X-Native-Encoded: 1 X-Report-Abuse: =?utf-8?q?Please_forward_a_copy_of_this_message=2C_including?= =?utf-8?q?_all_headers=2C_to_abuse=40mandrill=2Ecom=2E_You_can_also_report_?= =?utf-8?q?abuse_here=3A_https=3A//mandrillapp=2Ecom/contact/abuse=3Fid=3D30?= =?utf-8?q?504962=2Ecd0b31d4047c4070870f72ff6edafebb?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20240416:md Date: Tue, 16 Apr 2024 09:08:12 +0000 MIME-Version: 1.0 TLB Flush by ASID is missing in the list of supported features here. So, add it. Signed-off-by: Vaishali Thakkar Acked-by: Andrew Cooper --- xen/arch/x86/hvm/svm/svm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/hvm/svm/svm.c b/xen/arch/x86/hvm/svm/svm.c index a745acd903..4719fffae5 100644 --- a/xen/arch/x86/hvm/svm/svm.c +++ b/xen/arch/x86/hvm/svm/svm.c @@ -2510,6 +2510,7 @@ const struct hvm_function_table * __init start_svm(void) P(cpu_has_svm_lbrv, "Last Branch Record (LBR) Virtualisation"); P(cpu_has_svm_nrips, "Next-RIP Saved on #VMEXIT"); P(cpu_has_svm_cleanbits, "VMCB Clean Bits"); + P(cpu_has_svm_flushbyasid, "TLB flush by ASID"); P(cpu_has_svm_decode, "DecodeAssists"); P(cpu_has_svm_vloadsave, "Virtual VMLOAD/VMSAVE"); P(cpu_has_svm_vgif, "Virtual GIF");