From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754290AbcDVJeX (ORCPT ); Fri, 22 Apr 2016 05:34:23 -0400 Received: from mail.skyhub.de ([78.46.96.112]:38881 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751920AbcDVJeV (ORCPT ); Fri, 22 Apr 2016 05:34:21 -0400 Date: Fri, 22 Apr 2016 11:34:00 +0200 From: Borislav Petkov To: Thomas Gleixner Cc: Alexander Shishkin , Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, vince@deater.net, eranian@google.com, Arnaldo Carvalho de Melo , Mathieu Poirier Subject: Re: [PATCH v1 2/5] perf/x86/intel/pt: IP filtering register/cpuid bits Message-ID: <20160422093400.GA15090@pd.tnic> References: <1461251823-12416-1-git-send-email-alexander.shishkin@linux.intel.com> <1461251823-12416-3-git-send-email-alexander.shishkin@linux.intel.com> <20160421174813.GA29639@pd.tnic> <20160421203752.GL28821@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 22, 2016 at 09:58:31AM +0200, Thomas Gleixner wrote: > That's really not the same thing. pci ids are issued by a gazillion of vendors > for a bazillion of different devices. There is no consistent view for them. So my reasoning was to not add *every* MSR to that file, especially the ones which are strictly topical. For example, the MCA MSRs which can easily live in mce.h as nothing else needs to touch them... > MSRs on the other hand are x86 specific registers nicely defined in the > SDM/APM and having at least the MSR defines in a single header makes a lot of > sense. ... but ok. I see there could be some merit of keeping them all in the same place. We can always change that if the handling of msr-index.h starts becoming too unwieldy. In any case, we'd need to zap 053080a9d1c8 ("x86/msr: Document msr-index.h rule for addition") now. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.