Received: by 10.223.176.46 with SMTP id f43csp2040990wra; Sun, 21 Jan 2018 09:51:41 -0800 (PST) X-Google-Smtp-Source: AH8x227mHBgrCe9TnNH43TSndhlYmF2c9E6tQtoCUW3MmQhGTiIeFZwg4BUWjM4bu0EJU6o+lMbD X-Received: by 2002:a17:902:bb88:: with SMTP id m8-v6mr2205392pls.432.1516557101588; Sun, 21 Jan 2018 09:51:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516557101; cv=none; d=google.com; s=arc-20160816; b=ny/pZ3VNgqPmbaYkbwgcOhdjFyvLV98+ckP6+NP9huUDUwWVZhFtaQkgDvx6hzEJsz rF0jW2TpnUDVG26Igcl+KV/jod+FrXyRsCuFUwANgVI67nxPgzXHbyJQw6sAFA51k2+F MI5dHUW4J+yPdDV0wWzsajXk2rDDFSgYdsdB8MbsjBxwc1eicC3ijdFNZY3jo7PfOgUx ebgptSq5HDO2lptFvtIr857YD4nBTplPwJ/Q8vzAHKAG96Wl/8usxFNaVYHxfcPlv8o2 /lALbgPW5KXAqJEMF1/H/c4BbXwWHWkvvUNZtMTRXwTCZ1I/6e+zKop9u97yn5Uqq0KD 08ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature:arc-authentication-results; bh=6S0nF1pLFSz06t1OR5AduK0VCo4QhPKv0BNFy1p2Ppo=; b=snrLcl4ZxMxFXgUWdw0BKoVKlqvFy+G4uD52wtAL01aTyYwKip4lWd77mOuUuYj2TA YrdCxpyXVBoWB40WJlmGELsO+8K3zWOANKNu9ckMQEp7bsVQpa1m227v8/yuImrj1WrO lzyN6tyDXrX5L6YWiHOvLLHlND0Z9NAlMON5VFQLm+OJgAQmFn16uOZofczYIWsvQF4Z xgXM+Hxi6UUmXFEpguK8f2W7DbAdhl/5TQ23aXlcevLx9xC6E4N9mGfIOsd0wMTthWjm QjlPMXo8Xx4/lb+dAOkkTPOfmVJHyOG3GPWsNR9gG64tYz5oZy2Ca11wqAOPOXv/k9ex vyIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=z1hEwkVy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u66si13882243pfa.237.2018.01.21.09.51.27; Sun, 21 Jan 2018 09:51:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=z1hEwkVy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751328AbeAURuc (ORCPT + 99 others); Sun, 21 Jan 2018 12:50:32 -0500 Received: from mail-dm3nam03on0067.outbound.protection.outlook.com ([104.47.41.67]:42656 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750853AbeAURua (ORCPT ); Sun, 21 Jan 2018 12:50:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6S0nF1pLFSz06t1OR5AduK0VCo4QhPKv0BNFy1p2Ppo=; b=z1hEwkVyssPsk5NLE9nQ6+cK22QJlP8UQw54KCfiyJfCtqW5/Ua03Lh/gjCCaggcauy6RCLCjGJBMgTN37d8koCTR44/zd84V6lMuuhOrFGYpnsWyZ3BjKhbPnKRS5xByFBr/62RQ0OcINGTGcD1+ZPAOoEnucIXEn89Fd4suHQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; Received: from [10.236.65.116] (165.204.78.1) by DM5PR12MB1147.namprd12.prod.outlook.com (10.168.236.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Sun, 21 Jan 2018 17:50:24 +0000 Subject: Re: [PATCH v2 2/8] x86/cpufeatures: Add AMD feature bits for Prediction Command To: David Woodhouse , arjan@linux.intel.com, tglx@linutronix.de, karahmed@amazon.de, x86@kernel.org, linux-kernel@vger.kernel.org, tim.c.chen@linux.intel.com, bp@alien8.de, peterz@infradead.org, pbonzini@redhat.com, ak@linux.intel.com, torvalds@linux-foundation.org, gregkh@linux-foundation.org References: <1516528149-9370-1-git-send-email-dwmw@amazon.co.uk> <1516528149-9370-3-git-send-email-dwmw@amazon.co.uk> From: Tom Lendacky Message-ID: Date: Sun, 21 Jan 2018 11:50:20 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1516528149-9370-3-git-send-email-dwmw@amazon.co.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: CY4PR03CA0105.namprd03.prod.outlook.com (10.171.242.174) To DM5PR12MB1147.namprd12.prod.outlook.com (10.168.236.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 886aac86-8223-4eac-54b8-08d560f774df X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(48565401081)(2017052603307)(7153060)(7193020);SRVR:DM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rgQYjroCw5yVLyJw76lw3xDLx6bq4mSEHYwU0W/aB91ewcbjAWS3FCn74BlYsQw8vzffnvCkRlK4WKrDUhxdhtPjpcMI9H7UbDP7VP4Nx00IFICGpvOj+Jy4IpSi9/3ZRgIfuS4rar91xQiGYwidSzN5DNKqSjo62zS4DhhT0APRmVqZ7vn7hYQgPLoLmQxEhtFzdCtUY98AEjejfiKE9QybN0ToMzea+ek6VrcxVRCwsC/jhDWPmeBO9PZVcpv3JNAc56qyTc5p8Ah5+uxPyeU3zxIWsTC1oh1GXic1Yn1H859dtnFGNvNUfu47sw85zYuZ5/ljbXtQ9UzCehHRrFnn041F0YYNJ3tVnZ1e1r4oe0jSf+nlO4+HRzuQqbH6m0EbjFNYvUc;4:RWQMIkqi2Fc3xSCk4n3+efJKDC/yeI9U9LClI9r1IoI5c7KVLXewydfGV6kQpmvGlN1uneNAJDiuDMnnW1V5SLwG2zdRIjgv5+0FMcW+uokgHeGtqbJkA7upsBLpGn/Ut0MbsHePVA1zHdl5f+vVPysvoaxisML0gtmwxD6BYJo11djHVbKpu5DHR7r5Kukth5DItCrGa3DmbqvqnLNW/ss1S3Gp652LCyC4efea04TLfwpL5TopMTuD5fZphOjCVvjiZVLupCm5CBuJCv/Yv9dkKnOpxL2klv2iG8lbORuOKORe8HCFf2KNleFut1Qu X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(146755900322472); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(3231023)(2400081)(944501161)(6055026)(6041288)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011);SRVR:DM5PR12MB1147;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DM5PR12MB1147; X-Forefront-PRVS: 0559FB9674 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(346002)(376002)(39860400002)(366004)(396003)(39380400002)(189003)(199004)(6486002)(52116002)(53936002)(76176011)(86362001)(50466002)(105586002)(106356001)(52146003)(47776003)(23676004)(2486003)(66066001)(65956001)(65806001)(7416002)(6246003)(31696002)(31686004)(478600001)(36756003)(72206003)(90366009)(25786009)(3260700006)(230700001)(7736002)(305945005)(5660300001)(58126008)(2906002)(26005)(229853002)(316002)(83506002)(16576012)(77096007)(16526018)(2950100002)(68736007)(6666003)(97736004)(81166006)(386003)(8936002)(3846002)(6116002)(53546011)(64126003)(8676002)(65826007)(81156014)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1147;H:[10.236.65.116];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjEyTUIxMTQ3OzIzOnQxRnl2SFdBWkhTcUxoeFRQblZENjdieEJ5?= =?utf-8?B?OHZZRnZSSElaK21UQzJmdjcvZEUyM3FmcFdnMHZUVlY1ZkZpalJlVzR5VUtY?= =?utf-8?B?ZkgrYnRjMWROV25DTjdNQTd1WHRyNGp4RUpLTy9FVWY0WWNIeDIydWdsQ0do?= =?utf-8?B?TklwVFBOalQ0UlM5MC9YNFRodDJFenNpcVlrMG9CMGI4Yi95a1RzV0VQQXZV?= =?utf-8?B?T2hhNk5Nbjl1NkJUOTZiZk02QWoyZ0NqUm9QSld6UERzbHBSSzI0aGFpL3JY?= =?utf-8?B?NHMrbU81ei9ZZS92TzNRekJudFFWanJzTU44UGpQSEIyWUt3YkRON0F4RThM?= =?utf-8?B?cTFramg5bCtOWlBmSVdRYmdldGlSd2JPTDBTMzNZL0gyTTRkaDhFc1cxZ0Nh?= =?utf-8?B?dy9hOVhndmlIUWN4dk05OWZ5MysyN1A5ZDJDSExQWEYwaklpUU5IdC9TQXNJ?= =?utf-8?B?N3pjSjhGcWRYeUliR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Q+6FVTBt5xQ=;5:T720siKBZKjGEoBLTIymnwixGCB2P8AOFR5KEMVtAS2bt0ukPNpnGAM/ZWdoXM4B0HBB3391ZTGSyX4iuwn4QP3UkXOokganT9NyMHgv3wAl9HQiWp/Zf8Gnln5DNesfGt7uiEOM3sNCc4qZ/M45OAAu+ae0siHNNfII9Tfqyjc=;24:Wkjang7Kal/iLkif44thPjZCl2DnsBMEpum4JJ+OBM2hjnfaGTGcIf07lqQuvHUUOxSYyTbMCMGj0nFwj+GSxinqzx6hqNyYAcr3Xfe2qpM=;7:gmF4QRVAA/vT+Qtb87oa5naJdKofVy7SfRGpWmVelMjI9vSrxqdqY0/n2oR7PeOlzBWe2GRYozeUExpUYMBeWBrMcsORIENNIqguDejUq/kmJVpd0RJum1cLfYRhHk02AY6CmGu6LDz9rvmDkqvZC50Lmlc/i2boPSMb4on7eME3oPYRE2y0zKJemvzNn/p3bj35kmSywSNju0l+VAX+uL+rhq6/gzLBqXpss1rmbpLl1sznR9W/4hxm5YVIpk49 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM5PR12MB1147;20:aEtyEJQMytDotXFc4PF9h395F3ahwRzoI5kSPGloBLMF4JPpUM2ylremFcyiMG2mXyw8LPSJ0isBHiTtiVxw19yMvP9/IcdeZR1+zXuhkUi0325oVQZNr2h5aAAreQWBxKP3CTfGGlq4F8MSqAbZ1LI+Qw5pcFnSlUz1MsiO0rZcEM6l5x87qzOiLzXzcb6TUBCZh8LjmoNVRL0B4bw2cur04PFOMvbWEKAQXOo5OA4m0zem3hLvTGI7awZdlUOQ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jan 2018 17:50:24.8806 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 886aac86-8223-4eac-54b8-08d560f774df X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1147 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/21/2018 3:49 AM, David Woodhouse wrote: > AMD doesn't implement the Speculation Control MSR that Intel does, but > the Prediction Control MSR does exist and is advertised by a separate > CPUID bit. Add support for that. > > Signed-off-by: David Woodhouse > --- > arch/x86/include/asm/cpufeatures.h | 1 + > arch/x86/kernel/cpu/scattered.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h > index 2efb8d4..8c9e5c0 100644 > --- a/arch/x86/include/asm/cpufeatures.h > +++ b/arch/x86/include/asm/cpufeatures.h > @@ -207,6 +207,7 @@ > #define X86_FEATURE_RETPOLINE_AMD ( 7*32+13) /* AMD Retpoline mitigation for Spectre variant 2 */ > #define X86_FEATURE_INTEL_PPIN ( 7*32+14) /* Intel Processor Inventory Number */ > > +#define X86_FEATURE_AMD_PRED_CMD ( 7*32+17) /* Prediction Command MSR (AMD) */ > #define X86_FEATURE_MBA ( 7*32+18) /* Memory Bandwidth Allocation */ > #define X86_FEATURE_RSB_CTXSW ( 7*32+19) /* Fill RSB on context switches */ > > diff --git a/arch/x86/kernel/cpu/scattered.c b/arch/x86/kernel/cpu/scattered.c > index df11f5d..4eb90b2 100644 > --- a/arch/x86/kernel/cpu/scattered.c > +++ b/arch/x86/kernel/cpu/scattered.c > @@ -28,6 +28,7 @@ static const struct cpuid_bit cpuid_bits[] = { > { X86_FEATURE_HW_PSTATE, CPUID_EDX, 7, 0x80000007, 0 }, > { X86_FEATURE_CPB, CPUID_EDX, 9, 0x80000007, 0 }, > { X86_FEATURE_PROC_FEEDBACK, CPUID_EDX, 11, 0x80000007, 0 }, > + { X86_FEATURE_AMD_PRED_CMD, CPUID_EBX, 12, 0x80000008, 0 }, I replied to the previous version, but I'll add it here, too. This should be moved to the existing 0x80000008/EBX entry rather than have it in scattered. Also, there will be a total of three bits: IBPB: 0x80000008 EBX[12] IBRS: 0x80000008 EBX[14] STIBP: 0x80000008 EBX[15] Since IBRS and STIBP share the same MSR, if a processor only supports STIBP (MSR bit 1), for ease of software implementation the processor does not GP fault attempts to write bit 0. In a similar manner, if a processor only suppors IBRS (MSR bit 0), the processor does not GP fault attempts to write bit 1. Thanks, Tom > { X86_FEATURE_SME, CPUID_EAX, 0, 0x8000001f, 0 }, > { 0, 0, 0, 0, 0 } > }; >