From patchwork Sat Oct 19 19:58:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 176979 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1338871ill; Sat, 19 Oct 2019 12:58:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMsOxYYehwz2keXCWEDFpS2icx9SR+jhjMf/PlX8LT+MtZCvL40E8lX8mRi1mXd1gqPs4+ X-Received: by 2002:a17:906:4cd2:: with SMTP id q18mr13000228ejt.319.1571515102862; Sat, 19 Oct 2019 12:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571515102; cv=none; d=google.com; s=arc-20160816; b=HvkfUX24FMPKQvZm8sguoT9WzGsxzTk4vYp73xTXJ4IcL5tYpxIvK/ECuSq/xRdmD/ QRHV0YMYhMB97oZ97OR2KBlfA/vZ4B3JT8Wczw/ebotuclYrXxwCV+O3jj2lE7jmQMCu i+EoxgBj+GSsOjxpWaZNVn37ZSEoji1y+liF+SE87rt7YrAC04KAvMSJ/CZ6uLJFxbah kb5nxOBBt+5WKA1TFiQyjiTwrG0ztYESmRh6Rmn/Bh8th3iCHw+ANDZA6aweXb66x7GT YpuAKppz5/DA7sYIlslziRYZzVtJNZMexOJbagecUu+elONroFbaUpd4TKCSygoHfxJb LrNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=266Y0hXS9BC8c58tj7q4sT9jtJ0HQTa0yWk7IcR2wTs=; b=WLZioFJjg2MHIqpZtuxrRD8uxxZMox/lRjxAWbUZGje9qLNOQwqsGfqEPJDinJDPI8 YnoQVF0yFfLT8jrWCwnmSAgIsz9R5dxtuo1iOagMBr1LU8iuahyq+8ckG219D9iMKBnU kaJeqKwu2afHXJXqyWAsASKTsp+fDiQv9cWpgFQZNeHSQsoF+sF3kwgjEMsCuC5QJmHT FDKX0+UrBsn40Mtc7eYzHOskIcgSphwtPftZ/SGYY/rGg7vZPtwKGCdO9Np7eK9xhxCY V7T3G3adHaXnLhRzD8yprbyewUxajawCkgqr7aQ83F2a2COaHqxy+yEzgaBI3rxbmUJQ z4SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uG/U93b2"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v16si5786878ejx.96.2019.10.19.12.58.21; Sat, 19 Oct 2019 12:58:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uG/U93b2"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726136AbfJST6S (ORCPT + 15 others); Sat, 19 Oct 2019 15:58:18 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:37026 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726133AbfJST6S (ORCPT ); Sat, 19 Oct 2019 15:58:18 -0400 Received: by mail-pg1-f195.google.com with SMTP id p1so5252117pgi.4 for ; Sat, 19 Oct 2019 12:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=266Y0hXS9BC8c58tj7q4sT9jtJ0HQTa0yWk7IcR2wTs=; b=uG/U93b2A8I0PII6bxFfdt6TH1kECEIuI+qHTm6K3KY0l7I1StEOvn+GUkCZFZGlKr R0K3mq75ExZFMrumknpnY8XIfzX8oBIdma6UHZyEJugAdc5XYAgbJ7WPC1spzgoS8emV G3iopRckBMDrp3PlUBrjv4fjm4ExFy/LGiWIS9ynO+IJ73IGDDfJppCnZLKCr7RE0qSI QV8Bzds8wI6i2DkYLb1iysEgMiSirDuwBooSKX1WvMkelE1av2pCwKMl4gowVrybBF7y 6bYl0xgazXqgiJ3fMHyi+1BOvcAaJzrdmhccY3RSdG6uSN3+MeeqZLlcxiSX/movlg6k 1s/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=266Y0hXS9BC8c58tj7q4sT9jtJ0HQTa0yWk7IcR2wTs=; b=cb6ulTtHGdvtEfmiaTHscUgyEsyMJw/bFh7H3puBbflJmFOKfFB3vsT8AxiOLUUdNs Au4xHKYcFWQ/u47Wnj+brAt9nPvCwV9+DCEVV30ABoQydjVHs7Kdc3AlHWnmmnsgGVNU 1b3uOzq+/eO9JQ21H5TF583FYMN1xX/VjU3x6pm3f03D6/R/KlTDshTDVnYkLxxCHCFu YsVjafsZPVAcQ7VTari1Fxx1fo72uDxuunL8R9uT9CELqB4TeeTbeJV3FzrlxgOdWDpy SXdS6+vYEdwhg2CYUR5Qiz19h+wTM4F5uACoGvY+SnlwMCxGlPZBglJRVyXgo7tbj4E3 gncg== X-Gm-Message-State: APjAAAUtLAmC4M2zIiJBShQtZI8KOI3dXkWNoZnsmZfUm8J0L1r2FQ2M bPXDp2QH5CSyCV7+Dn+D7IgjzQ== X-Received: by 2002:a17:90a:bd0b:: with SMTP id y11mr19444285pjr.28.1571515097002; Sat, 19 Oct 2019 12:58:17 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id v1sm10183866pjd.22.2019.10.19.12.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Oct 2019 12:58:16 -0700 (PDT) From: Bjorn Andersson To: Catalin Marinas , Will Deacon , Shawn Guo , Bjorn Andersson , Olof Johansson , Maxime Ripard , Arnd Bergmann , Anson Huang , Jagan Teki , Leonard Crestez , Dinh Nguyen , Marcin Juszkiewicz Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul Subject: [PATCH v2] arm64: defconfig: Enable Qualcomm pseudo rng Date: Sat, 19 Oct 2019 12:58:12 -0700 Message-Id: <20191019195812.3834545-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Most Qualcomm platforms contain a pseudo random number generator hardware block. Enable the driver for this block and also enable the interface for exposing this to userspace. Signed-off-by: Bjorn Andersson --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.23.0 Reviewed-by: Vinod Koul Tested-by: Vinod Koul diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6baf90875263..4591bf1303da 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -860,6 +860,8 @@ CONFIG_NLS_ISO8859_1=y CONFIG_SECURITY=y CONFIG_CRYPTO_ECHAINIV=y CONFIG_CRYPTO_ANSI_CPRNG=y +CONFIG_CRYPTO_USER_API_RNG=m +CONFIG_CRYPTO_DEV_QCOM_RNG=m CONFIG_DMA_CMA=y CONFIG_CMA_SIZE_MBYTES=32 CONFIG_PRINTK_TIME=y