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

From: Thomas Gleixner
Date: Mon Dec 14 2015 - 14:57:27 EST


On Mon, 14 Dec 2015, Dave Hansen wrote:
> 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 <dave.hansen@xxxxxxxxxxxxxxx>

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/