From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933508AbeALMcj (ORCPT + 1 other); Fri, 12 Jan 2018 07:32:39 -0500 Received: from mail.skyhub.de ([5.9.137.197]:41992 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932797AbeALMci (ORCPT ); Fri, 12 Jan 2018 07:32:38 -0500 Date: Fri, 12 Jan 2018 13:32:24 +0100 From: Borislav Petkov To: Ashok Raj Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Tim Chen , Andy Lutomirski , Linus Torvalds , Greg KH , Dave Hansen , Andrea Arcangeli , Andi Kleen , Arjan Van De Ven , David Woodhouse , Peter Zijlstra , Dan Williams , Paolo Bonzini , Jun Nakajima , Asit Mallick Subject: Re: [PATCH 5/5] x86/feature: Detect the x86 feature Indirect Branch Prediction Barrier Message-ID: <20180112123223.us2iygz6twype2sr@pd.tnic> References: <1515720739-43819-1-git-send-email-ashok.raj@intel.com> <1515720739-43819-6-git-send-email-ashok.raj@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1515720739-43819-6-git-send-email-ashok.raj@intel.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, Jan 11, 2018 at 05:32:19PM -0800, Ashok Raj wrote: > cpuid ax=0x7, return rdx bit 26 to indicate presence of both > IA32_SPEC_CTRL(MSR 0x48) and IA32_PRED_CMD(MSR 0x49) So why do we need two X86_FEATURE flags then? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.