From patchwork Tue Nov 28 11:04:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 13471009 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 EF181C4167B for ; Tue, 28 Nov 2023 11:05:18 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.643029.1002860 (Exim 4.92) (envelope-from ) id 1r7vtg-0007mQ-LE; Tue, 28 Nov 2023 11:04:56 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 643029.1002860; Tue, 28 Nov 2023 11:04:56 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1r7vtg-0007mJ-IW; Tue, 28 Nov 2023 11:04:56 +0000 Received: by outflank-mailman (input) for mailman id 643029; Tue, 28 Nov 2023 11:04:56 +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 ) id 1r7vtf-0007mD-Tg for xen-devel@lists.xenproject.org; Tue, 28 Nov 2023 11:04:56 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0607.outbound.protection.outlook.com [2a01:111:f400:fe1f::607]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id f53d579b-8ddd-11ee-98e3-6d05b1d4d9a1; Tue, 28 Nov 2023 12:04:54 +0100 (CET) Received: from DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) by AM9PR04MB8276.eurprd04.prod.outlook.com (2603:10a6:20b:3e7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.21; Tue, 28 Nov 2023 11:04:51 +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.015; Tue, 28 Nov 2023 11:04:50 +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: f53d579b-8ddd-11ee-98e3-6d05b1d4d9a1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZAVvQQjs2qba7OEF3NV96y1F/owSHO51tXLHeiHGKORxCWiCMrcURMa2CHohjWC4qMuDb3iTj3+/gUZ2rK2ExS97X3ZL80BhdlLRQ0/mVOnNy8xaJV21bG8QTiB7PDNEamNm6acsQDRaQOUEMV6+KilL1tl50gbLQ50znp2X1J7ogiObjTVfHiaOwmVhKlrtg5ZsTJb1m20JCovuQh3xQzEA+TByJfXdtogM9wi9QyEH0P14Wc17lyhN3H5E8IAWn3TNgeAVtwuheMTR66yx0C55oSCU9jNaRFboYssVN+SAn3AJyGuXi+g3jXpFeqcJv1jf923acOUnU7yr3koAgg== 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=B0kiu5zcRzqLtk6BKde2UERGn+ThRitjMaC0tzTgvPM=; b=ZvwrcXOrLxaecaTgMZNRTfx+hHQe3Mo3bO4C3HhD33LEHu7euu7UC0wbPOAmO9dpXZmNLVSd3qRxwPnC4HDiqt0vEYVvS0BdChp/81CUWtxWZ+PC+/E11xKwezgXMaEW0+pJz41upAqDtEV+fYBp5WchY1rGlWcvQhhdsqrq5ufcN5KQYQKwQfNpdYUyYHIZXR4LptXz3/rak2xHZxZGu7gGrx+svsvRYtJFiHvRZIpKHeHloqiwPgucAcY9m3EjcxKN6np201LDoLSm1+2TA+3RRcwqHgmxs6rFjKq9FzttVZS8xT2kERcw7lWe/IDcyuveCf34kGkQ4uEH5lCGvw== 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=B0kiu5zcRzqLtk6BKde2UERGn+ThRitjMaC0tzTgvPM=; b=pbLBVZH7/cgQiui3A3Z0c93oetjWSKt9JbO4jVyZeoqcQWEdTuPxLO3Z3yIMdVraKY8eHjOdAVNdK4WKdv4jr2J/F4mIxiqBJ3mP0JqDCK6kSlj8xdJwed0kxO5WeUIFjkT500Nobn42KSSj3g5icvT7402JFZ67wqIFuhBZ3fs+wwahk2pVe7jnc8F/K12TwsPBzg8qvEpMbUqHLndepP2lzIEU18RjEnTDD+HOv9QA9gqabgsVLVxBbqQ8hwqGvGSo/ktLQDjLPEfcYxYMEguOMmIJDxr6QeAlx5ihtyH/WgxXqJY4Rk4oUd+c/f3+NvTZ+v3TgoO1CQrQYAJ7jg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: Date: Tue, 28 Nov 2023 12:04:48 +0100 User-Agent: Mozilla Thunderbird From: Jan Beulich Subject: [PATCH v3 0/6] x86emul: misc additions To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , =?utf-8?q?Roger_Pau_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WLmwLstV30g80nkgZf/wr+/BXJW/oIvRlonUkxv+IbBM3dX2OV8 AmRv1ySWPTP7AAMFB/9PQK/VtlNUJvg8GXj9ootzrteGfVZVVT4XBJkfwBcpC/XcPzldjv+3 HYudvpdNK3lLujXeA5fLOH+Z/G9WBc5pFVSMocI71I8bT8lIAzreg0WvkWg5V2WZsUMlnDL9 mpwIGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL X-ClientProxiedBy: FR0P281CA0192.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:ab::11) To DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8790:EE_|AM9PR04MB8276:EE_ X-MS-Office365-Filtering-Correlation-Id: 7bf6cfa1-07fe-4df6-b1aa-08dbf001d781 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7vUt08mGCEt6LxHwWxrvhOwrgF3CPj7KOt7hIpWFULtZkc/u/XQznnjgj1ITiAddlTmTEJH1Mm5hl3CcjmI5jvqzzFxJ3Mcjy6jxzLIufjFQiJ7rkV3Hv5BIbUYkZvjSaPkWZF2oS/UHTddSuAqlDQQI79SBJcIBGfc5kT/iu7C6JocFOvojYpaUGDGdmlyeYmv22hYIJOtKA792YQJO3/S+AW4xGPjMk4KPsY19GcRDxn4601SDJeaOrYBa/jbUQUqulSsO254KIKNkarNiDLE3uiqSFRV6serrdJxCn/+noVhD6ME4kTqaszc8SSdYCWvtF9tiWi2GE/fJ/Qh7vTZSHrX6vruNa4AIySOcB3GJrvRRtgvxOnMxPwzB1RALuCdKzFwwD2BZHJCJJNngsVMMuv9rW3lJit0eOZutnMgBkumbNCIsQkodlTP8pM3MpkLpgIZwb4gwHv0KSHpQ2oiQjoZV7RTnUnt4p7UG6jbZ4NPs63vKC6v7SqjoxyG+JSmJlB9pw6lmPrk9fhxZtQsTaWlNqfgjnaGkf7vgndleFpiH5p/9TRYAwfkQQnKYR6t+3JkD9LDkpZ39noDVgT0glzuS4J7cW4ZuJQ/I7l8DyXKgcIadDKkxh8rS8sWTEOx/x7XWH9GAhmCKOe+gVA== 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)(376002)(136003)(366004)(346002)(39860400002)(230922051799003)(451199024)(64100799003)(1800799012)(186009)(31686004)(26005)(2616005)(478600001)(6486002)(6506007)(6512007)(38100700002)(86362001)(5660300002)(31696002)(36756003)(41300700001)(2906002)(66946007)(83380400001)(4744005)(66476007)(66556008)(316002)(8676002)(6916009)(54906003)(8936002)(4326008)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?lM2NZmYCIkT3Ovk/ZkNqK7qtvUze?= =?utf-8?q?vpMeI5xm+nRtC8Fo0+SFBl/+vbBOpjcezZ800XO9uEL3bK4hLg6BT+Yq+TiqwKoX7?= =?utf-8?q?yNz2c/CotTWlOhs2hVeQsbii/0Mkqy3NtBSYokwFUaoyheeZB6qwUKDwYDGrFo8QU?= =?utf-8?q?UCwYtSvYeEjui9O3qlHAhOAM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wGWfbRLOl+NkL3vJGl7RydIO9DsR127jH6?= =?utf-8?q?KgkBP8apdbv+1zBnRMk9CYOISGr7mA55r7nYbqK7ktkgvNTBD4EVPiOIouMc29Hp6?= =?utf-8?q?8MVoIuNrOq1Mt7RZ7AdSwT1TRMcuzoLHT50AjK+Yb+t8/YGlulBqgkBFmjqWQdPie?= =?utf-8?q?/ZS/96lYt0L0xivDQ2pL/mfnHZbNiEL7yZVTs3FZAtUUUYlpIqc8wVzjkJ54Aphq6?= =?utf-8?q?djz9H52zRNB640z6RgQ6/ijFZi8PPt8C00eR/aSPhWRvDkPoiGbRVWp45EozOxsIZ?= =?utf-8?q?qiZfiLYH8S/DyI/+P+D68EnwYk5Bv1xOJWlfw29vlJ7PbsqtnfR+SeHstCUPxnPuk?= =?utf-8?q?5FWCEvPtDQIvr2s9w9IqHe/MBWQVodZHW9nZPRSaU6y5j75GEbIso3RIjy7vClROb?= =?utf-8?q?2w/hq7Ics+MdcBk2kOu3Obk5CscoSKBCURkpuacYgUtbDHHo6UHFu+f/gTmn7c1Dx?= =?utf-8?q?rXq7GpzDiFwN?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7bf6cfa1-07fe-4df6-b1aa-08dbf001d781 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8790.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2023 11:04:50.5199 (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: sTV707yayoH4MNoVOQDPNmhf5hCuef2RgDgY2cdRZfOjs/rnrULKu8j13qFLPs1ARRaiBCjcA0IeL/XF8erWHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8276 This series adds support for a number of more or less recently announced ISA extensions. The series interacts mildly (and only contextually) with the AVX512-FP16 one. Note that an intended final patch (to fit in USER_MSR elsewhere, in particular in VMX code) is yet to be written; specifically I haven't checked yet whether - like was the case for MSRLIST - there's again insufficient detail in the specification. 1: x86emul: support LKGS 2: x86emul: support CMPccXADD 3: VMX: tertiary execution control infrastructure 4: x86emul+VMX: support {RD,WR}MSRLIST 5: x86: introduce x86_seg_sys 6: x86emul: support USER_MSR instructions Jan