Skip to contentSkip to conversation

ARM: qcom_defconfig: add crypto and debugfs support

PATCH New Brian Masney 1 participant 3 messages Mar 11, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover ARM: qcom_defconfig: add crypto and debugfs support

Here's two minor additions to the defconfig for the Qualcomm random number generator and debug fs.

Note that the DTS for the Qualcomm prng is already present in the upstream tree for the msm8974.

Brian Masney (2):
ARM: qcom_defconfig: enable options for Qualcomm random number
generator
ARM: qcom_defconfig: enable debug fs support

 arch/arm/configs/qcom_defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/2 ARM: qcom_defconfig: enable options for Qualcomm random number generator

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).

---
 arch/arm/configs/qcom_defconfig | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/configs/qcom_defconfig +7 -0
index 9981566f2096..50e28a74c361 100644
@@ -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
Signature · 1 line
2.34.1
#2 lore raw

PATCH 2/2 ARM: qcom_defconfig: enable debug fs support

In reply to Brian Masney

Enable CONFIG_DEBUG_FS since this is useful to have around.

---
 arch/arm/configs/qcom_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/qcom_defconfig +1 -0
index 50e28a74c361..5cd935ee148a 100644
@@ -308,6 +308,7 @@ CONFIG_PRINTK_TIME=y
 CONFIG_DYNAMIC_DEBUG=y
 CONFIG_DEBUG_INFO=y
 CONFIG_MAGIC_SYSRQ=y
+CONFIG_DEBUG_FS=y
 # CONFIG_SCHED_DEBUG is not set
 CONFIG_WATCHDOG=y
 CONFIG_QCOM_WDT=y
Signature · 1 line
2.34.1