From patchwork Tue Apr 4 14:48:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 13200299 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 9B104C6FD1D for ; Tue, 4 Apr 2023 14:48:35 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.517900.803870 (Exim 4.92) (envelope-from ) id 1pjhxK-0006Jp-GV; Tue, 04 Apr 2023 14:48:18 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 517900.803870; Tue, 04 Apr 2023 14:48: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 1pjhxK-0006Ji-Dj; Tue, 04 Apr 2023 14:48:18 +0000 Received: by outflank-mailman (input) for mailman id 517900; Tue, 04 Apr 2023 14:48:17 +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 1pjhxJ-0006Jc-1N for xen-devel@lists.xenproject.org; Tue, 04 Apr 2023 14:48:17 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2062b.outbound.protection.outlook.com [2a01:111:f400:7e1a::62b]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id bb17d4b9-d2f7-11ed-85db-49a42c6b2330; Tue, 04 Apr 2023 16:48:15 +0200 (CEST) Received: from VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by DBBPR04MB8059.eurprd04.prod.outlook.com (2603:10a6:10:1e9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.35; Tue, 4 Apr 2023 14:48:14 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::154e:166d:ec25:531b]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::154e:166d:ec25:531b%6]) with mapi id 15.20.6254.035; Tue, 4 Apr 2023 14:48:14 +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: bb17d4b9-d2f7-11ed-85db-49a42c6b2330 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bEx35mZh57eCns829b3WkMAk1YGOrap6lKU3x/Nb7alj3JPFiBKghdZv6v7Duj5arsEYtDlmDWjV+r1KE5HjeSa1uxseOu7Cf0w2LML+8vBXRw0INRCMx3DazKd5b37nky1SH+l5o/9ozf+L6PLOhloRnnOEGpcybHjxU1odamDCw67CKbJ4mrN2KY6mVY9vl9AwlNRjz42/j0USv4fXAArBWgWxzy6DDPUeZ/9mK45AI6c/3l7ZtTnmwqeucJmujl8JUMh1AUKx+wE8Mn2tqAYQe3OFSLH/ZsxxsVF94qcikOfdf5TXJVasvMhElmT0rWVSQsAS5COUTdOG0SyxHg== 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=3CGLe7T2yLSk6DDDg8vDLU1RI5JXzolsx2xLHPjcZd4=; b=hYa0A9uQNpT4C95PaHjmeOnQG+9ZAxMDLoprR/SMJA8cqg/W+WUf+XFGZ8OsVjfSI/PweMBBbayB2Jsg6dR52+3fdIiRGsUXl8q512ja7gnsW5lZceUkwWMMKDmyKqTsVdSycNFVl7cl0Ghc9NgrbIPg/KMriyPgElzKr/qqPFNtanP3qO/g8dm7Epz8xkjRQ2H/w+Smm+MfUcHbQUoW04jJziKLIWhF/eg31Ndx6TU8uhSPuJbWmfJocIYmhioYlSbAi6ZGJp9qmOG6qOsjmPjLUld0xeBY5b9bX/5rWqssOG0gHVzjyOxOZqyw7ZUHZnKUncb1Gip+u2tot6AYkA== 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=3CGLe7T2yLSk6DDDg8vDLU1RI5JXzolsx2xLHPjcZd4=; b=WkXVOlx5SAhYHTg1/0ib7ySM69twvBxCsj1D5ghDNLd94Z2GjfH+jHDKJsLq1GW7NIxjxBbZBsTSa5BffSAB8CSZY5IAB4BtSfsuzo8z3dW0kuZ30dI2WWFr19TTUu5LO25s0jsAkd3MPLfesunQZFqeQL8ubUYCvI1YKXAsdGwaqQNAhurNpedeiLL1hYIvEiOrTndyjXA7NCm39Wcu99DDPj7WG5mcQiZf7ML2lSQviJg67Ea3yqSi3HpxkTwC64Ho9kHkxafm363wtbbJo7ik7NMYBNPPlZKsvahJHUH28iEh/pCTrNAHBLLjpQAqD2b2tPn3U4oomUmXVT+Uiw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: Date: Tue, 4 Apr 2023 16:48:11 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , =?utf-8?q?Roger_Pau_Monn=C3=A9?= From: Jan Beulich Subject: [PATCH 0/9] x86emul: misc additions X-ClientProxiedBy: FR0P281CA0092.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::13) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|DBBPR04MB8059:EE_ X-MS-Office365-Filtering-Correlation-Id: a5821fa2-48e4-42cb-331e-08db351b9e69 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Va39pFWYcD06j+tLXhp+5REl9euqrD1q+s1t97QN5EWXQNfbvZNqhEovTDI4J66PUobSDGkgG+8WmjbtHayJyGJOyGLbDLvpmwbm4lhotSKGtWRrv+isBw6PnwLKJyrJTC8H8QR4/uqVhrQJviH/elDG6VYdxrFMxAWHQ40zS3068PDDxgBVxdsJtyCNwdbhkQ8SYyG2U7QfnwjDKuCBZFunnoand5QngDWN2Aoli10LL4t4P85IyNBvsutu7dlq4w0rz2C6swA9bMtOzvdXcYT9K6khNRqKvMw4NqY0ErOoR4uNtuRx2uAUnJla8ll1Rl+SLjvqZxbRbzORQeCm4R/eDwLmW8JFHp7Gn8Bd1Dru4HYSme7uMef2uldC1BNlT9/kLERTdqW/H7+GHCoWv8JDVydpAdHQ+GPok3GQK4Z3sHUU1x8qzyLT2AV9qIMwIygviLoK4fruA/l+5Z5ooQas5IjbwQXCdkM3UTnwGBKGa2J3NlwtngbqTE2tFjkOHL5m+jAKKtX73y+gWXNz4S7ofAaZHd2yVKJvRqb5Te5E0R51MHnCXxG/LSmswf2+qn4mAW6Mo1YWNtxqaXzoCw619dW2IXt67TV5sBsFudAO6Mc4izA7Kst5T+InzkPKwDMj3S2D7F33vF7WUCV6mw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB6560.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(376002)(39860400002)(136003)(396003)(366004)(346002)(451199021)(478600001)(316002)(54906003)(5660300002)(8936002)(36756003)(86362001)(31696002)(4326008)(4744005)(2906002)(8676002)(6916009)(66556008)(66476007)(38100700002)(41300700001)(6512007)(6506007)(26005)(6666004)(66946007)(6486002)(83380400001)(2616005)(31686004)(186003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?wnGPeJFoDKkti8D3HAYW5ZC3qkq1?= =?utf-8?q?3mCl2FMCl7TIvGmvJNyMAxYPXlIuAZ12A2LNm5TVLe24G2d7XZr7aPJKo/5CmjAhR?= =?utf-8?q?8unsUc/HX2zvqlcgsDDiT9y1DrYgjMIcocP6Vkd5y1Y6krGbOHqSSrz10Rd/mulVx?= =?utf-8?q?euD4OAh7ak5KZRNMgITqPSKox6FJPIjJivPJScDweTyv9BgQGEpHcwtY3EK7nC8kl?= =?utf-8?q?/Vi9ShLWC0ukfvZ70cpYeRl9CNMfd/fQu0rCHeG/+0p4q0nh5rHStTKkcSfdnj8sg?= =?utf-8?q?ysjX+Gy2wlaMP6xe3LyfnQ7zXEmbbLE7vJJjg9cJPKdRooZrEovTyo/FCbLzgasZc?= =?utf-8?q?TIWxqQLzKflX4Dnhh6kk7Ayr05jdoFw9q50dbnz86geojwDxf7omR8MkDCJOsBYi6?= =?utf-8?q?zrZ4GpFeVNqHl9XGVHp7tFrzv59IHSo5nJyQxNHYvLZNI/8R27fUb8sL1f2WRsR/s?= =?utf-8?q?9f7NXLN2/MtUnQd+aqw6r/4hwPOOL00JiVVknehWbAhNE4+0cJdmO3s62Bsb/63xB?= =?utf-8?q?4w9Gy05NNfxT5POq5m82jgs1xsZtH+tMWyTGifAUItW9NbUwTz2LWtUgvYEmBI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7nOremnH0qOxWauIVT7?= =?utf-8?q?v1ieNtLfjeD5jZcYV7/Ew2j7enjUhQKsTYPiW0KVgmHidQjqKxqQUDfQ36fK8VFBh?= =?utf-8?q?attmX7nnd/7B?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5821fa2-48e4-42cb-331e-08db351b9e69 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2023 14:48:14.2488 (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: U4YN9jr9R2pFriNrbrm1T5wfy9xng6XtyAE3yaFONvkNVtBxHjScuVwCroJVxbNklaeeJ+xFMUkXeD1TMh117w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8059 This series adds support for a number of more or less recently announced ISA extensions. Plus a little bit of (more or less related) cleanup. The series interacts mildly (and only contextually) with the AVX512-FP16 one. Note that patch 1 was previously posted standalone; the posting here is unchanged, so isn't called "v2". Note further that while the last patch is kind of incomplete (it doesn't enable the feature for guest use), it could still be applied ahead of further VMX-specific work that's needed there (and that's dependent upon documentation becoming more complete). Apart from contextual interaction the patches should be largely independent of one another; only 5 strictly depends on 4. 1: support LKGS 2: support WRMSRNS 3: drop regs field from emulator state structure 4: support CMPccXADD 5: re-use new stub_exn field in state structure 6: support AVX-IFMA insns 7: support AVX-VNNI-INT8 8: support AVX-NE-CONVERT insns 9: support {RD,WR}MSRLIST Jan