From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934318AbcBQMOi (ORCPT ); Wed, 17 Feb 2016 07:14:38 -0500 Received: from terminus.zytor.com ([198.137.202.10]:56090 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933257AbcBQMOg (ORCPT ); Wed, 17 Feb 2016 07:14:36 -0500 Date: Wed, 17 Feb 2016 04:13:25 -0800 From: tip-bot for Borislav Petkov Message-ID: Cc: bp@suse.de, luto@amacapital.net, pbonzini@redhat.com, hpa@zytor.com, tglx@linutronix.de, brgerst@gmail.com, torvalds@linux-foundation.org, bp@alien8.de, dvlasenk@redhat.com, linux-kernel@vger.kernel.org, mingo@kernel.org, Suravee.Suthikulpanit@amd.com, peterz@infradead.org Reply-To: mingo@kernel.org, peterz@infradead.org, Suravee.Suthikulpanit@amd.com, linux-kernel@vger.kernel.org, dvlasenk@redhat.com, brgerst@gmail.com, bp@alien8.de, torvalds@linux-foundation.org, luto@amacapital.net, hpa@zytor.com, tglx@linutronix.de, pbonzini@redhat.com, bp@suse.de In-Reply-To: <1455612202-14414-5-git-send-email-bp@alien8.de> References: <1455612202-14414-5-git-send-email-bp@alien8.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/asm] x86/msr: Document msr-index.h rule for addition Git-Commit-ID: 053080a9d1c8cf1950115ad92ce94242ebc5f25c X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 053080a9d1c8cf1950115ad92ce94242ebc5f25c Gitweb: http://git.kernel.org/tip/053080a9d1c8cf1950115ad92ce94242ebc5f25c Author: Borislav Petkov AuthorDate: Tue, 16 Feb 2016 09:43:22 +0100 Committer: Ingo Molnar CommitDate: Wed, 17 Feb 2016 08:47:55 +0100 x86/msr: Document msr-index.h rule for addition In order to keep this file's size sensible and not cause too much unnecessary churn, make the rule explicit - similar to pci_ids.h - that only MSRs which are used in multiple compilation units, should get added to it. Signed-off-by: Borislav Petkov Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Paolo Bonzini Cc: Peter Zijlstra Cc: Suravee Suthikulpanit Cc: Thomas Gleixner Cc: alex.williamson@redhat.com Cc: gleb@kernel.org Cc: joro@8bytes.org Cc: kvm@vger.kernel.org Cc: sherry.hurwitz@amd.com Cc: wei@redhat.com Link: http://lkml.kernel.org/r/1455612202-14414-5-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar --- arch/x86/include/asm/msr-index.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h index b05402e..984ab75 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h @@ -1,7 +1,12 @@ #ifndef _ASM_X86_MSR_INDEX_H #define _ASM_X86_MSR_INDEX_H -/* CPU model specific register (MSR) numbers */ +/* + * CPU model specific register (MSR) numbers. + * + * Do not add new entries to this file unless the definitions are shared + * between multiple compilation units. + */ /* x86-64 specific MSRs */ #define MSR_EFER 0xc0000080 /* extended feature register */