Message ID | 20220216103026.11533-6-roger.pau@citrix.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 2EF1EC433EF for <xen-devel@archiver.kernel.org>; Wed, 16 Feb 2022 10:31:42 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.273935.469278 (Exim 4.92) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1nKHas-0008Fl-C4; Wed, 16 Feb 2022 10:31:30 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 273935.469278; Wed, 16 Feb 2022 10:31:30 +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 1nKHas-0008Fc-79; Wed, 16 Feb 2022 10:31:30 +0000 Received: by outflank-mailman (input) for mailman id 273935; Wed, 16 Feb 2022 10:31:28 +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=oYE0=S7=citrix.com=roger.pau@srs-se1.protection.inumbo.net>) id 1nKHaq-0006Q9-NP for xen-devel@lists.xenproject.org; Wed, 16 Feb 2022 10:31:28 +0000 Received: from esa2.hc3370-68.iphmx.com (esa2.hc3370-68.iphmx.com [216.71.145.153]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 98259578-8f13-11ec-8eb8-a37418f5ba1a; Wed, 16 Feb 2022 11:31:27 +0100 (CET) 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: 98259578-8f13-11ec-8eb8-a37418f5ba1a DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1645007487; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=KVCefupHgl8iFdyKIZI5zs9ugkHZAyHUnwwPql0iuFo=; b=V9HO7z9y8PiO9ppmYQsisY+je46MQnmiwboCEx7ixgzzmtlv45hYw0J5 fgDseYoM5YeqTtl6cx71fLZV28dT2EfRsWeaXMfl9EJz5AzfQ1K/FNrXv 5GANCsda5ob3nbYMC5l0hHzg+YyifygLrXMvcriwD6PkWJwSSVPQOqWqd M=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com IronPort-SDR: LthxVy3Hwp8STD4YSf3vcQJjZHGMS97ClxTWIh5IUC6RJxFlWH4iIsel9KiPpUZzCHt10sN1Hk esZC7vatKtESDd7d1H9WqEsaJvn1TTpjTU/UNelDpdRYT9pCs2kKEhIktdYSh1Qpv10zdwfm5t TTf1qk435/x/Y3+xd78ioqb8k5uND56y4PNSCOe1TCDGKNBp7u+P/uP1JbqLMvwp/xKSeezGrz /llCdYFo1Ta1uBV129s7qwGBwaRXqNhejcVA7liIQ2NAUuvQg1X8C5LSqu/sXyTGJzZepemT// 0KqkE7Jr7yXh5pQVzTU81lr4 X-SBRS: 5.1 X-MesageID: 64324582 X-Ironport-Server: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3FKLqxQ1itcWKtQF7TqLH/jTlk3/uZLHPSL9YepVYTOmM7FihIvZ8Vq9z jqqH5bTo/mpeLalOXe/HE96BQ1iEEXX8ris+5wNLb/ceFM7cIzjYteIqY4cl0Vet/09vs/D/ 22nW18ez1z6hHbdLh6NZGwlY7TqNauTZ1piVcD1FVr3iXUlf6i166ITK8k+cbU9rbQxxv9oV fgVPc6HB60XGDjA/j0ca7j7rZBjK0v31V7fYXL9bWhtZYNkSizI5sTgIlnl+h4RA3flrsA5u bChiF/WGMJRWwR4Ac/KQ/uz1Fft72MFked/UhKQcNlecUnh6qZwLCn1gqNlKs0AM0yblDCby xyXEVETouyU+90599zAhKalqYa1ErQhQhoGTjeDtbvvbHvU5Guux4NEQd2kRzGFWTOm4rima MVU0+r4bK8NkmFVvtcuCL1s168/uYfi/ucI0gR+EXzXRF23Ebc8cGKe1MxCu6ARlL9UvQy6B hCG9tVAYOjbPcrkFBgaJRY/b/TF3vYRw2GA4fMwKUT8xSl24LvYDhkCY0jS0HRQfOlvLYco4 eY9o8pHuQWwhy0jPsuCki0JpX+HKWYNUvl/u5wXaGMxZtHHFr2WjUTgNxLL IronPort-HdrOrdr: A9a23:LFarF6/jX2G81IlLkK1uk+AiI+orL9Y04lQ7vn2ZKSY5TiVXra CTdZUgpHvJYVMqMk3I9uruBEDtex3hHP1OkOws1NWZLWrbUQKTRekP0WKL+Vbd8kbFh4xgPM lbEpSXCLfLfCVHZcSR2njFLz73quP3j5xBho3lvglQpRkBUdAG0+/gYDzraXGfQmN9dPwEPa vZ3OVrjRy6d08aa8yqb0N1JdQq97Xw5evbiQdtPW9e1DWz X-IronPort-AV: E=Sophos;i="5.88,373,1635220800"; d="scan'208";a="64324582" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gy3ojG65/3ycyR8hUILUqnRS4wjtamO5WafkAN25MnuyjjzC8/LhbFaMklPkWjcwNEcszzGjsvziodBR6aYIJ1b0MS4ZAcnbqvK1+V3DolCnqMRl4APgMweWHy3NugsROhUzSXRox3hbJ/CbTxmAGOQoiIO7h0hGg473crapK5WF3hhUFZ0IEJ1cpMIzFGqsWmBwI2+Kt0UGDcKdsmcEvuWpSx01RcaRlRMCe7yI7VRWAnLWPekU3nc2HzlZJ1K3cNJqb1vl1MkPRvIpqIWTADfmH8Y50Tc/sCoVKNpLvuEPdyvcvWRHWOihENeGGiQtesKKB7kd8BWgOk4FyTEE8w== 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=75VO+AU8QH9BrocEyWlwWVKugRCjMn/bwURNP9DnhoU=; b=hUi9WfY686v8Zx/hREPgGrgmCd2ZReXcy94bPAxZU4DU+P2yOPUXUjMpta6CdLDiX3tNtxGJD/ZK7DGHEAdekPBgddZ6JqLeGxEwjVZ87AnUewxMHPtsNB8o215r1HG6S+8lsqN5l8UFHh3Lew8BsHY01EuvzZcovC/QaDWcIEa545kcAeyfY2Ps6k4jGidFwbhlLYALRYhm/opfM0Y/83qskaos3hljpPRdErjrTrdJk2QKiu29HM1ZsZjSUMHy0mos5M0pcgqeLjNwhCaP/upM5ZBtLocNFPjNC/5lXqoe4/PL+/WIWo3iHCpOY2uM/LUlceVjJx4ft+24ra3vpQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.onmicrosoft.com; s=selector2-citrix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=75VO+AU8QH9BrocEyWlwWVKugRCjMn/bwURNP9DnhoU=; b=r5eGgGtTzW95gYGRIcZbcRXIqEW2ueJo17jsSUOMF14+tI1Ld4LHfz5BCgDkWPzRi5r6WiLj70iWYXL6KwqvAI6a13FdHihPSRFGAtXMJFl2NkPlmKckn+KAleZNOS7/shsrMlqTxmOcLWtBUcUAZ2FVtvCk90WeEVHbB+57tJs= From: Roger Pau Monne <roger.pau@citrix.com> To: <xen-devel@lists.xenproject.org> CC: <dwmw2@infradead.org>, Roger Pau Monne <roger.pau@citrix.com>, Jan Beulich <jbeulich@suse.com>, Andrew Cooper <andrew.cooper3@citrix.com>, Wei Liu <wl@xen.org> Subject: [PATCH v2 5/5] x86/cpuid: expose EXT_DEST_ID feature if supported Date: Wed, 16 Feb 2022 11:30:26 +0100 Message-ID: <20220216103026.11533-6-roger.pau@citrix.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220216103026.11533-1-roger.pau@citrix.com> References: <20220216103026.11533-1-roger.pau@citrix.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0131.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:193::10) To SA0PR03MB5610.namprd03.prod.outlook.com (2603:10b6:806:b2::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 97ff082c-8541-4ed1-23c9-08d9f13776e9 X-MS-TrafficTypeDiagnostic: SJ0PR03MB6256:EE_ X-Microsoft-Antispam-PRVS: <SJ0PR03MB625612014BDEBA942933909E8F359@SJ0PR03MB6256.namprd03.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ElJ9y0OO2Z/5hfcleDQHwhADR64BcfYyqqHIky+V05axd5LK5dV3O8Et6k6gtbywDL9UT8OPXJFKA7Hg55Oh4yZy/yu7OELNk1kiT+WlPHiA3pnDVf5XTdaw83uvW2JnM1lnAuUmr+XApCXxFnPXOJ46OeWrj87XDx7J9p2PTIPStZ3y179purMdn3utGnkWyJnXLq7UiYyZijKV4kxNuuWSCeltat7Up5H6CQRZpnXRR/LT52ijR+Lf6cDDEo7sq4F8OG72gb4q+NYBHxnoitOtIX9icamjuJRVYA76XSH/hdbCUH4QoNd9m3OQkrbulnsFM7s+xIYHM7Qp5rCYpr0he1VetcWS9psj11s6OQjgG3yOWKMrtnlLhnDVWUyvlkKSxJCJOEtEbuoBDYW05FjUWDPm2jci+wjNrSKboHAEBv6N+0pCwL9K+IdDO9gTKrI1AOHema0cLYcXixSFkybjocFp4qKc3ak8Nm1TIADtJSNSS/pP6nfvrJB3UXK/NWKi2fWEV3DS0MNIMZvvPleOBAvHWwRh1I2fUmXjlYhFFFK7RRv3h7PSPJr3+D1aMlF5yH3Ng3CIaPLsqqpnArCV2cnEQJwx3M3gvJincsQuwjqJl1zaq8lvFRlDzwsQuQDybhUJIbMhcBkrReRy/w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA0PR03MB5610.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(8676002)(2616005)(66946007)(6506007)(6512007)(316002)(26005)(1076003)(66556008)(508600001)(86362001)(6486002)(6916009)(6666004)(54906003)(4744005)(82960400001)(66476007)(4326008)(38100700002)(36756003)(5660300002)(2906002)(8936002)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?TNwIwqZiVJJSQfytI2Myf0lt3OlM?= =?utf-8?q?tHWDOUihmHXWN7CsrbEqCd9fAzsa5fIKWQvTaXkqVfoq4NcvkzSkuzUbfQEnEHsUR?= =?utf-8?q?+3K0F3Vli9mBpcfvWjsL5IAhZE08VBdmoGimEA0xQ5LQDiZqdpV60MRHmZiJybQOb?= =?utf-8?q?4CT/lIElMIPvRM9LP83SW9qCm6xgy/9lKXsh6McTHqTnGK5qO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VBF0X9XNWRURx8ABoXS7m?= =?utf-8?q?IitUwQi1cH6bue0wFD22+wCK9ZQHctAG3Q0nXWvDVFDQb9bsl1OUM1KEtnXGkVbZ1?= =?utf-8?q?8q8e0RGXDeWO4WJh8CpOFXxflz14Rv02r4gujrkildn7IsZWIX7vbzkvZERfwABoa?= =?utf-8?q?exdQtKYvEACYPKOtZaAi4DCLRKlKe20Y6fwvXPfGWDjMIHAo9rx2tjTyjLdmDbtiY?= =?utf-8?q?kWS0AJ4rKYDYEWuAzH5Wn8+IViTi861iLOJ20YSA5qZNKHHwOorjdGZTXDDUg8ME3?= =?utf-8?q?lRR6Cr2VISa0MJjfOguZR2bAuA7b2zmFQl8N6yj6HO5K0RZWD98DxjKf7XHYKc2dp?= =?utf-8?q?yl1NoUxupVUyVSRi4J0BKsYA0h+AZxxOGsXCUmOHTGWm7EocvmYcC4ZHho6M9vnn/?= =?utf-8?q?JmV6gdbo19syIlkFEcl5kCGYp6TUVnq5zS2t8dY36Qp0ce8N3Cb9abCMb7Uz9Uifm?= =?utf-8?q?hOflBYKptZ34BNCDrTpiZ2wyUns5uVhMoYjOoR6Ze9u64ptT0o5H8V4=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 97ff082c-8541-4ed1-23c9-08d9f13776e9 X-MS-Exchange-CrossTenant-AuthSource: SA0PR03MB5610.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2022 10:31:17.1058 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fep66e4T7ZJttA4ygpzVmzXhvXPvob/iv0lNGE7js+c8HVIH9bEl4a5lqWCvxrLii1uFuhBDqvS8UhBl5UUXrA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR03MB6256 X-OriginatorOrg: citrix.com |
Series |
x86: extended destination ID support
|
expand
|
On 16.02.2022 11:30, Roger Pau Monne wrote: > Expose the feature if available for the domain. > > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com>
diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c index 485bd66971..5b24688b07 100644 --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -1150,6 +1150,9 @@ void cpuid_hypervisor_leaves(const struct vcpu *v, uint32_t leaf, res->a |= XEN_HVM_CPUID_DOMID_PRESENT; res->c = d->domain_id; + if ( d->arch.ext_dest_id ) + res->a |= XEN_HVM_CPUID_EXT_DEST_ID; + break; case 5: /* PV-specific parameters */
Expose the feature if available for the domain. Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> --- Note: con not be committed ahead of the rest of the series. --- Changes since v1: - New in this version (split from previous patch). --- xen/arch/x86/traps.c | 3 +++ 1 file changed, 3 insertions(+)