Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751539AbbEAQUz (ORCPT ); Fri, 1 May 2015 12:20:55 -0400 Received: from mail.skyhub.de ([78.46.96.112]:42691 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751341AbbEAQUw (ORCPT ); Fri, 1 May 2015 12:20:52 -0400 Date: Fri, 1 May 2015 18:20:46 +0200 From: Borislav Petkov To: Dave Hansen Cc: Aravind Gopalakrishnan , tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, tony.luck@intel.com, jiang.liu@linux.intel.com, yinghai@kernel.org, x86@kernel.org, dvlasenk@redhat.com, JBeulich@suse.com, slaoub@gmail.com, luto@amacapital.net, oleg@redhat.com, rostedt@goodmis.org, rusty@rustcorp.com.au, prarit@redhat.com, linux@rasmusvillemoes.dk, jroedel@suse.de, andriy.shevchenko@linux.intel.com, macro@linux-mips.org, wangnan0@huawei.com, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org Subject: Re: [PATCH 1/4] x86/mce: Define 'SUCCOR' cpuid bit Message-ID: <20150501162045.GM10239@pd.tnic> References: <1430405365-4473-1-git-send-email-Aravind.Gopalakrishnan@amd.com> <1430405365-4473-2-git-send-email-Aravind.Gopalakrishnan@amd.com> <55439734.1070709@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <55439734.1070709@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 726 Lines: 19 On Fri, May 01, 2015 at 08:09:40AM -0700, Dave Hansen wrote: > Is there a reason to add the cpuid detection like this instead of adding > an X86_FEATURE_ for it and using cpu_has() and friends? Doing that > would also let you see the bit in /proc/cpuinfo. Well, as those are RAS-specific, it didn't seem to make a whole lotta sense to advertise them globally (they're used solely in the MCE code). -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/