From patchwork Thu Aug 10 19:28:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamlesh Gurudasani X-Patchwork-Id: 134219 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp671247vqi; Thu, 10 Aug 2023 13:32:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF8yyDM6lr4GzpelWscUmDRsBUKb7qatSriP8sr2fq4Oq0/8qkL8DlF9Hecd5yibmpw7jMY X-Received: by 2002:a17:90a:e507:b0:262:ed49:ffe7 with SMTP id t7-20020a17090ae50700b00262ed49ffe7mr3296577pjy.25.1691699559579; Thu, 10 Aug 2023 13:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691699559; cv=none; d=google.com; s=arc-20160816; b=so8orSwt5ebjBSZHPuFePo+33zzZxjXKbk+iZVnszDf+ajjuwKv0BujeN3YOITzSb7 m72jzDKs0pMVJLfz8A9cxqv6zj62yI1J9L7sBUHgg23c/uDUvPjrr41Y3NcYKTfpd0c+ 2stLp1qMOi31qK9WG+RckkTSW8hIb1R17Kkkn21OW+jTYsqz7x3QYngGlRnOmvP2pV6s fcZ1a9E2GyqREGFklvfO+pJpmEU2VlFKe2NXpI8nRaNY7T0ZGo4pg3fn78Wmns/LMtJ2 DlWn4WS+IewYuSHuZjsiXTr6/zX7SlWBRxKAZIwv92DoUGfXwEGWIUsLrHWxSNNhTI7v styw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=5opL1COw+xqOW651vD1GsM3Ndd3OlOKC652w906qw+M=; fh=5Adzayv4n00ggrhmh75Ans57g7YYBPZXGF6nzTUCZX0=; b=DhcLc2gekQjg3ppWWzejHV7mXuWzS46im2GFJDKAQsu170SYD9FHSLKswP8KY8fiqW 2OBsx4L0v1G67uXvP8ZTgdKZtA9AYgQ9J3FeutHaxQ/ijz1SqNsUzIE/PQcG8asAH8M4 gc/Gqqtbc1TI3rVEhW0X5Unoe34QKH0eI/Cli5LUGGhG2deczje2NkrZYtGbdZIBVU2J ARWLngpx0ixSJx8+bwV5BNTwOJ6tXwG/Bjftbhm5naWg/dO/cZaTnz7To4pLSwbiOPZz pqTZA95hthAUK/PQ6pOUYiFpEJVv2noUenDs7amhVmeFT+8IUL0vUcYsfn0adFwT0nrB 5qmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KwAW6pHc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f16-20020a17090a639000b0026800336358si3995771pjj.122.2023.08.10.13.32.26; Thu, 10 Aug 2023 13:32:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KwAW6pHc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233106AbjHJTaO (ORCPT + 99 others); Thu, 10 Aug 2023 15:30:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236528AbjHJT37 (ORCPT ); Thu, 10 Aug 2023 15:29:59 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0099F273C; Thu, 10 Aug 2023 12:29:56 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37AJTbd1069591; Thu, 10 Aug 2023 14:29:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691695778; bh=5opL1COw+xqOW651vD1GsM3Ndd3OlOKC652w906qw+M=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=KwAW6pHc3fMvXm2H2njAARJ+KUIfktA24OmJnDow5Q9+pCq7kp5DkYBl+BNI7hGg+ DX7rOcH88PzRvTQ+O92n0z3rh547XWdR3ICXh0eHK59FJsaBbggROVeRe+IE1oCBHa Y1AD/iyefabWQnLFQH1nZGf+u7kuy077Jc59P54A= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37AJTbNp027980 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 10 Aug 2023 14:29:37 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 10 Aug 2023 14:29:37 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 10 Aug 2023 14:29:37 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37AJTaqu047114; Thu, 10 Aug 2023 14:29:37 -0500 From: Kamlesh Gurudasani Date: Fri, 11 Aug 2023 00:58:53 +0530 Subject: [PATCH v2 6/6] arm64: defconfig: enable TI MCRC64 module MIME-Version: 1.0 Message-ID: <20230719-mcrc-upstream-v2-6-4152b987e4c2@ti.com> References: <20230719-mcrc-upstream-v2-0-4152b987e4c2@ti.com> In-Reply-To: <20230719-mcrc-upstream-v2-0-4152b987e4c2@ti.com> To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Catalin Marinas , Will Deacon , Maxime Coquelin , Alexandre Torgue CC: , , , , , Kamlesh Gurudasani X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691695767; l=1042; i=kamlesh@ti.com; s=20230614; h=from:subject:message-id; bh=7uIuxXRdX0Xq9f5vC0DhHJyhVex1q6PeQY1Wg6Rhzr4=; b=eQ9evn4II8cLmgLlFRsi0O/oYFCdMPuR+t2xvhyNiE4ww/Bm0khIjWER/OK4HpOYKgh/ImBy0 vqE4gvzkpg9DKok5GE/ScOLB5im8s7mHSbp5lGV1h1IV74JbSdFnuhk X-Developer-Key: i=kamlesh@ti.com; a=ed25519; pk=db9XKPVWDGJVqj2jDqgnPQd6uQf3GZ3oaQa4bq1odGo= X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773875557253136797 X-GMAIL-MSGID: 1773875557253136797 K3 devices include MCRC64 engine for crc64 calculation. Enable module to be built for K3 devices. Also enable algif_hash module, which is needed to access MCRC64 module from userspace. Signed-off-by: Kamlesh Gurudasani --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index bf13d5c46578..4d555a125315 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1535,6 +1535,7 @@ CONFIG_CRYPTO_TEST=m CONFIG_CRYPTO_ECHAINIV=y CONFIG_CRYPTO_MICHAEL_MIC=m CONFIG_CRYPTO_ANSI_CPRNG=y +CONFIG_CRYPTO_USER_API_HASH=m CONFIG_CRYPTO_USER_API_RNG=m CONFIG_CRYPTO_CHACHA20_NEON=m CONFIG_CRYPTO_GHASH_ARM64_CE=y @@ -1558,6 +1559,7 @@ CONFIG_CRYPTO_DEV_HISI_ZIP=m CONFIG_CRYPTO_DEV_HISI_HPRE=m CONFIG_CRYPTO_DEV_HISI_TRNG=m CONFIG_CRYPTO_DEV_SA2UL=m +CONFIG_CRYPTO_DEV_TI_MCRC64=m CONFIG_DMA_RESTRICTED_POOL=y CONFIG_CMA_SIZE_MBYTES=32 CONFIG_PRINTK_TIME=y