Message ID | 3f700da2-e5a0-2a58-e147-6d4ad3ab544e@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 455CDC001B0 for <xen-devel@archiver.kernel.org>; Thu, 10 Aug 2023 15:23:02 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.582115.911703 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1qU7Us-00017m-Vf; Thu, 10 Aug 2023 15:22:46 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 582115.911703; Thu, 10 Aug 2023 15:22:46 +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 1qU7Us-00017f-SF; Thu, 10 Aug 2023 15:22:46 +0000 Received: by outflank-mailman (input) for mailman id 582115; Thu, 10 Aug 2023 15:22:46 +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=oMcx=D3=suse.com=JBeulich@srs-se1.protection.inumbo.net>) id 1qU7Us-00017Z-1J for xen-devel@lists.xenproject.org; Thu, 10 Aug 2023 15:22:46 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2062a.outbound.protection.outlook.com [2a01:111:f400:7e1a::62a]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c0a495e4-3791-11ee-b284-6b7b168915f2; Thu, 10 Aug 2023 17:22:44 +0200 (CEST) Received: from DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) by GVXPR04MB9951.eurprd04.prod.outlook.com (2603:10a6:150:118::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.30; Thu, 10 Aug 2023 15:22:40 +0000 Received: from DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::e5cf:5743:ab60:b14e]) by DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::e5cf:5743:ab60:b14e%5]) with mapi id 15.20.6652.025; Thu, 10 Aug 2023 15:22:40 +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: c0a495e4-3791-11ee-b284-6b7b168915f2 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kyeEuT31jGRyVdkO3PyM2bOhSJPGZM2+UHF3Xao9ph176PQHZ+9Bmf5ETCae5dKQz+/6QDoALS+Lsb5yz06gnIP7aS8U3DfV3ADHlXUonD8nLYXAUcNNGqtQDGPAMaEmKcTjMHm6r2HpylEAYg3OReBkIdQAo9/x4OCVaWmFwAHjOA1SAKD5XN/NYXguTYdFBeY71oPmppmtYWHBcfw2ylp+UamDpdTnWOKXj+3Wr9IEG8eqTrmQjHhSU8wWsrd18ZE0lrI8xO7w1BIVKUmjQP7J6b8eRKzqHYWi25lXULg3j4pgt7UPutiMhlG0FU5PiHPvh8yYpe6rdVNWnnvhVw== 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=9yXHXhGgAaZBvGO/HRjNHzgKfun6sR+8AGqHAx4aN+w=; b=gH7WVrFcXRVPCIS0jTLd1EW4jCWsfxghw/TBT/q8DEvUgSVbyHHS9WKiwR+/1IATyHeyd2jLHXUBFeEAfjK7o84uv4G4+gwacRzx8aii1fMzNxeMk8fvrrTDW8oqLVbUMdRLXK05VjaZ5hmVqIOgcZjNKXr0nra2Apxwj5HlTq+GUSKFN1e5ZKz8bVY8XRmpKTPhrjIpnp9HVovLLi6X0/WcFrBEEsP0wA2Mqd+g6decVKUApneP5lYR2w24t8HrQLuNNNPDZwitgAZlspYLr5KivVG36jnFA7Zx9GWEkTR7xDZVO4mln7qtZgQ+jb6XYAjvJzLZIRiRtWM3zeWMPw== 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=9yXHXhGgAaZBvGO/HRjNHzgKfun6sR+8AGqHAx4aN+w=; b=q9MYga5Svovm/LzMEtJiB6IZNilME6MTqq5/BSLaj1+9mNeauB03002YYPbH755jYoe/squoIYTFGG9GSsiTdZumDUxF0gBXT8EQq/bNqHT0pgDA81Hs27oMjb4GlCmJ2+Yu/t0Km1++9NSmGhAHfCc/smcaVAO40fKS05g4etrcygRKvf8EKkLhd0oNr0vqB7/UjJScnDIKTXvEb5+XWRb6xg4sOomah8tVy8mIRG9PGQauz8wHSzh9ARE+/kHXN2tHobpZZxXIgeKWyg7QasFQG8eY63DFsFhyqIRvUG5oVqUeQADax8V+r1jfFOQ688MkCUunQ+RO3ENbcwKBmw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: <3f700da2-e5a0-2a58-e147-6d4ad3ab544e@suse.com> Date: Thu, 10 Aug 2023 17:22:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Content-Language: en-US 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> From: Jan Beulich <jbeulich@suse.com> Subject: [PATCH] x86/cpuid: enumerate and expose PREFETCHIT{0,1} Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0152.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:b3::7) To DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8790:EE_|GVXPR04MB9951:EE_ X-MS-Office365-Filtering-Correlation-Id: 6425e173-c97a-46ae-8374-08db99b5a295 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s6PHsXJ7VST1HS9Zv/ay0TOQm/7X7DX5DIJC4iZ1y0n2+nQ0nZdQEw5HkVL4dGzIoD5YUE3gaCvfBqc7QOxsPZXq6r7X/sVYAgFCkFa3p78GD5rUzpLqL4mZ2V6oRFA/xkuj2v8dDJz5kLRPyISf9OI0ONX2SoWZM2JxDgDNJwHS6BZBh9EEH8zmk0L6rWJNXkyAwMoOflOJwdv0feZGeiSZgEZxANBUnsZMhqXmSesdb78/rMo8HceegwTOzwN8CFAe+cW04wk/J01UVj1ppXDcGFGP1sbYbGRIDM08C5Ad5FnSezgIa2gWhMZ1UjGsynBaVWmz3TUSTe/NOsdZvdAvj5ty2ixHjxGHW+wWO5Zbc1p2vEwyo+ACVmUWEQDBMnesvJtVKw9kz0Xt48xaPU+pNW4q4Qf36ftNurQqupQY6NLgYs0Df7asQSGPV5TmSytTWH0d3N410aT8cyEXW7nRcgO8ZOJIE2u/BULP3WHY97cjNX/4NRBzF3o0ul355HAj6JJJ6UnpqauF2zvvVxX9efgcml51VoNd7Ov7TTIsX6uQ9lQemmdgraqQE1LLfLU7ATJmC0+Rc7jS3GrMJBX7xVhZ2gf2++NTygzyOMXVsTd2X7DzlpaFV50+GEMXbWEzbJmSyVUglFi6FNxIqw== 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:(13230028)(396003)(39860400002)(136003)(376002)(346002)(366004)(1800799006)(186006)(451199021)(2616005)(478600001)(6486002)(6506007)(26005)(31686004)(38100700002)(54906003)(66946007)(66476007)(66556008)(83380400001)(6512007)(6916009)(4326008)(316002)(8936002)(8676002)(5660300002)(4744005)(41300700001)(2906002)(31696002)(86362001)(36756003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?VcCMy8RpygEnn4j0LVhwqSaRTVOa?= =?utf-8?q?NeqDfXQ3ULuIqGyBxYXMHOTJQ7DsUtcw63gxWc8camzpkeiQ7C267FeSBWgVTpTZd?= =?utf-8?q?ABT1ygefgrWQGCzZlAvXCHtch7Da8PnnRui9wmFAOdN0hsBA+VawUsk1UgPoIrJFa?= =?utf-8?q?TLBWL3N51r0kLqop6LoisuC+W1biEMJtPYCMfgbKW+rpw/BcmRg1wUu0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hvdlsd5G?= =?utf-8?q?mwSDn5oTgP6VALN2ZQnwZ2Xpb2YZfsryL4zigdbO6DO5J1gzdE4JfVhbugWRXGB3i?= =?utf-8?q?O9OkXT7F9gBz8Cz2RTW/IKnx6fZsUK//N4t7WiR8rTQLXWBqvwhZlL7sMQiSVihrB?= =?utf-8?q?gA51hsBiyLSvkGoGGR4Uy/nKJ5GQiQFD9SMIpLDAGbMuzgNssWSuF4zU12pm8DLZw?= =?utf-8?q?+DHCgz4dv4//PUcJQG2hpb9nrwntjTHm3D64htiD5/hpMrvu+wufEZWQ50y9vD4G0?= =?utf-8?q?CzYgjtKIZxUs6rwfB3i37mLmjwhHe81oIWPlCKojVtNxqjZRFDJrRMhQD9aPVzHnj?= =?utf-8?q?7UqNXuAYJKBbkmsbGkA/1TVN9RqRCUTUEladvoIeKM8NXyJNTPU6I1qbtru84wqqy?= =?utf-8?q?AIhHEB3/AM7Gu3zMBOb6Mhz3Pw6G0tVlmSNGz06YmOBmmiYNfj+dbNoC3+TYuvWD5?= =?utf-8?q?BYl9UkUHM0HB?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6425e173-c97a-46ae-8374-08db99b5a295 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8790.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2023 15:22:40.0184 (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: mpu0K0h06OLYnnkmHznClKjLmvIUlKCtD0aD6WFqnseKt9kBx5+E0MWvzBVswjDvGCfRQmxcDh6vSdEfKg/44g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9951 |
Series |
x86/cpuid: enumerate and expose PREFETCHIT{0,1}
|
expand
|
--- a/tools/misc/xen-cpuid.c +++ b/tools/misc/xen-cpuid.c @@ -220,6 +220,8 @@ static const char *const str_7d1[32] = { [ 4] = "avx-vnni-int8", [ 5] = "avx-ne-convert", + [14] = "prefetchi", + [18] = "cet-sss", }; --- a/xen/include/public/arch-x86/cpufeatureset.h +++ b/xen/include/public/arch-x86/cpufeatureset.h @@ -309,6 +309,7 @@ XEN_CPUFEATURE(AVX_VNNI_INT8, 15*32 /* Intel-defined CPU features, CPUID level 0x00000007:1.edx, word 15 */ XEN_CPUFEATURE(AVX_VNNI_INT8, 15*32+ 4) /*A AVX-VNNI-INT8 Instructions */ XEN_CPUFEATURE(AVX_NE_CONVERT, 15*32+ 5) /*A AVX-NE-CONVERT Instructions */ +XEN_CPUFEATURE(PREFETCHI, 15*32+14) /*A PREFETCHIT{0,1} Instructions */ XEN_CPUFEATURE(CET_SSS, 15*32+18) /* CET Supervisor Shadow Stacks safe to use */ /* Intel-defined CPU features, MSR_ARCH_CAPS 0x10a.eax, word 16 */
There's nothing else that should need doing in order for guests to be able to use these insns. Signed-off-by: Jan Beulich <jbeulich@suse.com>