From patchwork Fri Mar 11 15:49:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Masney X-Patchwork-Id: 12778258 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 B96A6C433EF for ; Fri, 11 Mar 2022 15:53:48 +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: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=08PhKqOVuoyLd/DmTcn6nxxJaPMaSlPAMfLCskg+Ccs=; b=OA3aVHfyjANR0m CaHp7fPuM4ateE/A1TnYJz7aXhd7fRdmTNcVQ1+0p2VBwfm3SATSUeIYSkX0Re/P/XZnqvUu7LvxT ZQFJK+Yqj3zQUVnJpyyJjy66Wo4svcsTCzIKCS/jvt9U8fUF9MVo3GtA3yTNplqMdUsvFcxySgNQt n7ZswZj2Z8yPkuNFIlsN7ge5tdD0iQRXdYAQys/tBSg6XW/CC2lJZsEQ+qYaM4ljMg2m1mBMO0ZE2 r9XJaPna16xSx1LxSxJvbfzsx5aS8RzMZNMdNZMdD6mHWWcHoPIrOoQ+jahtzOAZ/vomILjtvf0Vx c4KqmxfVzIegyFQm9vMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nShYx-00HDC3-Eg; Fri, 11 Mar 2022 15:52:19 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nShXm-00HCdx-LK for linux-arm-kernel@lists.infradead.org; Fri, 11 Mar 2022 15:51:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647013864; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fSU6dZRMQZcPZg2xb4qD008kHZwrahckFZUqi6hy1VA=; b=Myea3Pd1NKqn+OqQPV3jbrbEsvTIsMbYztATvfj77ViqCxZT5dXWj+a+E0O8YPPPCgPo4v aEsX+z5KfHKVrzWd8kMnwj4+zlPC5co8D2+lfUK9F8yvKTRW1Ornwequ6dUJQ8uZCmoS6w e9h+geIJR+s1J+FIy7dkb20fjdD7M7s= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-613-jMY2joL_N_u2SDGw2ZxCTQ-1; Fri, 11 Mar 2022 10:49:30 -0500 X-MC-Unique: jMY2joL_N_u2SDGw2ZxCTQ-1 Received: by mail-qv1-f72.google.com with SMTP id hu9-20020a056214234900b0042c4017aeb3so7894597qvb.14 for ; Fri, 11 Mar 2022 07:49:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fSU6dZRMQZcPZg2xb4qD008kHZwrahckFZUqi6hy1VA=; b=vUaMjPiCBN61XVwcOCF1u+aidPkf1SfxQIdWzxOciYBw48SEXnVANU4csIN956260p e+vRNxRQ77bY6k1EbmbsYyvVCEHoDC6w7uRy+5lHun+6n2iWmjoypR6giHVCT8Bt7B9M m0j61fc0hOYsBMpmrsHaz+1m4vRQCSsUyoGXWC0v1GMZ+oZdK0bn7p0W1NYLSC102Plb t7DifnmrKVIfe7RLP066yqUiJ7tDWCHBLJunYXIrePVM51AWGHAz5Wq9fKQHflLxXrRy vo8+Xmp6glUUWvz3mncP7gWWj+f6tmKeya4eMVBw5Ht0FMOKtcNZL0YVFvhXW2uYrT2Y y36Q== X-Gm-Message-State: AOAM530GDyqaN+Yci9pt7K+a67U0XnQfEvT5a0lNiz2XVeG/v6AQ9O6M meRd5Tw+yT1f5vyNtiZ6xoCN/6Wkggzp7V6L0LaXDlK2Zbuz+1KyyrK7uga104I0rgBmqpjpPvN gcH8rhZVx+c0f8GQkMPzeoSt4FmstLmk2FrY= X-Received: by 2002:a05:622a:1312:b0:2e1:aab3:4644 with SMTP id v18-20020a05622a131200b002e1aab34644mr7219611qtk.455.1647013769908; Fri, 11 Mar 2022 07:49:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6F8Dtq8kFUxxOA9O+1NF3f8ivmZCWHQHFo0nlnddB1/RhLyaemBEZc4pJUsPc5tJxSMnKyg== X-Received: by 2002:a05:622a:1312:b0:2e1:aab3:4644 with SMTP id v18-20020a05622a131200b002e1aab34644mr7219589qtk.455.1647013769706; Fri, 11 Mar 2022 07:49:29 -0800 (PST) Received: from xps13.. (c-98-239-145-235.hsd1.wv.comcast.net. [98.239.145.235]) by smtp.gmail.com with ESMTPSA id z6-20020ae9c106000000b0067d3b9ef387sm3602719qki.28.2022.03.11.07.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 07:49:29 -0800 (PST) From: Brian Masney To: bjorn.andersson@linaro.org Cc: mani@kernel.org, dianders@chromium.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 1/2] ARM: qcom_defconfig: enable options for Qualcomm random number generator Date: Fri, 11 Mar 2022 10:49:18 -0500 Message-Id: <20220311154919.1797920-2-bmasney@redhat.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220311154919.1797920-1-bmasney@redhat.com> References: <20220311154919.1797920-1-bmasney@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=bmasney@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220311_075106_830957_4B755E65 X-CRM114-Status: GOOD ( 10.05 ) 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 Enable the driver for the Qualcomm random number generator and the userspace crypto API. This was a tested on a Nexus 5 phone (msm8974 SoC). Signed-off-by: Brian Masney --- arch/arm/configs/qcom_defconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index 9981566f2096..50e28a74c361 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -295,6 +295,13 @@ CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ASCII=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y +CONFIG_CRYPTO_USER=m +CONFIG_CRYPTO_USER_API=m +CONFIG_CRYPTO_USER_API_HASH=m +CONFIG_CRYPTO_USER_API_SKCIPHER=m +CONFIG_CRYPTO_USER_API_AEAD=m +CONFIG_CRYPTO_USER_API_RNG=m +CONFIG_CRYPTO_DEV_QCOM_RNG=m CONFIG_DMA_CMA=y CONFIG_CMA_SIZE_MBYTES=64 CONFIG_PRINTK_TIME=y