kernel: add s390x fragment

Support for s390x kernel fragments.

Fixes: #1041

Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
Signed-off-by: Jakob-Naucke <jakob.naucke@ibm.com>
This commit is contained in:
Alice Frosi 2020-05-12 12:55:10 +02:00 committed by Jakob-Naucke
parent f13506163b
commit 9f1a3d15db
No known key found for this signature in database
GPG Key ID: C3E19E8F8D0BA5E7
4 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,13 @@
CONFIG_S390=y
CONFIG_S390_GUEST=y
CONFIG_HW_RANDOM_S390=y
CONFIG_S390_IOMMU=y
# S/390x widly uses CCW devices
CONFIG_CCW=y
# Select default KVM options from arch/s390/kvm/Kconfig
CONFIG_VIRTUALIZATION=y
CONFIG_HAVE_KVM=y
CONFIG_KVM=y
CONFIG_MODULES=y
CONFIG_MODULE_SIG=y

View File

@ -0,0 +1,8 @@
# s390 character device drivers
CONFIG_TN3270=y
CONFIG_TN3270_TTY=y
CONFIG_TN3270_FS=y
CONFIG_TN3270_CONSOLE=y
CONFIG_CCW_CONSOLE=y
CONFIG_SCLP_TTY=y
CONFIG_SCLP_CONSOLE=y

View File

@ -0,0 +1,32 @@
# Comments and options from https://github.com/torvalds/linux/blob/master/drivers/crypto/Kconfig
# Enable s390 architectural random number generation API
CONFIG_ARCH_RANDOM=y
# Fallbacks for s390 specific implementation
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_CTR=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_XTS=y
# Enable HW for crypto
CONFIG_CRYPTO_HW=y
# Support for s390 cryptographic adapters
CONFIG_ZCRYPT=y
# Kernel API for protected key handling
CONFIG_PKEY=y
# s390 hardware accelerated implementation of the SHA-1 secure hash standard
CONFIG_CRYPTO_SHA1_S390=y
# s390 hardware accelerated implementation of the SHA256 secure hash standard
CONFIG_CRYPTO_SHA256_S390=y
# s390 hardware accelerated implementation of the SHA512 secure hash standard
CONFIG_CRYPTO_SHA512_S390=y
# s390 hardware accelerated implementation of the DES cipher algorithm (FIPS 46-2),
# and Triple DES EDE (FIPS 46-3).
CONFIG_CRYPTO_DES_S390=y
# s390 hardware accelerated implementation of the AES cipher algorithms (FIPS-197)
CONFIG_CRYPTO_AES_S390=y
# s390 hardware accelerated implementation of the CRC algorithms
CONFIG_CRYPTO_CRC32_S390=y
# Pseudo random number generator device driver
CONFIG_S390_PRNG=y

View File

@ -0,0 +1,2 @@
# Options needed by HAVE_EBPF_JIT
CONFIG_PACK_STACK=y