From: alastair@au1.ibm.com Subject: [PATCH 0/2] Automatically load the vmx_crypto module if supported Date: Wed, 13 Jul 2016 15:47:16 +1000 Message-ID: <1468388840-12068-1-git-send-email-alastair@au1.ibm.com> Cc: benh@kernel.crashing.org, paulus@samba.org, herbert@gondor.apana.org.au, davem@davemloft.net, linuxppc-dev@lists.ozlabs.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, "Alastair D'Silva" To: mpe@ellerman.id.au Return-path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:44412 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751185AbcGMFst (ORCPT ); Wed, 13 Jul 2016 01:48:49 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u6D5i2tL078344 for ; Wed, 13 Jul 2016 01:48:33 -0400 Received: from e23smtp06.au.ibm.com (e23smtp06.au.ibm.com [202.81.31.148]) by mx0a-001b2d01.pphosted.com with ESMTP id 2452xrea1j-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 13 Jul 2016 01:48:33 -0400 Received: from localhost by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Jul 2016 15:48:30 +1000 Sender: linux-crypto-owner@vger.kernel.org List-ID: From: Alastair D'Silva This series allows the vmx_crypto module to be detected and automatically loaded via UDEV if the CPU supports the vector crypto feature. Alastair D'Silva (2): powerpc: Add module autoloading based on CPU features crypto: vmx - Convert to CPU feature based module autoloading arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/cpufeature.h | 70 +++++++++++++++++++++++++++++++++++ drivers/crypto/vmx/Kconfig | 2 +- drivers/crypto/vmx/vmx.c | 6 +-- 4 files changed, 74 insertions(+), 5 deletions(-) create mode 100644 arch/powerpc/include/asm/cpufeature.h -- 2.7.4