This is a note to let you know that I've just added the patch titled powerpc: Add AT_HWCAP2 to indicate V.CRYPTO category support to the 3.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: powerpc-add-at_hwcap2-to-indicate-v.crypto-category-support.patch and it can be found in the queue-3.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From dd58a092c4202f2bd490adab7285b3ff77f8e467 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Date: Tue, 10 Jun 2014 15:04:40 +1000 Subject: powerpc: Add AT_HWCAP2 to indicate V.CRYPTO category support From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> commit dd58a092c4202f2bd490adab7285b3ff77f8e467 upstream. The Vector Crypto category instructions are supported by current POWER8 chips, advertise them to userspace using a specific bit to properly differentiate with chips of the same architecture level that might not have them. Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- arch/powerpc/include/uapi/asm/cputable.h | 1 + arch/powerpc/kernel/cputable.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) --- a/arch/powerpc/include/uapi/asm/cputable.h +++ b/arch/powerpc/include/uapi/asm/cputable.h @@ -41,5 +41,6 @@ #define PPC_FEATURE2_EBB 0x10000000 #define PPC_FEATURE2_ISEL 0x08000000 #define PPC_FEATURE2_TAR 0x04000000 +#define PPC_FEATURE2_VEC_CRYPTO 0x02000000 #endif /* _UAPI__ASM_POWERPC_CPUTABLE_H */ --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -109,7 +109,8 @@ extern void __restore_cpu_e6500(void); PPC_FEATURE_PSERIES_PERFMON_COMPAT) #define COMMON_USER2_POWER8 (PPC_FEATURE2_ARCH_2_07 | \ PPC_FEATURE2_HTM_COMP | PPC_FEATURE2_DSCR | \ - PPC_FEATURE2_ISEL | PPC_FEATURE2_TAR) + PPC_FEATURE2_ISEL | PPC_FEATURE2_TAR | \ + PPC_FEATURE2_VEC_CRYPTO) #define COMMON_USER_PA6T (COMMON_USER_PPC64 | PPC_FEATURE_PA6T |\ PPC_FEATURE_TRUE_LE | \ PPC_FEATURE_HAS_ALTIVEC_COMP) Patches currently in stable-queue which might be from benh@xxxxxxxxxxxxxxxxxxx are queue-3.15/powerpc-fix-typo-config_ppc_cpu.patch queue-3.15/powerpc-perf-ensure-all-ebb-register-state-is-cleared-on-fork.patch queue-3.15/powernv-fix-permissions-on-sysparam-sysfs-entries.patch queue-3.15/powerpc-don-t-skip-epapr-spin-table-cpus.patch queue-3.15/powerpc-add-at_hwcap2-to-indicate-v.crypto-category-support.patch queue-3.15/powerpc-mm-check-paca-psize-is-up-to-date-for-huge-mappings.patch queue-3.15/powerpc-pseries-fix-overwritten-pe-state.patch queue-3.15/powerpc-don-t-setup-cpus-with-bad-status.patch queue-3.15/powerpc-64bit-sendfile-is-capped-at-2gb.patch queue-3.15/powerpc-serial-use-saner-flags-when-creating-legacy-ports.patch queue-3.15/powerpc-fix-typo-config_pmac.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html