[PATCH] crypto:vmx: Move ppc vmx diirectory to arch/powerpc/crypto.
Danny Tsen
dtsen at linux.ibm.com
Fri Jan 26 21:42:36 AEDT 2024
Thanks Herbert.
-Danny
On 1/26/24 4:58 PM, Herbert Xu wrote:
> On Tue, Jan 02, 2024 at 03:58:56PM -0500, Danny Tsen wrote:
>> Relocate all crypto files in vmx driver to arch/powerpc/crypto directory
>> and remove vmx directory.
>>
>> drivers/crypto/vmx/aes.c rename to arch/powerpc/crypto/aes.c
>> drivers/crypto/vmx/aes_cbc.c rename to arch/powerpc/crypto/aes_cbc.c
>> drivers/crypto/vmx/aes_ctr.c rename to arch/powerpc/crypto/aes_ctr.c
>> drivers/crypto/vmx/aes_xts.c rename to arch/powerpc/crypto/aes_xts.c
>> drivers/crypto/vmx/aesp8-ppc.h rename to arch/powerpc/crypto/aesp8-ppc.h
>> drivers/crypto/vmx/aesp8-ppc.pl rename to arch/powerpc/crypto/aesp8-ppc.pl
>> drivers/crypto/vmx/ghash.c rename to arch/powerpc/crypto/ghash.c
>> drivers/crypto/vmx/ghashp8-ppc.pl rename to arch/powerpc/crypto/ghashp8-ppc.pl
>> drivers/crypto/vmx/vmx.c rename to arch/powerpc/crypto/vmx.c
>>
>> deleted files:
>> drivers/crypto/vmx/Makefile
>> drivers/crypto/vmx/Kconfig
>> drivers/crypto/vmx/ppc-xlate.pl
>>
>> This patch has been tested has passed the selftest. The patch is also tested with
>> CONFIG_CRYPTO_MANAGER_EXTRA_TESTS enabled.
>>
>> Signed-off-by: Danny Tsen <dtsen at linux.ibm.com>
>> ---
>> arch/powerpc/crypto/Kconfig | 20 ++
>> arch/powerpc/crypto/Makefile | 20 +-
>> .../crypto/vmx => arch/powerpc/crypto}/aes.c | 0
>> .../vmx => arch/powerpc/crypto}/aes_cbc.c | 0
>> .../vmx => arch/powerpc/crypto}/aes_ctr.c | 0
>> .../vmx => arch/powerpc/crypto}/aes_xts.c | 0
>> .../vmx => arch/powerpc/crypto}/aesp8-ppc.h | 0
>> .../vmx => arch/powerpc/crypto}/aesp8-ppc.pl | 0
>> .../vmx => arch/powerpc/crypto}/ghash.c | 0
>> .../powerpc/crypto}/ghashp8-ppc.pl | 0
>> .../crypto/vmx => arch/powerpc/crypto}/vmx.c | 0
>> drivers/crypto/Kconfig | 14 +-
>> drivers/crypto/Makefile | 2 +-
>> drivers/crypto/vmx/.gitignore | 3 -
>> drivers/crypto/vmx/Kconfig | 14 --
>> drivers/crypto/vmx/Makefile | 23 --
>> drivers/crypto/vmx/ppc-xlate.pl | 231 ------------------
>> 17 files changed, 46 insertions(+), 281 deletions(-)
>> rename {drivers/crypto/vmx => arch/powerpc/crypto}/aes.c (100%)
>> rename {drivers/crypto/vmx => arch/powerpc/crypto}/aes_cbc.c (100%)
>> rename {drivers/crypto/vmx => arch/powerpc/crypto}/aes_ctr.c (100%)
>> rename {drivers/crypto/vmx => arch/powerpc/crypto}/aes_xts.c (100%)
>> rename {drivers/crypto/vmx => arch/powerpc/crypto}/aesp8-ppc.h (100%)
>> rename {drivers/crypto/vmx => arch/powerpc/crypto}/aesp8-ppc.pl (100%)
>> rename {drivers/crypto/vmx => arch/powerpc/crypto}/ghash.c (100%)
>> rename {drivers/crypto/vmx => arch/powerpc/crypto}/ghashp8-ppc.pl (100%)
>> rename {drivers/crypto/vmx => arch/powerpc/crypto}/vmx.c (100%)
>> delete mode 100644 drivers/crypto/vmx/.gitignore
>> delete mode 100644 drivers/crypto/vmx/Kconfig
>> delete mode 100644 drivers/crypto/vmx/Makefile
>> delete mode 100644 drivers/crypto/vmx/ppc-xlate.pl
> Patch applied. Thanks.
More information about the Linuxppc-dev
mailing list