Message ID | 7c70aa15-213b-41ae-bc1d-ddd4cfcf7165@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xenproject.org> 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 D2FF7C636BD for <xen-devel@archiver.kernel.org>; Fri, 24 Nov 2023 08:36:59 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.640220.998143 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1r6Rg7-0004UT-4u; Fri, 24 Nov 2023 08:36:47 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 640220.998143; Fri, 24 Nov 2023 08:36:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1r6Rg7-0004UM-1a; Fri, 24 Nov 2023 08:36:47 +0000 Received: by outflank-mailman (input) for mailman id 640220; Fri, 24 Nov 2023 08:36:45 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from <SRS0=Ulgz=HF=suse.com=JBeulich@srs-se1.protection.inumbo.net>) id 1r6Rg5-0004Dj-9G for xen-devel@lists.xenproject.org; Fri, 24 Nov 2023 08:36:45 +0000 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on20605.outbound.protection.outlook.com [2a01:111:f400:fe13::605]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 99435f0b-8aa4-11ee-98e2-6d05b1d4d9a1; Fri, 24 Nov 2023 09:36:44 +0100 (CET) Received: from DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) by PAXPR04MB8526.eurprd04.prod.outlook.com (2603:10a6:102:211::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.14; Fri, 24 Nov 2023 08:36:42 +0000 Received: from DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::eb8e:fa24:44c1:5d44]) by DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::eb8e:fa24:44c1:5d44%3]) with mapi id 15.20.7046.012; Fri, 24 Nov 2023 08:36:42 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> X-Inumbo-ID: 99435f0b-8aa4-11ee-98e2-6d05b1d4d9a1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hyNcpOtPauShhmubQy/Ne2wajB1HdCuySiJSxRzFSroiBaSrGN3Jf5nzD+q/1PQDfXdQKGQXdEodRmPW4klcB3yl9SZp4S3xTc3vyKyDl0OYrzaA6skJma35eHmddaudLZjizpKmopDt5th6J6/ktweXS3fnhyICKl+8i1pM12atiF+QuBMNCVUB1bHyQMGhZyfCY7N8hytr/6TFTcb76XlYSRgs3e6SVTGK8VuUYtK1ztCcP0zMpCkDt23SChpnvUWbkEYfZeeJspsBwFZL5GOdCKf1UiKMqwITS355xi1F5MPEPmC85oJ6AYwS583bmvhYTyKodKAVJEPJxyLN7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=62zTJWSZV7yA9B5G11SJ0uj4kze69UO13o+hSAjxnrY=; b=PJLnjVemrlPqDv93dC35UTepze95MSQgwM32dkCq31KpVDcJEMX44vBW+aaGdrNYiQepUdq30fLYSBM/+lkyztUz635kic8upsWZp21B0xCnozbvxyYPbiu7dd2YHrwXpYGjjcMloeTh/0U+JWUxogA7ZvYOVObPON2U9g2MjbsZRYUDx2pKdXa0VQbwm7yPvsLjhdm0IAlVAMrvg35WXw2l9Ovu1ERbJJjoRKZsZOAEd4zGQITZ10CUNyC3Rh3wBckeQqrvZyILQE5EcjVmgqpUbB33sU0P2PfVEem/D3tnBFaaHlC3W7vzyhJypwKdCh0Yc4Covzd03ql4mZTOmg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=62zTJWSZV7yA9B5G11SJ0uj4kze69UO13o+hSAjxnrY=; b=z9bsWDzhwdX/UplzxfyrPDr5Gcq+UyYOt/xPiKA6ew3hU3tyc5KTKfndzg1jk7luiTGu7lz3d1KbMwHikAC1WoIAdkMRSwfkrPZs05IRUAv8TPg9ev7baDvixyCZZg4xbFLccNtzpYyV7Xaz8ZuJdLHMtvsyF9DMl/uRZLD+oIZegVyHjBM4D8d5QIDRsP8qmmNEBVcuPSpuMHnxbF50vbgnzIYkWWLoMvKKxDCv6ynjK7D1RQHn1SKb4vEYdK0bG+dNbBCo+p5RFxY8MBp2ARGviL3X2MXczAPWOT3qVr9jNLG3pFCzq8W/UXoNp0JO17+pv8ZwHVhsBNLDoxfj9w== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: <7c70aa15-213b-41ae-bc1d-ddd4cfcf7165@suse.com> Date: Fri, 24 Nov 2023 09:36:41 +0100 User-Agent: Mozilla Thunderbird Subject: [PATCH v2 01/15] VMX: drop vmx_virt_exception and make vmx_vmfunc static Content-Language: en-US From: Jan Beulich <jbeulich@suse.com> To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org> Cc: Andrew Cooper <andrew.cooper3@citrix.com>, Wei Liu <wl@xen.org>, =?utf-8?q?Roger_Pau_Monn=C3=A9?= <roger.pau@citrix.com>, Kevin Tian <kevin.tian@intel.com>, Jun Nakajima <jun.nakajima@intel.com> References: <b63b648f-02d0-4e52-a5e5-94ffd5666a14@suse.com> Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo6Gl MDY4HxoSRu3i1cqqSDtVlt+AOVBJBACrZcnHAUSuCXBPy0jOlBhxPqRWv6ND4c9PH1xjQ3NP nxJuMBS8rnNg22uyfAgmBKNLpLgAGVRMZGaGoJObGf72s6TeIqKJo/LtggAS9qAUiuKVnygo 3wjfkS9A3DRO+SpU7JqWdsvee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-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR4P281CA0408.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:d0::6) To DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8790:EE_|PAXPR04MB8526:EE_ X-MS-Office365-Filtering-Correlation-Id: feb77f49-2252-4b2d-7bc1-08dbecc87c22 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8poKuSLr/iFswaqKI4Slv+rwpMWDJjo1aPxGRVkslpxk/g/gd7A/18mIjj2ou023n98V1/8KLb5ljvkjFnp4e6vnvX7FxSmevKnUaKojgbmJxPZdUoFAWEtaGOGvJ/LEWWl4VmNlbiXlwWvVWJu/6jHwTdoTSUp49n6XSrggKTdw6HCkBdaT6aX8JUpSA05yudLn31fRy0/1atFwqQoKF3QCGrK9RP2Om04JKJiL4ovzhzIvaawy7sHoWJdaSFLsvNaVPnoS8kYqplZjjg1ZWWFQzWVo0uCQ27aIPoyEpCDgp161mgrWI0JKCFL0fgMXgia0CuU7JVci30755tM51XZC+8R2osNg+0UHts/8lzL0Yfge0okl65rqZxIZgkqIdKDA84fV59xjQ0d1n+3rjddbRF79cw5LhIUUuxodDLA3/Joa2/EFlc2FEt26us8ayi8h10Wxr6i3lmqjHRV5g+VAkwf7c+5UkcQeWk3L+AqtB0MJ35Q662T0BB66toDmQGHtgjaxppzqBxkUOZZA2ebyhFkVYp7RYrbEFuPh3ejK4hfYm8eXcemZcROGqHC0qE0FqR0mt55ZHwH1vPIDkWz3S9kmcAyVfteKf9iQ18ymCLDuOGEiowLKrXeDJy2b5OwrnYh04ZwXJCpJ67SjjA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8790.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(346002)(376002)(136003)(366004)(39860400002)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(2906002)(5660300002)(36756003)(31696002)(86362001)(41300700001)(38100700002)(66946007)(6916009)(66476007)(66556008)(6512007)(26005)(2616005)(54906003)(316002)(478600001)(6486002)(31686004)(6506007)(4326008)(8676002)(8936002)(83380400001)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?3oz8kGR2B9PgXQgx+PcLIvg7YB0/?= =?utf-8?q?eCTa7JoDF826RXi3xgrL+X6vYsnYiCShFV5AP91C0Q3bvPrckwgBDW0pEmCRTVpN6?= =?utf-8?q?J0fe0mUnF7RcyxlAxVKlnyyfok2grpTgG7z8m1PU0MJ15K1GrxG4q3qFC7dHA1A+b?= =?utf-8?q?l6c/wLK/ZqT2cGDBrfT0v4aPsb5Cb6z3eGcqOcrPEFkJVyzCnwtlVWdhFwL9ek9Yk?= =?utf-8?q?wa0vL5ZVu1uaWubFohmKp1YtoVN+7d0B6b4m9GRVrSCSMeMJE9Rwt1gTbS1fUcaIp?= =?utf-8?q?lvV1ExFbIpeLsA36HagxWqWf3C2Vg6wl4lNu13eiKoViHxYPBt8omoo4ijTTzcCQu?= =?utf-8?q?3S5cYChbFiSK65sSBlj9NEEBsBBNxAbwCSLc0UodnlL+gI/zlLf/96UYGfnuLAdCW?= =?utf-8?q?O36ar/XQMnZInqET1FAQV85DQRepIuhfNOWFy1ss93Q3gW7j3NoKHLhPJhs5DFyxp?= =?utf-8?q?/4TpwCDhGoAbK+qrID9ydImHdmXxhs5U78fg+4Plo9rdRKu86vzNu/9avu7Er6heR?= =?utf-8?q?i99gbHO+PkqkuRtc/uKTS2CJfO7Zp+QD7epwSnermG/fkQEfsfgUfUUB+uGHqjFGA?= =?utf-8?q?QrPFXsNM4wjKC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eigReCOObVV082q/fEUlO+f1dODBgk4LulCvAH5xqf?= =?utf-8?q?R3xD9lWZUdnw?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: feb77f49-2252-4b2d-7bc1-08dbecc87c22 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8790.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Nov 2023 08:36:42.4518 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eg59ED6e+asGXVuukC7eor+zIUzgj6Y90pJ6pnzu6qdWESh4xdyNs4/B2/E2w3ecJzn4W/Yrlp2f0s60WH0jYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8526 |
Series |
x86/HVM: misc tidying
|
expand
|
--- a/xen/arch/x86/hvm/vmx/vmcs.c +++ b/xen/arch/x86/hvm/vmx/vmcs.c @@ -167,8 +167,7 @@ u32 vmx_secondary_exec_control __read_mo u32 vmx_vmexit_control __read_mostly; u32 vmx_vmentry_control __read_mostly; u64 vmx_ept_vpid_cap __read_mostly; -u64 vmx_vmfunc __read_mostly; -bool vmx_virt_exception __read_mostly; +static uint64_t __read_mostly vmx_vmfunc; static DEFINE_PER_CPU_READ_MOSTLY(paddr_t, vmxon_region); static DEFINE_PER_CPU(paddr_t, current_vmcs); @@ -475,8 +474,7 @@ static int vmx_init_vmcs_config(bool bsp vmx_basic_msr = ((u64)vmx_basic_msr_high << 32) | vmx_basic_msr_low; vmx_vmfunc = _vmx_vmfunc; - vmx_virt_exception = !!(_vmx_secondary_exec_control & - SECONDARY_EXEC_ENABLE_VIRT_EXCEPTIONS); + vmx_display_features(); /* IA-32 SDM Vol 3B: VMCS size is never greater than 4kB. */