[PATCH 14/31] x86, pkeys: add functions to fetch PKRU

2016-01-29 Thread Dave Hansen
From: Dave Hansen This adds the raw instruction to access PKRU as well as some accessor functions that correctly handle when the CPU does not support the instruction. We don't use it here, but we will use read_pkru() in the next patch. Signed-off-by: Dave Hansen Reviewed-by: Thomas Gleixner

[PATCH 14/31] x86, pkeys: add functions to fetch PKRU

2016-01-29 Thread Dave Hansen
From: Dave Hansen This adds the raw instruction to access PKRU as well as some accessor functions that correctly handle when the CPU does not support the instruction. We don't use it here, but we will use read_pkru() in the next patch. Signed-off-by: Dave Hansen

[PATCH 14/31] x86, pkeys: add functions to fetch PKRU

2016-01-06 Thread Dave Hansen
From: Dave Hansen This adds the raw instruction to access PKRU as well as some accessor functions that correctly handle when the CPU does not support the instruction. We don't use it here, but we will use read_pkru() in the next patch. Signed-off-by: Dave Hansen ---

[PATCH 14/31] x86, pkeys: add functions to fetch PKRU

2016-01-06 Thread Dave Hansen
From: Dave Hansen This adds the raw instruction to access PKRU as well as some accessor functions that correctly handle when the CPU does not support the instruction. We don't use it here, but we will use read_pkru() in the next patch. Signed-off-by: Dave Hansen