[PATCH v2 00/10] crypto: Kconfig - simplify menus and help text

Robert Elliott
2022-08-17T23:21:31Z

Improve the "make menuconfig" experience under the
Cryptographic API page.

The first of two patch series. This series extracts all the
architecture-specific entries from
crypto/Kconfig
into
arch/*/crypto/Kconfig

A subsequent series will work on the entry titles and help text.

Tested by running commands like these for arm, arm64, mips, powerpc,
sparc, s390, and x86:
make ARCH=arm O=build-arm allmodconfig
cd build-arm
make ARCH=arm menuconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnu- -j 55

Notes:
1. powerpc doesn't build for reasons unrelated to this series.

2. arm (32-bit) requires the fix to the SA2UL driver included
in this series.

3. arm (32-bit) and mips require increasing the following value
from 1024. That change is not included in the series.
CONFIG_FRAME_SIZE=2048

Robert Elliott (10):
crypto: Kconfig - move mips entries to a submenu
crypto: Kconfig - move powerpc entries to a submenu
crypto: Kconfig - move s390 entries to a submenu
crypto: Kconfig - move sparc entries to a submenu
crypto: Kconfig - move x86 entries to a submenu
crypto: Kconfig - remove AES_ARM64 selection by SA2UL entry
crypto: Kconfig - move arm and arm64 menus to Crypto API page
crypto: Kconfig - sort the arm64 entries
crypto: Kconfig - sort the arm entries
crypto: Kconfig - add submenus

arch/arm/Kconfig | 4 -
arch/arm/configs/exynos_defconfig | 1 -
arch/arm/configs/milbeaut_m10v_defconfig | 1 -
arch/arm/configs/multi_v7_defconfig | 1 -
arch/arm/configs/omap2plus_defconfig | 1 -
arch/arm/configs/pxa_defconfig | 1 -
arch/arm/crypto/Kconfig | 125 ++-
arch/arm64/Kconfig | 3 -
arch/arm64/configs/defconfig | 1 -
arch/arm64/crypto/Kconfig | 63 +-
arch/mips/crypto/Kconfig | 60 ++
arch/powerpc/crypto/Kconfig | 77 ++
arch/s390/crypto/Kconfig | 120 +++
arch/sparc/crypto/Kconfig | 103 +++
arch/x86/crypto/Kconfig | 491 ++++++++++++
crypto/Kconfig | 964 +++--------------------
drivers/crypto/Kconfig | 2 -
drivers/net/Kconfig | 2 -
18 files changed, 1029 insertions(+), 991 deletions(-)
create mode 100644 arch/mips/crypto/Kconfig
create mode 100644 arch/powerpc/crypto/Kconfig
create mode 100644 arch/s390/crypto/Kconfig
create mode 100644 arch/sparc/crypto/Kconfig
create mode 100644 arch/x86/crypto/Kconfig

--
2.37.1