From patchwork Fri Jul 16 15:14:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12382419 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B08F5C07E95 for ; Fri, 16 Jul 2021 15:17:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 78FE3613F1 for ; Fri, 16 Jul 2021 15:17:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 78FE3613F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8osnST0s2UD0YQjrnF1FEEmtYqHEdSE+laIcYHmR25Q=; b=cKCLx+DrIQQGo7 LHxePN/R47vT47PXkx1t1j6cuvyhEekZHqnKtsn3MJrEHu3mXpr2CpWrDo0F6TV/V3f2eShvXLArf fttCaEHGKKnpkkcTqDEmGhSJq6KYI1o1nAGnK6L37n07hFMjYQt9K+NKhI3MSpt9Q1ivdnUBnMlEx YoRtBJQYWtStYg2jIwYJx6/ukrVOuWqQPEEf3+WZr35l3Fx89AhQiLgugyJe/vOuZWRzOY6P2ps5V B30qUyVYeAFR6UC65cnKJhtSpplfgX/t1TL5j9mpHaHrErVEV+h/kHLPluqTn0yxEUrE18Fjg3hcV rCR5TOZMyhp6HQpmWYvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4PYK-004gdb-1l; Fri, 16 Jul 2021 15:15:00 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4PYF-004gcn-8S for linux-arm-kernel@lists.infradead.org; Fri, 16 Jul 2021 15:14:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1626448494; x=1657984494; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=H6boYkWlhsAu7WXG/TxMXn1WD1kzgkb9Xlb2J+3zAzU=; b=A+Kh1XCGV0EABmGh11alSm2I3pfpH5AdSB3iwiFkQ1WPTYGGbFkKE+wz /qg3TAzsrShI/i+uEQHNbfURJ1anVctLnlqIK2/2DdzvnKjgG4vY97z80 J65l4fpoJ/MMo4GUL7KRh0APHJJqPmqIukXxg5aZnt0JRZM61Elm83dmn noCX3IA9XYj6VIA6km2GCptUuV8IHy0E+NAeaZjMtipNGMdJhnmM0OCzW Kfr2lvij7nW+l2gWzL/UTtQFtajpqKr/WOToW1+DNFNUWypWANsLpmIyD zmiXxgzwsnVjQB5jAKvMQO+8ozr/iLpF5VIfBsdR6R8i6+3mhmdMxUFBZ g==; IronPort-SDR: KoG+8DEWeY54Mve1Jcm9DfuNV71usBzReH8ZF10KcQWsUQ6yU8U94XNV0Yjqzy0hW78x02mJhX ql/RX/HYN1LKaE4W/RSQNPh2o+TUvuGs2iCGLGenbXjhp3rZW2kIZflUqo8Z+hgD8AgcWwHgKl rgF5ljd3FjpAPoRV8Nk+i6iFYDzyBf5scuJSbkweYOXIgtQB8185VcIdfeEuVjAs2OApVmGcti vnUpWFV8CpTgAJCNOgMwyqghcw1GH5WStMpxFt/AsAgDTMUbBucCnP8iT8aig7Qz+82m+S6m5z lQetqvmuyccDOnl2I/8xXtY4 X-IronPort-AV: E=Sophos;i="5.84,245,1620716400"; d="scan'208";a="122322340" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Jul 2021 08:14:51 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 16 Jul 2021 08:14:51 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Fri, 16 Jul 2021 08:14:48 -0700 From: Tudor Ambarus To: , , CC: , , , , , , "Tudor Ambarus" Subject: [PATCH 1/2] ARM: configs: at91: sama5: Use make savedefconfig and clean leftovers Date: Fri, 16 Jul 2021 18:14:46 +0300 Message-ID: <20210716151447.833967-1-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210716_081455_431721_6975CA06 X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. 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 Even since the addition CONFIG_VIDEO_HANTRO was set to n because it did not respect the dependency chain. It doesn't respect it now either, remove it. Fixes: a0e6830c95b7 ("ARM: configs: at91: sama5: enable the Hantro G1 engine") Signed-off-by: Tudor Ambarus --- arch/arm/configs/sama5_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index 17db3b3e2dd3..1ccf84091dd7 100644 --- a/arch/arm/configs/sama5_defconfig +++ b/arch/arm/configs/sama5_defconfig @@ -207,7 +207,6 @@ CONFIG_AT_HDMAC=y CONFIG_AT_XDMAC=y CONFIG_STAGING=y CONFIG_STAGING_MEDIA=y -CONFIG_VIDEO_HANTRO=m # CONFIG_IOMMU_SUPPORT is not set CONFIG_IIO=y CONFIG_AT91_ADC=y From patchwork Fri Jul 16 15:14:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12382421 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAF3CC636CA for ; Fri, 16 Jul 2021 15:17:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A652B613F5 for ; Fri, 16 Jul 2021 15:17:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A652B613F5 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IClHsZ79Um3u6uwTeUocW2wBd8WbpZl5USbpXN1EPzw=; b=Kw8DRS5EuFXnm5 brFYgD16ob5vybQwlkIhu8q7T9stZgv1k70ZHmVu8g0b4hCDRxoyXgQRZp4AswNia8mdMym2BYuI7 t5GiOz3cyYTgOI+o4sKUVP//kzDn13Lgm6Jb8ka+Bak75/QQmMIrjJlwVwLj998UHaZ3K+QLckV2U 3cCa1o6deDQxLUlbOEHuNGY5uL0lr9l1la4UbDcqkbeaqz20dEi7Ich8rDuDk0JcjM0YEZiY1t3OI yxrsbWESfU8iJp7U/Ux9WrXYWvdBtFsdAG0wdF33LgizvaGFrs9bDUfdAQbiN3OBKTXIbuk6rh2lz ArAjsuGG72XYNIgImRfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4PYU-004geT-88; Fri, 16 Jul 2021 15:15:10 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4PYF-004gcp-Im for linux-arm-kernel@lists.infradead.org; Fri, 16 Jul 2021 15:14:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1626448495; x=1657984495; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FFW5iecHUrXYQRMMjleWv1/yTI/kguN5QLIMkSIa2jI=; b=q3Lf1luBBo355d5O9JqIKsSt/OSUu5DdX4ywRRWF6yfdOuc31qLFMgs9 BW5VaI2fNiPVFDj9M5d3bv9tDlyd9wmW+K9nOGjBkpvGGFCUBJc8zjaiB n5zrCjlkT6fjTrf/WlNnVMl63dTapuopkL4hXjJcDhUcSWUSQ+4rPj2M0 nxlg7hLaEMIXWgHVFCyiP6HKtl3MsDBUuKesPpYOrMt0ErPRwCiz7vduR zj9DcjpU+U13nBdIV/huGVQcPILi0U+RuAQydn0psNdO2A+yr/T2R6Llw sXm9d5Pe5GlM/wJkX83NubJ3wVD1jHuVlGqmo0KUjriWc9nQZ8GX28Ea2 g==; IronPort-SDR: Z7DzCzq5S/n8Ey/vcIVCGY5FZxEbudgdHZN9XU3s/GlrPVYbOwf22x8KJmU+qdeLMpFTIwn1t6 gcXb9LHlPziyfu1I57u3MUQ80AQ16863avdnH5lZQGmRF4ii5/te3bmkTPBByEq0aU0SsLRwiw uW2Gp6iU1HDxJIwdTIH09nEwizbrVBz8F2jGFQKFdMZEAwGZWl4bVKCij8IaZ+Jnz9UwafNpt2 vPS6hw6U6ALtbOq6gkIihHk45NlugVRLtFanexlZ2eDpcEltxIA7YHmfhu3QJnb7rUJd3F3SJb iyCcvI4gV49wxhY+eDrFvT+X X-IronPort-AV: E=Sophos;i="5.84,245,1620716400"; d="scan'208";a="122322356" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Jul 2021 08:14:54 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 16 Jul 2021 08:14:54 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Fri, 16 Jul 2021 08:14:51 -0700 From: Tudor Ambarus To: , , CC: , , , , , , "Tudor Ambarus" Subject: [PATCH 2/2] ARM: configs: at91: Enable crypto software implementations Date: Fri, 16 Jul 2021 18:14:47 +0300 Message-ID: <20210716151447.833967-2-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210716151447.833967-1-tudor.ambarus@microchip.com> References: <20210716151447.833967-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210716_081455_720224_F2714A9F X-CRM114-Status: UNSURE ( 8.56 ) X-CRM114-Notice: Please train this message. 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 It's a good idea to enable at least the same amount of algs as the hardware IPs are supporting. Provide the posibility for the hw accelerated crypto alg to fallback to software implementation, in case they need it. Signed-off-by: Tudor Ambarus --- arch/arm/configs/at91_dt_defconfig | 8 +++++++- arch/arm/configs/sama5_defconfig | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index 06c888a45eb3..d348ae0d5363 100644 --- a/arch/arm/configs/at91_dt_defconfig +++ b/arch/arm/configs/at91_dt_defconfig @@ -213,7 +213,13 @@ CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y -CONFIG_CRYPTO_ECB=y +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_CFB=y +CONFIG_CRYPTO_OFB=y +CONFIG_CRYPTO_XTS=y +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA512=y +CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_USER_API_HASH=m CONFIG_CRYPTO_USER_API_SKCIPHER=m CONFIG_CRYPTO_DEV_ATMEL_AES=y diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index 1ccf84091dd7..e170676eed66 100644 --- a/arch/arm/configs/sama5_defconfig +++ b/arch/arm/configs/sama5_defconfig @@ -230,6 +230,13 @@ CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_CFB=y +CONFIG_CRYPTO_OFB=y +CONFIG_CRYPTO_XTS=y +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA512=y +CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_USER_API_HASH=m CONFIG_CRYPTO_USER_API_SKCIPHER=m CONFIG_CRYPTO_DEV_ATMEL_AES=y