From patchwork Thu Mar 7 21:39:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishali Thakkar X-Patchwork-Id: 13586297 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 82FEBC54E4A for ; Thu, 7 Mar 2024 21:40:14 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.690041.1075674 (Exim 4.92) (envelope-from ) id 1riLT4-0007iu-JA; Thu, 07 Mar 2024 21:39:58 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 690041.1075674; Thu, 07 Mar 2024 21:39:58 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1riLT4-0007in-Ft; Thu, 07 Mar 2024 21:39:58 +0000 Received: by outflank-mailman (input) for mailman id 690041; Thu, 07 Mar 2024 21:39:56 +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 1riLT2-0007ic-PF for xen-devel@lists.xenproject.org; Thu, 07 Mar 2024 21:39:56 +0000 Received: from mail133-16.atl131.mandrillapp.com (mail133-16.atl131.mandrillapp.com [198.2.133.16]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 3bf7ea36-dccb-11ee-a1ee-f123f15fe8a2; Thu, 07 Mar 2024 22:39:54 +0100 (CET) Received: from pmta13.mandrill.prod.atl01.rsglab.com (localhost [127.0.0.1]) by mail133-16.atl131.mandrillapp.com (Mailchimp) with ESMTP id 4TrN4S5HHszB5pBbs for ; Thu, 7 Mar 2024 21:39:52 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id 69ea55a8c2a44cbeb47edb7fbc9fa4c8; Thu, 07 Mar 2024 21:39:52 +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: 3bf7ea36-dccb-11ee-a1ee-f123f15fe8a2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; s=mte1; t=1709847592; x=1710108092; bh=00POTxB1zrlLZFJpELQ2i438glsnk01REfkxGshruHk=; h=From:Subject:To:Cc:Message-Id:Feedback-ID:Date:MIME-Version: Content-Type:Content-Transfer-Encoding:CC:Date:Subject:From; b=0t1yPr+gTkajgp+d5RPN4SN4xVHhJLj2x7A50fq0KSSYBuy/g9tZIOUzLaZM3vC+u LzX60VMHFodjs9ejZBUgJKKjfsDyYc9tMhUUlThrPGfSmMKOjZ2KYNKvTUIfNKUffM mITvTcSuNP1VEWw1LKxS10ylEBN6rGRwo1x8ycbkom6n42C4r0N1pEUBC1RcSSIsv/ dKZQCkwuyVkYxIILO+i+OuGn1wje+5PeodT6/cEiyRehThdmCajRyoP0UDHsU8+RJU Apv0bhY1unlqZXqIz1D3XIUywH7U7qn0BuvzSkWstuNx17rm6kGF9fQwryTld66fPE juNjjp0ss/7xA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mte1; t=1709847592; x=1710108092; i=vaishali.thakkar@vates.tech; bh=00POTxB1zrlLZFJpELQ2i438glsnk01REfkxGshruHk=; h=From:Subject:To:Cc:Message-Id:Feedback-ID:Date:MIME-Version: Content-Type:Content-Transfer-Encoding:CC:Date:Subject:From; b=DfodxubCpJKq2jItGWrCVTAjsvoktQsh+C9CpYdD89dozI/kbPK/8P/3RMo2Im0MB BaZN9AQx3jq+nOV/vfR/AFsrFx68ZFpd6/d2irmYgoJR7u0S2O/vRigStLR1zS4xBu ze1YPWY04tc+B+x084qXah+mce89qMyyoI0tZlKHZZQPtSI/Nf4iWHcydkDRyGunie bOfzOTQKvdlMtBBrLP9P8FmQwr89TFNqsqQaXhzvGq1r2kWV4Hd2f2f9A+57+KE7vJ Ke1D/kRg6RJqlMbZhIdyCKg7vkqeRrQ9rxhtdGkSiETxj4/ehh6bcFWJNpT+PSNYgj gFwsSkAmAJ9jQ== From: Vaishali Thakkar Subject: =?utf-8?q?=5BPATCH_0/2=5D_x86/svm_=3A_Misc_changes_for_few_vmcb_bit?= =?utf-8?q?s?= X-Mailer: git-send-email 2.44.0 X-Bm-Milter-Handled: 4ffbd6c1-ee69-4e1b-aabd-f977039bd3e2 X-Bm-Transport-Timestamp: 1709847591479 To: xen-devel@lists.xenproject.org Cc: jbeulich@suse.com, andrew.cooper3@citrix.com, roger.pau@citrix.com, wl@xen.org, 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=2E69ea55a8c2a44cbeb47edb7fbc9fa4c8?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20240307:md Date: Thu, 07 Mar 2024 21:39:52 +0000 MIME-Version: 1.0 Hi, In this patchset, first patch removes the unnecessary suffix from a bunch of vmcb bits and the second patch is about printing the status of sev and sev-es bits while dumping VMCB. Vaishali Thakkar (2): x86/svm: Drop the _enabled suffix from vmcb bits x86/svmdebug: Print sev and sev_es vmcb bits xen/arch/x86/hvm/svm/nestedsvm.c | 14 +++++++------- xen/arch/x86/hvm/svm/svm.c | 2 +- xen/arch/x86/hvm/svm/svmdebug.c | 2 ++ xen/arch/x86/hvm/svm/vmcb.c | 2 +- xen/arch/x86/include/asm/hvm/svm/vmcb.h | 18 +++++++++--------- 5 files changed, 20 insertions(+), 18 deletions(-)