Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1270831
| Path | csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.roellig-ltd.de!open-news-network.org!border2.nntp.ams1.giganews.com!nntp.giganews.com!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Dave Hansen <dave@sr71.net> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 09/37] x86, pkeys: define new CR4 bit |
| Date | Tue, 17 Nov 2015 04:50:02 +0100 |
| Message-ID | <qvFrk-82I-31@gated-at.bofh.it> (permalink) |
| References | <qvFhE-7YL-5@gated-at.bofh.it> |
| X-Original-To | linux-kernel@vger.kernel.org |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.20,305,1444719600"; d="scan'208";a="852570122" |
| 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 | 31 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | x86@kernel.org, Dave Hansen <dave@sr71.net>, dave.hansen@linux.intel.com |
| X-Original-Date | Mon, 16 Nov 2015 19:35:23 -0800 |
| X-Original-Message-ID | <20151117033523.8585F3D0@viggo.jf.intel.com> |
| X-Original-References | <20151117033511.BFFA1440@viggo.jf.intel.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1270831 |
Show key headers only | View raw
From: Dave Hansen <dave.hansen@linux.intel.com> There is a new bit in CR4 for enabling protection keys. We will actually enable it later in the series. Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> --- b/arch/x86/include/uapi/asm/processor-flags.h | 2 ++ 1 file changed, 2 insertions(+) diff -puN arch/x86/include/uapi/asm/processor-flags.h~pkeys-02-cr4 arch/x86/include/uapi/asm/processor-flags.h --- a/arch/x86/include/uapi/asm/processor-flags.h~pkeys-02-cr4 2015-11-16 12:35:39.221348086 -0800 +++ b/arch/x86/include/uapi/asm/processor-flags.h 2015-11-16 12:35:39.225348268 -0800 @@ -118,6 +118,8 @@ #define X86_CR4_SMEP _BITUL(X86_CR4_SMEP_BIT) #define X86_CR4_SMAP_BIT 21 /* enable SMAP support */ #define X86_CR4_SMAP _BITUL(X86_CR4_SMAP_BIT) +#define X86_CR4_PKE_BIT 22 /* enable Protection Keys support */ +#define X86_CR4_PKE _BITUL(X86_CR4_PKE_BIT) /* * x86-64 Task Priority Register, CR8 _ -- 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 | Find similar | Unroll thread
[PATCH 09/37] x86, pkeys: define new CR4 bit Dave Hansen <dave@sr71.net> - 2015-11-17 04:50 +0100
csiph-web