Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp516982rdb; Fri, 26 Jan 2024 02:43:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhHQY3Xi7hcIycueav5UFikPxU3cuHrOyFl37dRDWRohlCv8N9tHkj1mTl8pML+dViOc2K X-Received: by 2002:a05:620a:1271:b0:783:b6dd:eec6 with SMTP id b17-20020a05620a127100b00783b6ddeec6mr842043qkl.6.1706265790354; Fri, 26 Jan 2024 02:43:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706265790; cv=pass; d=google.com; s=arc-20160816; b=w5mz2sppKDUR9azOP6c+bBES80YHgWvXka42KHqPC3PTkXVNM80j5awnKHTywTNHj5 GP9Nl5iNElXEk4ECbMjTZfC4bK9YszMoh2hOItVnStcDWuPesPbNC8wyG0HP9kG1CsrT 56VsBfS2jRgYbPjY0W0feYHCN2eGGhZH/6SFO0RRRqsgF+dGIeRQLJLuuk28+pzS1H3X uGQn5DDMKI1vKGSH2dCbiQLbjf5NC19VNptyh52ekbfhTr+yUYBT94oDZptXmj/oaiAn A9JrA7SXFUbre1DCmjggWUgQIyOIzyRCgO+2MDhd3nunEsOL7PYACvo/77YVcmaS7zQB yBQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=2IMEERAUR7WgGpN5eMUxTy1J+tHxs7yz/GZ4foVta4s=; fh=I0hb6fVKpPMH6kofj5xb1SdGokUQf4qVbWQQ2p37oLo=; b=AYAJ8b6bYLGrIwj/HHBRwrsKgTQ/BTrP52e+Uj3a9YadtH8WqmSWTaQWyWL5AqzNJp cJfe9YQQ4dRuR5v5eUPkfeWqKnb1aqJv/PL/YNcV66QROKFgxY9sbdfyhyjNm733nneC 3EW9dcJOs3MJ/17c1RRZlf33TFH/QfGa1oluUq+I58YUH1ks8Eem9OMU7tE8ZfuIZLdh 7Vcu1pF2SiXEASu5RDBvD6ja6eJQ9FYSY31e3aAemIJC+tLETPyLG2+JB2pdpk73wGYe useDet2PXWo8AUQans0H1nomkMMB4tPZU2ZDmximos4WxI24GsGnSDratv/I5Ue9NRTm xUGg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=HQgP8YHN; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-crypto+bounces-1675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r15-20020a05620a298f00b0078331069e2esi1069008qkp.555.2024.01.26.02.43.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 02:43:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=HQgP8YHN; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-crypto+bounces-1675-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F3F441C21F1A for ; Fri, 26 Jan 2024 10:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1198510A3F; Fri, 26 Jan 2024 10:43:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="HQgP8YHN" X-Original-To: linux-crypto@vger.kernel.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1A522904; Fri, 26 Jan 2024 10:43:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706265784; cv=none; b=OtCIvqoQBe9KnN0Fs3n2gaS+EQOGhFJCIoAFFwv+WyU+/3vl0md6BiX5M/CXhwJF9xcdz/PdSY4anu61xaCXpHtIpJMR+EfaQZrKKCP8fmi2mhBDT01VFpXaWtrgNo1WxRK0CDrcFklH8aHG2/wB02NlTtbKHQboBExciUngFMw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706265784; c=relaxed/simple; bh=YsN7lX/2kWLdzWYdeaCjEqzhqohbfutniFYIhZ9G9dY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GtO8a+zSt7GirpNXAVrYrJLzuQmlsJjgRYd6nd26cmxbkrftJgHRWBC2byotZuxvQc/ME/5hvYZ5EHsWElM8uaFWdzv8mACy6nsU7vQ/xvUESTErC6woBjs3OhbN3bNjfHkC430r2wShDgXF5zyheW/NpXR+w+JA/cNiNjFOw4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=HQgP8YHN; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40QA2Eih002662; Fri, 26 Jan 2024 10:42:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=2IMEERAUR7WgGpN5eMUxTy1J+tHxs7yz/GZ4foVta4s=; b=HQgP8YHN79Z/Xd0sxe8xQr/TmQICezlxF2sBTzg/p/TKOGogvlVIIoYvzcnbVPP1FLgL cgOIGh0BviOvSeh2kzYPSza4U8R1WtCPcGoxngZ41yjVyavCtJuLb26e88cHVfhS6aAw suZuwz/MdDHZBTJP11EyqL/74TDMEH8a/t4w1LgDzq16aEHefJ4pUFz8T0wlBf2oxi+c fC2Uc29B4CEirjN9xrhY+pdaQuz3lmqzL5IYwoT6uHJG2BqEBexfg9/GeHg8mfK42mZG tK4DhfieXlEIrCCJFFf+77IbMLL3oHxa4Tz/suB8qkhqpqLndHvDPXFKMs83XvIifD6j HQ== Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vvamjgvak-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jan 2024 10:42:44 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 40QAavab026508; Fri, 26 Jan 2024 10:42:43 GMT Received: from smtprelay04.wdc07v.mail.ibm.com ([172.16.1.71]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3vrrgtthf0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Jan 2024 10:42:43 +0000 Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay04.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 40QAgfga44434050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jan 2024 10:42:42 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A12C15805E; Fri, 26 Jan 2024 10:42:41 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 948D65805D; Fri, 26 Jan 2024 10:42:38 +0000 (GMT) Received: from [9.67.128.71] (unknown [9.67.128.71]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 26 Jan 2024 10:42:38 +0000 (GMT) Message-ID: <46ca196c-b7d3-4f3c-9ef0-5d66fb24c9e6@linux.ibm.com> Date: Fri, 26 Jan 2024 18:42:36 +0800 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] crypto:vmx: Move ppc vmx diirectory to arch/powerpc/crypto. To: Herbert Xu Cc: linux-crypto@vger.kernel.org, leitao@debian.org, nayna@linux.ibm.com, appro@cryptogams.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au, ltcgcw@linux.vnet.ibm.com, dtsen@us.ibm.com References: <20240102205856.370103-1-dtsen@linux.ibm.com> Content-Language: en-US From: Danny Tsen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: DPUyM4vhsiTM7ytNws9YY-5eg4mmlmv2 X-Proofpoint-ORIG-GUID: DPUyM4vhsiTM7ytNws9YY-5eg4mmlmv2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-25_14,2024-01-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 malwarescore=0 impostorscore=0 phishscore=0 suspectscore=0 spamscore=0 bulkscore=0 clxscore=1011 priorityscore=1501 lowpriorityscore=0 mlxscore=0 mlxlogscore=692 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401260078 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 >> --- >> 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.