From patchwork Sun Jul 30 18:55:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamlesh Gurudasani X-Patchwork-Id: 13333516 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47479C00528 for ; Sun, 30 Jul 2023 18:57:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=o5Tp9891cF6Tg4qXejybBVUCb5yz4l1zS97YEFLNlng=; b=PwUJ8xNdwpHoet +HCRnX3j6cJ2bDyoVVQGa5anoa1i2rpiPgKrcRD5v9G+NCGd9RAjsOMQXPjmz+dEnytfRpeB065Vu ik/PM7G3awL90n4tdGcHoXieQOVb7fLFOah7Y5wkF8jvxVgoMJSNU2wr02HjFM4K/hlz4agUPPTj7 GGMqC0fYQVzeFp7fNBy4/KgvC4WzhZN61QFx6N6GOgjiQKNlVHuJTkLfu7jDXw7C1UUdfcbvSTSjb c2rxaYK0FHtSEd/qU1vwNqkj5ZIidZvSPE5/3wlitZvlH7RZEbA48KiXL0X/2QJdgZtsp9SCBBnNI diTeySwc2LjGYYpZruuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQBay-00CPmr-32; Sun, 30 Jul 2023 18:56:48 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQBad-00CPhb-1B for linux-arm-kernel@lists.infradead.org; Sun, 30 Jul 2023 18:56:30 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36UIuIPV124841; Sun, 30 Jul 2023 13:56:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690743378; bh=QIhD7sfTz8wkc0F5WKpsPx6OL2wDF4T4HH6zMbWh9IM=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=gXHbdvD7bpRovl9UQUOV/CTtwSKKqjy8GDm0egUJDLOoa+CmoIb+8ILFpA6hUzDHH yf1oCe0cGDHdEXwVaLD6bO3l8D4rojfFDYmxZyImkQIVLMH931gpjCch/JmcjbSahK vSQEQVvBnL0ttje1rrrrvt90rStX3PI5e5qyx8AQ= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36UIuIPW062757 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 30 Jul 2023 13:56:18 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sun, 30 Jul 2023 13:56:18 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE110.ent.ti.com (157.170.170.21) 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; Sun, 30 Jul 2023 13:56:18 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36UIuHnp000723; Sun, 30 Jul 2023 13:56:18 -0500 From: Kamlesh Gurudasani Date: Mon, 31 Jul 2023 00:25:58 +0530 Subject: [PATCH 5/5] arm64: defconfig: enable MCRC module MIME-Version: 1.0 Message-ID: <20230719-mcrc-upstream-v1-5-dc8798a24c47@ti.com> References: <20230719-mcrc-upstream-v1-0-dc8798a24c47@ti.com> In-Reply-To: <20230719-mcrc-upstream-v1-0-dc8798a24c47@ti.com> To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Catalin Marinas , Will Deacon CC: , , , , Kamlesh Gurudasani X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690743369; l=1038; i=kamlesh@ti.com; s=20230614; h=from:subject:message-id; bh=B/LYMZyNFUhmrn+0NIyBgEnkmpVKRdPppDNTxGti9FY=; b=nd4TJ9Aa/rHKor2pA8acRFQp/tZj1y4RrTygD0I52I+xYjhW+Mg8zY79UfYQCHL1v+088LkZF XT4YuDkj/yTArbElttir8e59Mp6/bcBmSt1tg5x5ELPwlOYvk/U6fjd X-Developer-Key: i=kamlesh@ti.com; a=ed25519; pk=db9XKPVWDGJVqj2jDqgnPQd6uQf3GZ3oaQa4bq1odGo= X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230730_115627_506582_D25BC7E0 X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org K3 devices include MCRC engine for crc64 calculation. Enable module to be built for K3 devices. Also enable algif_hash module, which is needed to access MCRC 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 6cbf6eb59378..6006983b313e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1505,6 +1505,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 @@ -1528,6 +1529,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