Received: by 10.223.176.46 with SMTP id f43csp4523845wra; Tue, 23 Jan 2018 10:29:02 -0800 (PST) X-Google-Smtp-Source: AH8x226qlUDAmM+Y8zzdiHn9VF1AbdgUIHe77z+d4m9/DBrdtRe5WrmsGi1IVkPQqw8NyMykcp/U X-Received: by 10.107.57.4 with SMTP id g4mr4708468ioa.236.1516732142876; Tue, 23 Jan 2018 10:29:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516732142; cv=none; d=google.com; s=arc-20160816; b=byND57+wWE9dTyvD2ir2bswQ2RPwZaQGa3SWcs0XgjsFVI5OZM+fxvLgQNnqV3Qrl3 TLNMIvCWfEEScmnwlCjUbV3G1SDUMlNe5u3lq5lqMhqGyzvkmtLfkHIj5l6DGmmQf2Tt vKwnzw3GjD2myBSvg+rHXisB2nHDNVixGiU0z8dPQ/3JV11uSl+wSTC7PtN/EgmZttFt /yjLAr45l/MdGZNNQ/Jj2yUz13NqbOQZnWUPrJqAAuH+odk3QRhh+ZXci+sH9ZDEzBnZ wDKjmkzUsmdhilgDhWW4K50hVRsUqUupZM3JBecT2p16kju2xZHLGkHxrIZ+Ujm4+jpN LC2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:arc-authentication-results; bh=h1t5ZjrUWbv3Ff0SFKCd6VyOzn4M+KDr9H+3Nah1d8g=; b=pEFQsW0eTMcR8GNjLSQHf3hK6l9vgw4v3U4IDaxU5/9qNxVi/NMWKTBFJnlRqBMJuY I3VOP4848jLA9ojkuGU9E5V7ibf8Bf6P5ITTIbGjDkkLBnWVBMRtJXxmJRSzX7PWwTF2 qLhtFqCHTwEeLiZfmtQUCeNKx8108Efju6Unvzt1xHQSHe6gmlfT7q7JCCTHQsJkPAOl f0OuoQZxvj8EK+Kvnj6Hr8Fnxti3obDpho1u8fvaozpr0BlV7qfKKhjdAxS868BB5FiL 5jvlT/PXc2sRSuSGZA4/4YgRIUHLSfrXLO0EGBjgXD8RhV3ZQ+CU8lvFwb2TxjglFPb9 6pWw== ARC-Authentication-Results: i=1; mx.google.com; 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 v62si8837646ita.81.2018.01.23.10.28.49; Tue, 23 Jan 2018 10:29:02 -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; 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 S1752256AbeAWS11 (ORCPT + 99 others); Tue, 23 Jan 2018 13:27:27 -0500 Received: from mga04.intel.com ([192.55.52.120]:64209 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752226AbeAWS10 (ORCPT ); Tue, 23 Jan 2018 13:27:26 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2018 10:27:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,402,1511856000"; d="scan'208";a="12033149" Received: from ray.jf.intel.com (HELO [10.7.201.17]) ([10.7.201.17]) by orsmga007.jf.intel.com with ESMTP; 23 Jan 2018 10:27:26 -0800 Subject: Re: [PATCH v2 4/5] x86/msr: Add definitions for new speculation control MSRs 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, thomas.lendacky@amd.com References: <1516726375-25168-1-git-send-email-dwmw@amazon.co.uk> <1516726375-25168-5-git-send-email-dwmw@amazon.co.uk> From: Dave Hansen Message-ID: <18ca2a5a-17df-e889-9c11-f5ee4c46de53@intel.com> Date: Tue, 23 Jan 2018 10:27:24 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1516726375-25168-5-git-send-email-dwmw@amazon.co.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/23/2018 08:52 AM, David Woodhouse wrote: > +#define MSR_IA32_ARCH_CAPABILITIES 0x0000010a > +#define ARCH_CAP_RDCL_NO (1 << 0) /* Not susceptible to Meltdown */ > +#define ARCH_CAP_IBRS_ALL (1 << 1) /* Enhanced IBRS support */ Do we want to spell out the silly Intel acronym? I don't know how we fit it on the right side, but I do think we need to do it _somewhere_. We need the code to stand on its own to some degree and not subject the masses to reading the spec to understand the code. /* Not to susceptible Rogue Data Cache Load aka Meltdown: */ #define ARCH_CAP_RDCL_NO (1 << 0)