Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1157577

[PATCH] x86/asm/msr: Retract msr-index.h

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject [PATCH] x86/asm/msr: Retract msr-index.h
Date Wed, 03 Jun 2015 14:50:05 +0200
Message-ID <pxghn-1gO-83@gated-at.bofh.it> (permalink)
X-Original-To LKML <linux-kernel@vger.kernel.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1433335316; bh=GJzyJSpFzfVsTNUBZWFRZv725lOk5uh/znxfWYHacpo=; h=From:To:Cc:Subject:Date:Message-Id; b=ULsAp6LYBmXiJtrVW3G8SIKJI2g abHfsHnDXZL22dcO1JUcaacNW1FoOdSwt37iMGTXfmSmaCEaeW/QsJwYynQJmXEtODF BouEwf2h8DzhjeLALB9VPa4KMzl3eWwsZPdfhPvekbLH0gnQQHW7XLCnkXT7RyI/s0L p1KTF2NWEA=
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1433335316; bh=GJzyJSpFzfVsTNUBZWFRZv725lOk5uh/znxfWYHacpo=; h=From:To:Cc:Subject:Date:Message-Id; b=ULsAp6LYBmXiJtrVW3G8SIKJI2g abHfsHnDXZL22dcO1JUcaacNW1FoOdSwt37iMGTXfmSmaCEaeW/QsJwYynQJmXEtODF BouEwf2h8DzhjeLALB9VPa4KMzl3eWwsZPdfhPvekbLH0gnQQHW7XLCnkXT7RyI/s0L p1KTF2NWEA=
X-Mailer git-send-email 2.3.5
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 51
Organization linux.* mail to news gateway
X-Original-Cc Andrew Morton <akpm@linux-foundation.org>, Andy Lutomirski <luto@kernel.org>, "H. Peter Anvin" <hpa@zytor.com>, Ingo Molnar <mingo@kernel.org>, "Peter Zijlstra (Intel)" <peterz@infradead.org>, Thomas Gleixner <tglx@linutronix.de>, x86@kernel.org
X-Original-Date Wed, 3 Jun 2015 14:41:48 +0200
X-Original-Message-ID <1433335308-27114-1-git-send-email-bp@alien8.de>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1157577

Show key headers only | View raw


From: Borislav Petkov <bp@suse.de>

This header containing all MSRs and respective bit definitions got
exported to userspace in conjunction with the big uapi shuffle.

But, it doesn't have anything to do in the uapi headers because
userspace can do its own MSR defines and exporting them from the
kernel blocks us from doing cleanups/renames in that header. Which is
ridiculous - it is not kernel's job to export such a header and keep
MSRs list and their names stable.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86@kernel.org
---
 arch/x86/include/{uapi => }/asm/msr-index.h | 0
 tools/power/x86/turbostat/Makefile          | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename arch/x86/include/{uapi => }/asm/msr-index.h (100%)

diff --git a/arch/x86/include/uapi/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
similarity index 100%
rename from arch/x86/include/uapi/asm/msr-index.h
rename to arch/x86/include/asm/msr-index.h
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
index 4039854560d0..e367b1a85d70 100644
--- a/tools/power/x86/turbostat/Makefile
+++ b/tools/power/x86/turbostat/Makefile
@@ -9,7 +9,7 @@ endif
 
 turbostat : turbostat.c
 CFLAGS +=	-Wall
-CFLAGS +=	-DMSRHEADER='"../../../../arch/x86/include/uapi/asm/msr-index.h"'
+CFLAGS +=	-DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
 
 %: %.c
 	@mkdir -p $(BUILD_OUTPUT)
-- 
2.3.5

--
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/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86/asm/msr: Retract msr-index.h Borislav Petkov <bp@alien8.de> - 2015-06-03 14:50 +0200
  Re: [PATCH] x86/asm/msr: Retract msr-index.h Borislav Petkov <bp@alien8.de> - 2015-06-04 10:00 +0200

csiph-web